Class PolarisJsonTransformer
- java.lang.Object
-
- com.synopsys.integration.polaris.common.service.PolarisJsonTransformer
-
public class PolarisJsonTransformer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PolarisJsonTransformer(com.google.gson.Gson gson, com.synopsys.integration.log.IntLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends PolarisResponse>
CgetResponse(com.synopsys.integration.rest.response.Response response, java.lang.reflect.Type responseType)
<C extends PolarisResponse>
CgetResponseAs(com.google.gson.JsonObject jsonObject, java.lang.reflect.Type responseType)
<C extends PolarisResponse>
CgetResponseAs(java.lang.String json, java.lang.reflect.Type responseType)
-
-
-
Method Detail
-
getResponse
public <C extends PolarisResponse> C getResponse(com.synopsys.integration.rest.response.Response response, java.lang.reflect.Type responseType) throws com.synopsys.integration.exception.IntegrationException
- Throws:
com.synopsys.integration.exception.IntegrationException
-
getResponseAs
public <C extends PolarisResponse> C getResponseAs(java.lang.String json, java.lang.reflect.Type responseType) throws com.synopsys.integration.exception.IntegrationException
- Throws:
com.synopsys.integration.exception.IntegrationException
-
getResponseAs
public <C extends PolarisResponse> C getResponseAs(com.google.gson.JsonObject jsonObject, java.lang.reflect.Type responseType) throws com.synopsys.integration.exception.IntegrationException
- Throws:
com.synopsys.integration.exception.IntegrationException
-
-