public class ApiManagementCommonClientWrapper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApiManagementCommonClientWrapper.ResponseHandlerCallback<R,T> |
| Constructor and Description |
|---|
ApiManagementCommonClientWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildUrl(ApiManagementConnectionProperties apiManagementConnectionProperties,
java.lang.String path) |
<R> R |
executeGet(ApiManagementConnectionProperties apiManagementConnectionProperties,
java.lang.String path,
ApiManagementCommonClientWrapper.ResponseHandlerCallback<R,java.lang.String> responseHandlerCallback) |
<R,T> R |
executeGet(ApiManagementConnectionProperties apiManagementConnectionProperties,
java.lang.String path,
ApiManagementCommonClientWrapper.ResponseHandlerCallback<R,T> responseHandlerCallback,
java.lang.Class<T> bodyType) |
protected RestTemplateWrapper |
getRestTemplateWrapper(ApiManagementConnectionProperties apiManagementConnectionProperties) |
java.lang.String |
retrieveToken(ApiManagementConnectionProperties apiManagementConnectionProperties,
org.springframework.web.client.RestTemplate restTemplate) |
java.lang.String |
retrieveToken(ApiManagementConnectionProperties apiManagementConnectionProperties,
org.springframework.web.client.RestTemplate restTemplate,
java.lang.String path) |
public <R> R executeGet(ApiManagementConnectionProperties apiManagementConnectionProperties, java.lang.String path, ApiManagementCommonClientWrapper.ResponseHandlerCallback<R,java.lang.String> responseHandlerCallback)
public <R,T> R executeGet(ApiManagementConnectionProperties apiManagementConnectionProperties, java.lang.String path, ApiManagementCommonClientWrapper.ResponseHandlerCallback<R,T> responseHandlerCallback, java.lang.Class<T> bodyType)
public java.lang.String retrieveToken(ApiManagementConnectionProperties apiManagementConnectionProperties, org.springframework.web.client.RestTemplate restTemplate)
public java.lang.String retrieveToken(ApiManagementConnectionProperties apiManagementConnectionProperties, org.springframework.web.client.RestTemplate restTemplate, java.lang.String path)
protected java.lang.String buildUrl(ApiManagementConnectionProperties apiManagementConnectionProperties, java.lang.String path)
protected RestTemplateWrapper getRestTemplateWrapper(ApiManagementConnectionProperties apiManagementConnectionProperties)