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.DisposableBean
    Define the factory that creates an HTTP client.
    Since:
    6.1.0
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getConnectionTimeout()
      Gets connection timeout.
      javax.net.ssl.HostnameVerifier getHostnameVerifier()
      Gets hostname verifier.
      org.apache.http.HttpHost getProxy()
      Gets proxy.
      javax.net.ssl.SSLContext getSslContext()
      Gets ssl context.
      org.apache.http.conn.socket.LayeredConnectionSocketFactory getSslSocketFactory()
      Gets ssl socket factory.
      javax.net.ssl.TrustManager[] getTrustManagers()
      Get trust managers trust managers [].
      • Methods inherited from interface org.springframework.beans.factory.DisposableBean

        destroy
      • Methods inherited from interface org.springframework.beans.factory.FactoryBean

        getObject, getObjectType, isSingleton
    • 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 []