public class HttpClientFactory<S,T> extends BasicClientProxy<S,T>
Constructor and Description |
---|
HttpClientFactory(java.lang.Class<S> api,
java.lang.Class<T> asyncApi,
java.lang.String baseUrl) |
HttpClientFactory(java.lang.Class<S> api,
java.lang.Class<T> asyncApi,
java.lang.String baseUrl,
com.ning.http.client.AsyncHttpClient client) |
Modifier and Type | Method and Description |
---|---|
static <S,T> HttpClientFactory<S,T> |
create(java.lang.Class<S> api,
java.lang.Class<T> asyncApi,
java.lang.String baseUrl) |
static <S,T> HttpClientFactory<S,T> |
create(java.lang.Class<S> api,
java.lang.Class<T> asyncApi,
java.lang.String baseUrl,
com.ning.http.client.AsyncHttpClient client) |
client, client, setOrigin, setRemoteIp, setRemoteIps, syncClient, syncClient
public HttpClientFactory(java.lang.Class<S> api, java.lang.Class<T> asyncApi, java.lang.String baseUrl)
public static <S,T> HttpClientFactory<S,T> create(java.lang.Class<S> api, java.lang.Class<T> asyncApi, java.lang.String baseUrl, com.ning.http.client.AsyncHttpClient client)
public static <S,T> HttpClientFactory<S,T> create(java.lang.Class<S> api, java.lang.Class<T> asyncApi, java.lang.String baseUrl)
Copyright © 2021. All Rights Reserved.