public class THttpClientFactory
extends com.linecorp.armeria.client.DecoratingClientFactory
DecoratingClientFactory that creates a Thrift-over-HTTP client.| Constructor and Description |
|---|
THttpClientFactory(com.linecorp.armeria.client.ClientFactory httpClientFactory)
Creates a new instance from the specified
ClientFactory that supports HTTP, such as
HttpClientFactory. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
newClient(URI uri,
Class<T> clientType,
com.linecorp.armeria.client.ClientOptions options) |
Set<com.linecorp.armeria.common.Scheme> |
supportedSchemes() |
clientBuilderParams, close, delegate, eventLoopGroup, eventLoopSupplier, optionsnewClient, newClient, newClient, newEndpoint, validateSchemepublic THttpClientFactory(com.linecorp.armeria.client.ClientFactory httpClientFactory)
ClientFactory that supports HTTP, such as
HttpClientFactory.IllegalArgumentException - if the specified ClientFactory does not support HTTPpublic Set<com.linecorp.armeria.common.Scheme> supportedSchemes()
supportedSchemes in interface com.linecorp.armeria.client.ClientFactorysupportedSchemes in class com.linecorp.armeria.client.DecoratingClientFactory© Copyright 2015–2017 LINE Corporation. All rights reserved.