| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| com.linecorp.armeria.client.endpoint |
Endpoint groups and their registry. |
| com.linecorp.armeria.client.endpoint.dns |
DNS-based
EndpointGroup implementation. |
| com.linecorp.armeria.client.endpoint.healthcheck |
Filters out unhealthy
Endpoints from an existing
EndpointGroup by sending health check requests. |
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.common.stream |
Streamed message types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Endpoint
A remote endpoint that refers to a single host or a group of multiple hosts.
|
| Modifier and Type | Method and Description |
|---|---|
static SafeCloseable |
Clients.withContextCustomizer(Consumer<ClientRequestContext> contextCustomizer)
Sets the specified
ClientRequestContext customization function in a thread-local variable so that
the customized context is used when the client invokes a request from the current thread. |
static SafeCloseable |
Clients.withHttpHeader(CharSequence name,
Object value)
Sets the specified HTTP header in a thread-local variable so that the header is sent by the client call
made from the current thread.
|
static SafeCloseable |
Clients.withHttpHeader(CharSequence name,
String value)
Sets the specified HTTP header in a thread-local variable so that the header is sent by the client call
made from the current thread.
|
static SafeCloseable |
Clients.withHttpHeaders(Function<HttpHeaders,HttpHeaders> headerManipulator)
Sets the specified HTTP header manipulating function in a thread-local variable so that the manipulated
headers are sent by the client call made from the current thread.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EndpointGroup
A list of
Endpoints. |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicEndpointGroup
A dynamic
EndpointGroup. |
class |
PropertiesEndpointGroup
A
Properties backed EndpointGroup. |
class |
StaticEndpointGroup
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DnsAddressEndpointGroup
|
class |
DnsServiceEndpointGroup
DynamicEndpointGroup which resolves targets using DNS
SRV records. |
class |
DnsTextEndpointGroup
DynamicEndpointGroup which resolves targets using DNS TXT records. |
| Modifier and Type | Class and Description |
|---|---|
class |
HealthCheckedEndpointGroup
An
EndpointGroup that filters out unhealthy Endpoints from an existing EndpointGroup,
by sending periodic health check requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpRequestDuplicator
Allows subscribing to an
HttpRequest multiple times by duplicating the stream. |
class |
HttpResponseDuplicator
Allows subscribing to an
HttpResponse multiple times by duplicating the stream. |
| Modifier and Type | Method and Description |
|---|---|
default SafeCloseable |
RequestContext.push()
Pushes the specified context to the thread-local stack.
|
SafeCloseable |
AbstractRequestContext.push() |
default SafeCloseable |
RequestContext.push(boolean runCallbacks)
Pushes the specified context to the thread-local stack.
|
SafeCloseable |
AbstractRequestContext.push(boolean runCallbacks) |
static SafeCloseable |
RequestContext.push(RequestContext ctx)
Deprecated.
|
static SafeCloseable |
RequestContext.push(RequestContext ctx,
boolean runCallbacks)
Deprecated.
|
default SafeCloseable |
RequestContext.pushIfAbsent()
Pushes this context to the thread-local stack if there is no current context.
|
SafeCloseable |
AbstractRequestContext.pushIfAbsent() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStreamMessageDuplicator<T,U extends StreamMessage<T>>
Allows subscribing to a
StreamMessage multiple times by duplicating the stream. |
Copyright © 2020 LeanCloud. All rights reserved.