Class DefaultHTTPClientConfiguration

    • Constructor Detail

      • DefaultHTTPClientConfiguration

        public DefaultHTTPClientConfiguration​(String userAgent,
                                              int defaultTimeout,
                                              int maxConnections,
                                              String acceptHeader)
        Constructor.
        Parameters:
        userAgent - the user agent descriptor string.
        defaultTimeout - the default timeout, cannot be <= to 0
        maxConnections - the default max connections, cannot be <= to 0
        acceptHeader - the accept header string, can be null.
      • DefaultHTTPClientConfiguration

        public DefaultHTTPClientConfiguration​(String acceptHeader)
        Constructor. initialized with default DefaultConfiguration parameters
        Parameters:
        acceptHeader - the value to initialize acceptHeader.
      • DefaultHTTPClientConfiguration

        public DefaultHTTPClientConfiguration()
        Constructor. initialized with default DefaultConfiguration parameters and acceptHeader=null.