| 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 |
|---|---|
APIInfoDTO |
GetApiInfoApi.apisApiIdGet(String apiId,
String tenantDomain)
Get the subscription information of an api by providing the api uuid.
|
com.squareup.okhttp.Call |
GetApiInfoApi.apisApiIdGetAsync(String apiId,
String tenantDomain,
ApiCallback<APIInfoDTO> callback)
Get the subscription information of an api by providing the api uuid.
|
com.squareup.okhttp.Call |
GetApiInfoApi.apisApiIdGetCall(String apiId,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdGet
|
ApiResponse<APIInfoDTO> |
GetApiInfoApi.apisApiIdGetWithHttpInfo(String apiId,
String tenantDomain)
Get the subscription information of an api by providing the api uuid.
|
APIListDTO |
GetApiInfoApi.apisGet(String context,
String version,
String tenantDomain)
Get the list of APIS by providing context and version.
|
com.squareup.okhttp.Call |
GetApiInfoApi.apisGetAsync(String context,
String version,
String tenantDomain,
ApiCallback<APIListDTO> callback)
Get the list of APIS by providing context and version.
|
com.squareup.okhttp.Call |
GetApiInfoApi.apisGetCall(String context,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisGet
|
ApiResponse<APIListDTO> |
GetApiInfoApi.apisGetWithHttpInfo(String context,
String version,
String tenantDomain)
Get the list of APIS by providing context and version.
|
ApplicationListDTO |
GetApplicationInfoApi.applicationsGet(String name,
String uuid,
String tenantDomain)
Get the applications information by providing the application name or uuid.
|
com.squareup.okhttp.Call |
GetApplicationInfoApi.applicationsGetAsync(String name,
String uuid,
String tenantDomain,
ApiCallback<ApplicationListDTO> callback)
Get the applications information by providing the application name or uuid.
|
com.squareup.okhttp.Call |
GetApplicationInfoApi.applicationsGetCall(String name,
String uuid,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for applicationsGet
|
ApiResponse<ApplicationListDTO> |
GetApplicationInfoApi.applicationsGetWithHttpInfo(String name,
String uuid,
String tenantDomain)
Get the applications information by providing the application name or uuid.
|
APIArtifactDTO |
GetApiArtifactsApi.getAPIArtifacts(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.
|
APIArtifactDTO |
DefaultApi.getAPIArtifacts(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.getAPIArtifactsAsync(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 |
DefaultApi.getAPIArtifactsAsync(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.getAPIArtifactsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAPIArtifacts
|
com.squareup.okhttp.Call |
DefaultApi.getAPIArtifactsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAPIArtifacts
|
ApiResponse<APIArtifactDTO> |
GetApiArtifactsApi.getAPIArtifactsWithHttpInfo(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.
|
ApiResponse<APIArtifactDTO> |
DefaultApi.getAPIArtifactsWithHttpInfo(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.getEndpoints(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.
|
EndpointsDTO |
DefaultApi.getEndpoints(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.getEndpointsAsync(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 |
DefaultApi.getEndpointsAsync(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.getEndpointsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEndpoints
|
com.squareup.okhttp.Call |
DefaultApi.getEndpointsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEndpoints
|
ApiResponse<EndpointsDTO> |
GetApiArtifactsApi.getEndpointsWithHttpInfo(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.
|
ApiResponse<EndpointsDTO> |
DefaultApi.getEndpointsWithHttpInfo(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.getLocalEntries(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.
|
LocalEntryDTO |
DefaultApi.getLocalEntries(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.getLocalEntriesAsync(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 |
DefaultApi.getLocalEntriesAsync(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.getLocalEntriesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLocalEntries
|
com.squareup.okhttp.Call |
DefaultApi.getLocalEntriesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLocalEntries
|
ApiResponse<LocalEntryDTO> |
GetApiArtifactsApi.getLocalEntriesWithHttpInfo(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.
|
ApiResponse<LocalEntryDTO> |
DefaultApi.getLocalEntriesWithHttpInfo(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.
|
SequencesDTO |
GetApiArtifactsApi.getSequences(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
SequencesDTO |
DefaultApi.getSequences(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.getSequencesAsync(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 |
DefaultApi.getSequencesAsync(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.getSequencesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSequences
|
com.squareup.okhttp.Call |
DefaultApi.getSequencesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSequences
|
ApiResponse<SequencesDTO> |
GetApiArtifactsApi.getSequencesWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
ApiResponse<SequencesDTO> |
DefaultApi.getSequencesWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
SubscriptionListDTO |
SubscriptionsApi.getSubscriptions(String apiUUID,
String applicationUUID,
String tenantDomain)
Get Subscriptions stored in in-memory
This operation is used to get the Subscriptions from the storage.
|
com.squareup.okhttp.Call |
SubscriptionsApi.getSubscriptionsAsync(String apiUUID,
String applicationUUID,
String tenantDomain,
ApiCallback<SubscriptionListDTO> callback)
Get Subscriptions stored in in-memory (asynchronously)
This operation is used to get the Subscriptions from the storage.
|
com.squareup.okhttp.Call |
SubscriptionsApi.getSubscriptionsCall(String apiUUID,
String applicationUUID,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSubscriptions
|
ApiResponse<SubscriptionListDTO> |
SubscriptionsApi.getSubscriptionsWithHttpInfo(String apiUUID,
String applicationUUID,
String tenantDomain)
Get Subscriptions stored in in-memory
This operation is used to get the Subscriptions from the storage.
|
DeployResponseDTO |
DefaultApi.redployAPI(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.
|
DeployResponseDTO |
DeployApiApi.redployAPI(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 |
DefaultApi.redployAPIAsync(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.redployAPIAsync(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 |
DefaultApi.redployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for redployAPI
|
com.squareup.okhttp.Call |
DeployApiApi.redployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for redployAPI
|
ApiResponse<DeployResponseDTO> |
DefaultApi.redployAPIWithHttpInfo(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.
|
ApiResponse<DeployResponseDTO> |
DeployApiApi.redployAPIWithHttpInfo(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.
|
void |
DefaultApi.serverStartupHealthcheckGet()
Health check to check if all the API are deployed during the server startup
Health check to check if all the API are deployed during the server startup
|
com.squareup.okhttp.Call |
DefaultApi.serverStartupHealthcheckGetAsync(ApiCallback<Void> callback)
Health check to check if all the API are deployed during the server startup (asynchronously)
Health check to check if all the API are deployed during the server startup
|
com.squareup.okhttp.Call |
DefaultApi.serverStartupHealthcheckGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for serverStartupHealthcheckGet
|
ApiResponse<Void> |
DefaultApi.serverStartupHealthcheckGetWithHttpInfo()
Health check to check if all the API are deployed during the server startup
Health check to check if all the API are deployed during the server startup
|
SubscriptionDTO |
GetSubscriptionInfoApi.subscriptionsGet(String apiUUID,
String appUUID,
String tenantDomain)
Get the subscriptions meta information of an api by providing the api uuid and application uuid.
|
com.squareup.okhttp.Call |
GetSubscriptionInfoApi.subscriptionsGetAsync(String apiUUID,
String appUUID,
String tenantDomain,
ApiCallback<SubscriptionDTO> callback)
Get the subscriptions meta information of an api by providing the api uuid and application uuid.
|
com.squareup.okhttp.Call |
GetSubscriptionInfoApi.subscriptionsGetCall(String apiUUID,
String appUUID,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subscriptionsGet
|
ApiResponse<SubscriptionDTO> |
GetSubscriptionInfoApi.subscriptionsGetWithHttpInfo(String apiUUID,
String appUUID,
String tenantDomain)
Get the subscriptions meta information of an api by providing the api uuid and application uuid.
|
DeployResponseDTO |
UndeployApiApi.undeployAPI(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
DeployResponseDTO |
DefaultApi.undeployAPI(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.undeployAPIAsync(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 |
DefaultApi.undeployAPIAsync(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.undeployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for undeployAPI
|
com.squareup.okhttp.Call |
DefaultApi.undeployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for undeployAPI
|
ApiResponse<DeployResponseDTO> |
UndeployApiApi.undeployAPIWithHttpInfo(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
ApiResponse<DeployResponseDTO> |
DefaultApi.undeployAPIWithHttpInfo(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
Copyright © 2022 WSO2 Inc. All rights reserved.