| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.common.logging |
| Modifier and Type | Method and Description |
|---|---|
Scheme |
UserClient.scheme() |
Scheme |
ClientBuilderParams.scheme()
Returns the
Scheme of the client. |
default Scheme |
ClientFactory.validateScheme(Scheme scheme)
Makes sure the specified
Scheme is supported by this ClientFactory. |
| Modifier and Type | Method and Description |
|---|---|
Set<Scheme> |
DecoratingClientFactory.supportedSchemes() |
Set<Scheme> |
ClientFactory.supportedSchemes()
Returns the
Schemes supported by this ClientFactory. |
| Modifier and Type | Method and Description |
|---|---|
static ClientBuilder |
Clients.builder(Scheme scheme,
EndpointGroup endpointGroup)
Returns a new
ClientBuilder that builds the client that connects to the specified
EndpointGroup with the Scheme. |
static <T> T |
Clients.newClient(ClientFactory factory,
Scheme scheme,
EndpointGroup endpointGroup,
Class<T> clientType,
ClientOptions options)
|
static <T> T |
Clients.newClient(ClientFactory factory,
Scheme scheme,
EndpointGroup endpointGroup,
Class<T> clientType,
ClientOptionValue<?>... options)
|
static <T> T |
Clients.newClient(Scheme scheme,
EndpointGroup endpointGroup,
Class<T> clientType)
Creates a new client that connects to the specified
EndpointGroup with the Scheme using
the default ClientFactory. |
static <T> T |
Clients.newClient(Scheme scheme,
EndpointGroup endpointGroup,
Class<T> clientType,
ClientOptions options)
Deprecated.
|
static <T> T |
Clients.newClient(Scheme scheme,
EndpointGroup endpointGroup,
Class<T> clientType,
ClientOptionValue<?>... options)
Deprecated.
|
static ClientBuilderParams |
ClientBuilderParams.of(Scheme scheme,
EndpointGroup endpointGroup,
String path,
Class<?> type,
ClientOptions options)
Returns a newly created
ClientBuilderParams from the specified properties. |
URI |
Endpoint.toUri(Scheme scheme)
Converts this endpoint into a URI using the
Scheme. |
URI |
Endpoint.toUri(Scheme scheme,
String path)
Converts this endpoint into a URI using the
Scheme and the path. |
default Scheme |
ClientFactory.validateScheme(Scheme scheme)
Makes sure the specified
Scheme is supported by this ClientFactory. |
| Constructor and Description |
|---|
ClientBuilder(Scheme scheme,
Endpoint endpoint)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Scheme |
Scheme.of(SerializationFormat serializationFormat,
SessionProtocol sessionProtocol)
|
static Scheme |
Scheme.parse(String scheme)
|
static Scheme |
Scheme.tryParse(String scheme)
|
| Modifier and Type | Method and Description |
|---|---|
int |
Scheme.compareTo(Scheme o) |
| Modifier and Type | Method and Description |
|---|---|
Scheme |
RequestOnlyLog.scheme()
|
Copyright © 2020 LeanCloud. All rights reserved.