| Package | Description |
|---|---|
| io.apimatic.coreinterfaces.authentication | |
| io.apimatic.coreinterfaces.compatibility | |
| io.apimatic.coreinterfaces.http | |
| io.apimatic.coreinterfaces.logger |
| Modifier and Type | Method and Description |
|---|---|
Request |
Authentication.apply(Request httpRequest)
Apply the authentication on the httpRequest
|
| Modifier and Type | Method and Description |
|---|---|
Request |
Authentication.apply(Request httpRequest)
Apply the authentication on the httpRequest
|
| Modifier and Type | Method and Description |
|---|---|
Request |
CompatibilityFactory.createHttpRequest(Method httpMethod,
StringBuilder queryUrlBuilder,
HttpHeaders headers,
Map<String,Object> queryParameters,
List<AbstractMap.SimpleEntry<String,Object>> formParameters) |
Request |
CompatibilityFactory.createHttpRequest(Method httpMethod,
StringBuilder queryUrlBuilder,
HttpHeaders headers,
Map<String,Object> queryParameters,
Object body) |
| Modifier and Type | Method and Description |
|---|---|
Context |
CompatibilityFactory.createHttpContext(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Request |
Context.getRequest()
Getter for the Http Request.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
HttpClient.execute(Request request,
CoreEndpointConfiguration endpointConfiguration)
Execute a given Request to get string/binary response back.
|
CompletableFuture<Response> |
HttpClient.executeAsync(Request request,
CoreEndpointConfiguration endpointConfiguration)
Execute a given Request to get string/binary response back.
|
void |
Callback.onBeforeRequest(Request request)
Callback called just before the HTTP request is sent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiLogger.logRequest(Request request,
String url)
Log requests.
|
void |
ApiLogger.logRequest(Request request,
String url,
String additionalMessage)
Log requests.
|
void |
ApiLogger.logResponse(Request request,
Response response)
Log Responses.
|
void |
ApiLogger.logResponse(Request request,
Response response,
String additionalMessage)
Log Responses.
|
void |
ApiLogger.setError(Request request,
Throwable error)
Set error for failed requests.
|
Copyright © 2022. All rights reserved.