| 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 |
|---|---|
protected Scheme |
AbstractClientFactory.validateScheme(Scheme scheme)
Makes sure the specified
Scheme is supported by this ClientFactory. |
protected Scheme |
AbstractClientFactory.validateScheme(URI uri)
Makes sure the scheme of the specified
URI 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 <T> T |
Clients.newClient(ClientFactory factory,
Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptions options)
Creates a new client that connects to the specified
Endpoint with the Scheme using
the specified ClientFactory. |
static <T> T |
Clients.newClient(ClientFactory factory,
Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
Endpoint with the Scheme using
the specified ClientFactory. |
static <T> T |
Clients.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptions options)
Creates a new client that connects to the specified
Endpoint with the Scheme using
the default ClientFactory. |
<T> T |
ClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptions options)
|
<T> T |
AbstractClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptions options) |
static <T> T |
Clients.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptionValue<?>... options)
Creates a new client that connects to the specified
Endpoint with the Scheme using
the default ClientFactory. |
<T> T |
ClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptionValue<?>... options)
|
<T> T |
AbstractClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
Class<T> clientType,
ClientOptionValue<?>... options) |
<T> T |
DecoratingClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
String path,
Class<T> clientType,
ClientOptions options) |
<T> T |
ClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
String path,
Class<T> clientType,
ClientOptions options)
|
<T> T |
ClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
String path,
Class<T> clientType,
ClientOptionValue<?>... options)
|
<T> T |
AbstractClientFactory.newClient(Scheme scheme,
Endpoint endpoint,
String path,
Class<T> clientType,
ClientOptionValue<?>... options) |
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. |
protected Scheme |
AbstractClientFactory.validateScheme(Scheme scheme)
Makes sure the specified
Scheme is supported by this ClientFactory. |
| Constructor and Description |
|---|
ClientBuilder(Scheme scheme,
Endpoint endpoint)
Creates a new
ClientBuilder that builds the client that connects to the specified
Endpoint with the Scheme. |
| Modifier and Type | Method and Description |
|---|---|
static Scheme |
Scheme.of(SerializationFormat serializationFormat,
SessionProtocol sessionProtocol)
|
static Scheme |
Scheme.parse(String scheme)
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Scheme> |
Scheme.tryParse(String scheme)
|
| Modifier and Type | Method and Description |
|---|---|
int |
Scheme.compareTo(Scheme o) |
| Modifier and Type | Method and Description |
|---|---|
Scheme |
RequestLog.scheme()
|
Scheme |
DefaultRequestLog.scheme() |
Copyright © 2020 LeanCloud. All rights reserved.