Package org.knowm.xchange.client
Class ExchangeRestProxyBuilder<T>
java.lang.Object
org.knowm.xchange.client.ExchangeRestProxyBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clientConfig
(si.mazi.rescu.ClientConfig value) clientConfigCustomizer
(ClientConfigCustomizer clientConfigCustomizer) static si.mazi.rescu.ClientConfig
createClientConfig
(ExchangeSpecification exchangeSpecification) Get a ClientConfig object which contains exchange-specific timeout values (httpConnTimeout and httpReadTimeout) if they were present in the ExchangeSpecification of this instance.customInterceptor
(si.mazi.rescu.Interceptor value) customInterceptors
(Collection<si.mazi.rescu.Interceptor> interceptors) static <T> ExchangeRestProxyBuilder<T>
forInterface
(Class<T> restInterface, ExchangeSpecification exchangeSpecification) restProxyFactory
(si.mazi.rescu.IRestProxyFactory restProxyFactory)
-
Method Details
-
forInterface
public static <T> ExchangeRestProxyBuilder<T> forInterface(Class<T> restInterface, ExchangeSpecification exchangeSpecification) -
clientConfig
-
clientConfigCustomizer
public ExchangeRestProxyBuilder<T> clientConfigCustomizer(ClientConfigCustomizer clientConfigCustomizer) -
baseUrl
-
customInterceptor
-
customInterceptors
public ExchangeRestProxyBuilder<T> customInterceptors(Collection<si.mazi.rescu.Interceptor> interceptors) -
restProxyFactory
public ExchangeRestProxyBuilder<T> restProxyFactory(si.mazi.rescu.IRestProxyFactory restProxyFactory) -
build
-
createClientConfig
public static si.mazi.rescu.ClientConfig createClientConfig(ExchangeSpecification exchangeSpecification) Get a ClientConfig object which contains exchange-specific timeout values (httpConnTimeout and httpReadTimeout) if they were present in the ExchangeSpecification of this instance.- Returns:
- a rescu client config object
-