Class HttpParams


  • public final class HttpParams
    extends Object
    Http请求参数
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • HttpParams

        public HttpParams()
        connectTimeout = 15000,readTimeout=20000,maxConnection=100,maxConnectionPerHost=32
      • HttpParams

        public HttpParams​(int connectTimeout,
                          int readTimeout,
                          int maxConnections,
                          int maxConnectionsPerHost)
    • Method Detail

      • getConnectTimeout

        public int getConnectTimeout()
      • getReadTimeout

        public int getReadTimeout()
      • getMaxConnections

        public int getMaxConnections()
      • getMaxConnectionsPerHost

        public int getMaxConnectionsPerHost()
      • getProxy

        public Proxy getProxy()
      • getSSLContext

        public SSLContext getSSLContext()