| Package | Description |
|---|---|
| org.wso2.am.integration.clients.gateway.api | |
| org.wso2.am.integration.clients.gateway.api.v2 |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
APIArtifactDTO |
GetApiArtifactsApi.apiArtifactGet(String apiName,
String version,
String tenantDomain)
Get API artifact from the storage
This operation is used to get the local entries, sequences and endpoints from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.apiArtifactGetAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<APIArtifactDTO> callback)
Get API artifact from the storage (asynchronously)
This operation is used to get the local entries, sequences and endpoints from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.apiArtifactGetCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiArtifactGet
|
ApiResponse<APIArtifactDTO> |
GetApiArtifactsApi.apiArtifactGetWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get API artifact from the storage
This operation is used to get the local entries, sequences and endpoints from the storage.
|
EndpointsDTO |
GetApiArtifactsApi.endPointsGet(String apiName,
String version,
String tenantDomain)
Get end-points from the storage for the API
This operation is used to get the end-points from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.endPointsGetAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<EndpointsDTO> callback)
Get end-points from the storage for the API (asynchronously)
This operation is used to get the end-points from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.endPointsGetCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for endPointsGet
|
ApiResponse<EndpointsDTO> |
GetApiArtifactsApi.endPointsGetWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get end-points from the storage for the API
This operation is used to get the end-points from the storage.
|
LocalEntryDTO |
GetApiArtifactsApi.localEntryGet(String apiName,
String version,
String tenantDomain)
Get Local Entry from the storage
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.localEntryGetAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<LocalEntryDTO> callback)
Get Local Entry from the storage (asynchronously)
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.localEntryGetCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for localEntryGet
|
ApiResponse<LocalEntryDTO> |
GetApiArtifactsApi.localEntryGetWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get Local Entry from the storage
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
DeployResponseDTO |
DeployApiApi.redeployApiPost(String apiName,
String version,
String tenantDomain)
Re Deploy the API in the gateway
This operation is used to re deploy an API in the gateway.
|
com.squareup.okhttp.Call |
DeployApiApi.redeployApiPostAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<DeployResponseDTO> callback)
Re Deploy the API in the gateway (asynchronously)
This operation is used to re deploy an API in the gateway.
|
com.squareup.okhttp.Call |
DeployApiApi.redeployApiPostCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for redeployApiPost
|
ApiResponse<DeployResponseDTO> |
DeployApiApi.redeployApiPostWithHttpInfo(String apiName,
String version,
String tenantDomain)
Re Deploy the API in the gateway
This operation is used to re deploy an API in the gateway.
|
SequencesDTO |
GetApiArtifactsApi.sequenceGet(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.sequenceGetAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<SequencesDTO> callback)
Get sequences from the storage (asynchronously)
This operation is used to get the API sequence from the storage.
|
com.squareup.okhttp.Call |
GetApiArtifactsApi.sequenceGetCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sequenceGet
|
ApiResponse<SequencesDTO> |
GetApiArtifactsApi.sequenceGetWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
DeployResponseDTO |
UndeployApiApi.undeployApiPost(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
com.squareup.okhttp.Call |
UndeployApiApi.undeployApiPostAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<DeployResponseDTO> callback)
Uneploy the API in the gateway (asynchronously)
This operation is used to undeploy an API in the gateway.
|
com.squareup.okhttp.Call |
UndeployApiApi.undeployApiPostCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for undeployApiPost
|
ApiResponse<DeployResponseDTO> |
UndeployApiApi.undeployApiPostWithHttpInfo(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
Copyright © 2021 WSO2 Inc. All rights reserved.