public interface RequestManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RequestManager.Callback<Result> |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
executeGetRequest(String url,
HttpClientSettings httpClientSettings,
RequestManager.Callback<R> callback)
Executes a GET request to the url.
|
<R> R |
executeGetRequest(String url,
RequestManager.Callback<R> callback)
Executes a GET request to the url.
|
<R> R |
executePostRequest(RequestedService requestedService,
RequestEntity requestEntity,
HttpClientSettings httpClientSettings,
RequestManager.Callback<R> callback)
Executes a POST request to the url.
|
<R> R |
executePostRequest(RequestedService requestedService,
RequestEntity requestEntity,
RequestManager.Callback<R> callback)
Executes a POST request to the specified service.
|
<R> R |
executePostRequest(String url,
RequestEntity requestEntity,
Security security,
HttpClientSettings httpClientSettings,
RequestManager.Callback<R> callback)
Executes a POST request to the url.
|
<R> R executeGetRequest(String url, RequestManager.Callback<R> callback) throws Exception
SettingsManager.R - The result type.url - The URL address to the document server.callback - The callback method.Exception - If the processing fails unexpectedly.<R> R executeGetRequest(String url, HttpClientSettings httpClientSettings, RequestManager.Callback<R> callback) throws Exception
R - The result type.url - The URL address to the document server.httpClientSettings - The settings for http client.callback - The callback method.Exception - If the processing fails unexpectedly.<R> R executePostRequest(RequestedService requestedService, RequestEntity requestEntity, RequestManager.Callback<R> callback) throws Exception
SettingsManager.R - The result type.requestedService - The requested service.requestEntity - The requested entity.callback - The callback method.Exception - If the processing fails unexpectedly.SettingsManager,
RequestedService,
RequestEntity<R> R executePostRequest(RequestedService requestedService, RequestEntity requestEntity, HttpClientSettings httpClientSettings, RequestManager.Callback<R> callback) throws Exception
R - The result type.requestedService - The requested service.requestEntity - The requested entity.httpClientSettings - The settings for http client.callback - The callback method.Exception - If the processing fails unexpectedly.RequestEntity,
Security<R> R executePostRequest(String url, RequestEntity requestEntity, Security security, HttpClientSettings httpClientSettings, RequestManager.Callback<R> callback) throws Exception
R - The result type.url - The URL address to the document server.requestEntity - The requested entity.security - The security parameters.httpClientSettings - The settings for http client.callback - The callback method.Exception - If the processing fails unexpectedly.RequestEntity,
SecurityCopyright © 2023–2024. All rights reserved.