public class InMemoryCachingHttpClientFactoryBean extends HttpClientFactoryBean
InMemoryCachingHttpClientBuilder and to then emit a
HttpClient.
This class will likely either be removed or moved into an implementation package.
Use InMemoryCachingHttpClientBuilder instead.
| Constructor and Description |
|---|
InMemoryCachingHttpClientFactoryBean()
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpClientBuilder |
createHttpClientBuilder()
Deprecated.
Create and return the instance of
HttpClientBuilder to use. |
void |
setMaxCacheEntries(int maxCacheEntries)
Deprecated.
Set the maximum number of cached responses.
|
void |
setMaxCacheEntrySize(long maxCacheEntrySize)
Deprecated.
Set the maximum response body size, in bytes, that will be eligible for caching.
|
doCreateInstance, getHttpClientBuilder, getObjectType, setConnectionDisregardTLSCertificate, setConnectionProxyHost, setConnectionProxyPassword, setConnectionProxyPort, setConnectionProxyUsername, setConnectionRequestTimeout, setConnectionTimeout, setDisableContentCompression, setDisableCookieManagement, setMaxConnectionsPerRoute, setMaxConnectionsTotal, setSocketTimeout, setTLSSocketFactory, setUserAgentcreateInstance, destroyInstancepublic InMemoryCachingHttpClientFactoryBean()
public void setMaxCacheEntries(int maxCacheEntries)
maxCacheEntries - The maxCacheEntries to set.public void setMaxCacheEntrySize(long maxCacheEntrySize)
maxCacheEntrySize - The maxCacheEntrySize to set.protected HttpClientBuilder createHttpClientBuilder()
HttpClientBuilder to use.
Subclasses may override to build a specialized subclass.createHttpClientBuilder in class HttpClientFactoryBeanCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.