| Package | Description |
|---|---|
| com.amazon.ask.model.services |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<String,String>> |
ApiResponse.getHeaders() |
List<Pair<String,String>> |
ServiceException.getHeaders()
Gets the headers of the Http Response that return the failure.
|
List<Pair<String,String>> |
ApiClientMessage.getHeaders() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> ApiResponse<T> |
BaseServiceClient.executeRequest(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class<T> responseType,
boolean rawRequest)
Calls the ApiClient based on the ServiceClient specific data provided as well as handles the
well-known responses from the Api
|
protected <T> ApiResponse<T> |
BaseServiceClient.executeRequest(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class<T> responseType,
boolean rawRequest)
Calls the ApiClient based on the ServiceClient specific data provided as well as handles the
well-known responses from the Api
|
protected Object |
BaseServiceClient.invoke(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class responseType)
Deprecated.
|
protected Object |
BaseServiceClient.invoke(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class responseType)
Deprecated.
|
protected Object |
BaseServiceClient.invoke(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class responseType,
boolean rawRequest)
Deprecated.
|
protected Object |
BaseServiceClient.invoke(String method,
String endpoint,
String path,
List<Pair<String,String>> queryParams,
List<Pair<String,String>> headerParams,
Map<String,String> pathParams,
List<ServiceClientResponse> responseDefinitions,
Object body,
Class responseType,
boolean rawRequest)
Deprecated.
|
void |
ServiceException.setHeaders(List<Pair<String,String>> headers)
Sets the headers of the Http Response that return the failure.
|
void |
ApiClientMessage.setHeaders(List<Pair<String,String>> headers) |
| Constructor and Description |
|---|
ApiResponse(T response,
int statusCode,
List<Pair<String,String>> headers) |
ServiceException(String message,
int statusCode,
List<Pair<String,String>> headers,
Object body) |
ServiceException(String message,
int statusCode,
List<Pair<String,String>> headers,
Object body,
Throwable cause) |
Copyright © 2019. All rights reserved.