public class InMemoryCachingHttpClientFactoryBean extends HttpClientFactoryBean
InMemoryCachingHttpClientBuilder and to then emit a
HttpClient.logger| Constructor and Description |
|---|
InMemoryCachingHttpClientFactoryBean()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder |
createHttpClientBuilder()
Create and return the instance of
HttpClientBuilder to use. |
void |
setMaxCacheEntries(int maxCacheEntries)
Set the maximum number of cached responses.
|
void |
setMaxCacheEntrySize(long maxCacheEntrySize)
Set the maximum response body size, in bytes, that will be eligible for caching.
|
doCreateInstance, getHttpClientBuilder, getObjectType, setConnectionDisregardTLSCertificate, setConnectionProxyHost, setConnectionProxyPassword, setConnectionProxyPort, setConnectionProxyUsername, setConnectionRequestTimeout, setConnectionTimeout, setMaxConnectionsPerRoute, setMaxConnectionsTotal, setSocketTimeout, setTLSSocketFactory, setUserAgentcreateInstance, destroyInstanceafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonpublic InMemoryCachingHttpClientFactoryBean()
public void setMaxCacheEntries(int maxCacheEntries)
maxCacheEntries - The maxCacheEntries to set.public void setMaxCacheEntrySize(long maxCacheEntrySize)
maxCacheEntrySize - The maxCacheEntrySize to set.protected net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder createHttpClientBuilder()
HttpClientBuilder to use.
Subclasses may override to build a specialized subclass.createHttpClientBuilder in class HttpClientFactoryBeanCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.