public class HttpClientConnectionFactory extends Object implements ConnectionFactory
HttpClientConnection| Constructor and Description |
|---|
HttpClientConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> HttpClientConnection<T> |
create(String endpoint,
JsonParser<T> parser,
ClientConfig config)
Create a new
Connection for a given endpoint and configuration. |
public <T> HttpClientConnection<T> create(String endpoint, JsonParser<T> parser, ClientConfig config)
Connection for a given endpoint and configuration.create in interface ConnectionFactoryT - type of the result as returned by the parserendpoint - the API endpointparser - the parser used for parsing the resultconfig - the configurationCopyright © 2016. All rights reserved.