Package org.apereo.cas.util.http
Interface HttpClientFactory
-
- All Superinterfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean
- All Known Implementing Classes:
SimpleHttpClientFactoryBean,SimpleHttpClientFactoryBean.DefaultHttpClient
public interface HttpClientFactory extends org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.DisposableBeanDefine the factory that creates an HTTP client.- Since:
- 6.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetConnectionTimeout()Gets connection timeout.javax.net.ssl.HostnameVerifiergetHostnameVerifier()Gets hostname verifier.org.apache.http.HttpHostgetProxy()Gets proxy.javax.net.ssl.SSLContextgetSslContext()Gets ssl context.org.apache.http.conn.socket.LayeredConnectionSocketFactorygetSslSocketFactory()Gets ssl socket factory.javax.net.ssl.TrustManager[]getTrustManagers()Get trust managers trust managers [].
-
-
-
Method Detail
-
getProxy
org.apache.http.HttpHost getProxy()
Gets proxy.- Returns:
- the proxy
-
getSslSocketFactory
org.apache.http.conn.socket.LayeredConnectionSocketFactory getSslSocketFactory()
Gets ssl socket factory.- Returns:
- the ssl socket factory
-
getHostnameVerifier
javax.net.ssl.HostnameVerifier getHostnameVerifier()
Gets hostname verifier.- Returns:
- the hostname verifier
-
getConnectionTimeout
long getConnectionTimeout()
Gets connection timeout.- Returns:
- the connection timeout
-
getSslContext
javax.net.ssl.SSLContext getSslContext()
Gets ssl context.- Returns:
- the ssl context
-
getTrustManagers
javax.net.ssl.TrustManager[] getTrustManagers()
Get trust managers trust managers [].- Returns:
- the trust manager []
-
-