Package org.apereo.cas.util.http
Class SimpleHttpClientFactoryBean
- java.lang.Object
-
- org.apereo.cas.util.http.SimpleHttpClientFactoryBean
-
- All Implemented Interfaces:
HttpClientFactory,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean
- Direct Known Subclasses:
SimpleHttpClientFactoryBean.DefaultHttpClient
public class SimpleHttpClientFactoryBean extends java.lang.Object implements HttpClientFactory
The factory to build aSimpleHttpClient.- Since:
- 4.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleHttpClientFactoryBean.DefaultHttpClientThe default http client.
-
Field Summary
Fields Modifier and Type Field Description static intMAX_CONNECTIONS_PER_ROUTEMax connections per route.
-
Constructor Summary
Constructors Constructor Description SimpleHttpClientFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()SimpleHttpClientgetObject()java.lang.Class<?>getObjectType()booleanisSingleton()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apereo.cas.util.http.HttpClientFactory
getConnectionTimeout, getHostnameVerifier, getProxy, getSslContext, getSslSocketFactory, getTrustManagers
-
-
-
-
Field Detail
-
MAX_CONNECTIONS_PER_ROUTE
public static final int MAX_CONNECTIONS_PER_ROUTE
Max connections per route.- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
public SimpleHttpClient getObject()
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
-