Package co.arago.hiro.client.connection
Class AbstractVersionAPIHandler.Conf<T extends AbstractVersionAPIHandler.Conf<T>>
- java.lang.Object
-
- co.arago.hiro.client.connection.AbstractAPIHandler.Conf<T>
-
- co.arago.hiro.client.connection.AbstractVersionAPIHandler.Conf<T>
-
- All Implemented Interfaces:
HttpClientHandler.ConfTemplate<T>
- Direct Known Subclasses:
AbstractTokenAPIHandler.Conf,GraphConnectionHandler.Conf
- Enclosing class:
- AbstractVersionAPIHandler
public abstract static class AbstractVersionAPIHandler.Conf<T extends AbstractVersionAPIHandler.Conf<T>> extends AbstractAPIHandler.Conf<T>
-
-
Constructor Summary
Constructors Constructor Description Conf()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AbstractVersionAPIHandlerbuild()AbstractVersionAPIHandlergetSharedConnectionHandler()TsetSharedConnectionHandler(AbstractVersionAPIHandler sharedConnectionHandler)Specifies a shared handler for a set of APIHandlers.-
Methods inherited from class co.arago.hiro.client.connection.AbstractAPIHandler.Conf
getAcceptAllCerts, getConnectTimeout, getCookieManager, getHttpClient, getHttpClientAutoClose, getHttpClientHandler, getHttpRequestTimeout, getMaxBinaryLogLength, getMaxConnectionPool, getMaxRetries, getProxy, getRootApiURI, getShutdownTimeout, getSslContext, getSslParameters, getUserAgent, getWebSocketURI, isFollowRedirects, self, setAcceptAllCerts, setConnectTimeout, setCookieManager, setFollowRedirects, setHttpClient, setHttpClientAutoClose, setHttpClientHandler, setHttpRequestTimeout, setMaxBinaryLogLength, setMaxConnectionPool, setMaxRetries, setProxy, setRootApiURI, setRootApiURI, setShutdownTimeout, setSslContext, setSslParameters, setUserAgent, setWebSocketURI, setWebSocketURI
-
-
-
-
Method Detail
-
getSharedConnectionHandler
public AbstractVersionAPIHandler getSharedConnectionHandler()
-
setSharedConnectionHandler
public T setSharedConnectionHandler(AbstractVersionAPIHandler sharedConnectionHandler)
Specifies a shared handler for a set of APIHandlers. The versionMap, the httpClientHandler and the configuration will be shared among them. Its primary purpose is to avoid unnecessary calls to '/api/version'.- Parameters:
sharedConnectionHandler- The handler to share.- Returns:
AbstractAPIHandler.Conf.self()- See Also:
GraphConnectionHandler
-
build
public abstract AbstractVersionAPIHandler build()
- Specified by:
buildin classAbstractAPIHandler.Conf<T extends AbstractVersionAPIHandler.Conf<T>>
-
-