| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| Modifier and Type | Field and Description |
|---|---|
static ClientOption<ClientDecoration> |
ClientOption.DECORATION
The
Function that decorates the client components. |
static ClientOption<Long> |
ClientOption.DEFAULT_MAX_RESPONSE_LENGTH
Deprecated.
Use
MAX_RESPONSE_LENGTH; |
static ClientOption<Long> |
ClientOption.DEFAULT_RESPONSE_TIMEOUT_MILLIS
Deprecated.
|
static ClientOption<Long> |
ClientOption.DEFAULT_WRITE_TIMEOUT_MILLIS
Deprecated.
Use
WRITE_TIMEOUT_MILLIS. |
static ClientOption<Function<? super Endpoint,? extends EndpointGroup>> |
ClientOption.ENDPOINT_REMAPPER
|
static ClientOption<ClientFactory> |
ClientOption.FACTORY
The
ClientFactory used for creating a client. |
static ClientOption<HttpHeaders> |
ClientOption.HTTP_HEADERS
The additional HTTP headers to send with requests.
|
static ClientOption<Long> |
ClientOption.MAX_RESPONSE_LENGTH
The maximum allowed length of a server response.
|
static ClientOption<Supplier<RequestId>> |
ClientOption.REQUEST_ID_GENERATOR
|
static ClientOption<Long> |
ClientOption.RESPONSE_TIMEOUT_MILLIS
The timeout of a server reply to a client call.
|
static ClientOption<Long> |
ClientOption.WRITE_TIMEOUT_MILLIS
The timeout of a socket write.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ClientOption<T> |
ClientOption.valueOf(String name)
Returns the
ClientOption of the specified name. |
| Modifier and Type | Method and Description |
|---|---|
Map<ClientOption<Object>,ClientOptionValue<Object>> |
ClientOptions.asMap()
Converts this
ClientOptions to a Map. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ClientOptions.get(ClientOption<T> option)
Returns the value of the specified
ClientOption. |
<T> T |
ClientOptions.getOrElse(ClientOption<T> option,
T defaultValue)
Returns the value of the specified
ClientOption. |
<T> T |
ClientOptions.getOrNull(ClientOption<T> option)
Returns the value of the specified
ClientOption. |
<T> WebClientBuilder |
WebClientBuilder.option(ClientOption<T> option,
T value) |
<T> ClientOptionsBuilder |
ClientOptionsBuilder.option(ClientOption<T> option,
T value) |
<T> ClientBuilder |
ClientBuilder.option(ClientOption<T> option,
T value) |
Copyright © 2020 LeanCloud. All rights reserved.