| Package | Description |
|---|---|
| com.holonplatform.async.http | |
| com.holonplatform.async.http.internal |
| Modifier and Type | Method and Description |
|---|---|
static AsyncRestClient |
AsyncRestClient.create()
Create a new
AsyncRestClient instance using default ClassLoader and default implementation, if
available. |
static AsyncRestClient |
AsyncRestClient.create(ClassLoader classLoader)
Create a new
AsyncRestClient instance using given classLoder and default implementation, if
available. |
AsyncRestClient |
AsyncRestClientFactory.create(ClassLoader classLoader)
Create a new
AsyncRestClient instance. |
static AsyncRestClient |
AsyncRestClient.create(String fullyQualifiedClassName)
Create a new
AsyncRestClient instance using default ClassLoader and the implementation whith
given fully qualified class name. |
static AsyncRestClient |
AsyncRestClient.create(String fullyQualifiedClassName,
ClassLoader classLoader)
Create a new
AsyncRestClient instance using given classLoder and the implementation whith
given fully qualified class name. |
static AsyncRestClient |
AsyncRestClient.forTarget(String baseUri)
Create a new
AsyncRestClient instance using default ClassLoader and default implementation,
setting given baseUri as default AsyncRestClient target, which will be used as base URI for
every request configured using RestClientOperations.request(), if not overridden using
RestClientOperations.RequestConfiguration.target(URI). |
static AsyncRestClient |
AsyncRestClient.forTarget(URI baseUri)
Create a new
AsyncRestClient instance using default ClassLoader and default implementation,
setting given baseUri as default AsyncRestClient target, which will be used as base URI for
every request configured using RestClientOperations.request(), if not overridden using
RestClientOperations.RequestConfiguration.target(URI). |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAsyncRestClient
Abstract
AsyncRestClient implementation. |
| Modifier and Type | Method and Description |
|---|---|
AsyncRestClient |
AbstractAsyncRestClient.clearDefaultHeaders() |
AsyncRestClient |
AsyncRestClientFactoryRegistry.createRestClient(String fullyQualifiedClassName,
ClassLoader classLoader)
Get a
AsyncRestClient instance for given fullyQualifiedClassName and ClassLoader
using a suitable AsyncRestClientFactory. |
AsyncRestClient |
AbstractAsyncRestClient.defaultTarget(URI baseUri) |
AsyncRestClient |
AbstractAsyncRestClient.removeDefaultHeader(String name) |
AsyncRestClient |
AbstractAsyncRestClient.withDefaultHeader(String name,
String value) |
Copyright © 2019 The Holon Platform. All rights reserved.