Class HostParams

    • Field Detail

      • DEFAULT_HEADERS

        public static final String DEFAULT_HEADERS
        Deprecated.
        Defines the request headers to be sent per default with each request.

        This parameter expects a value of type Collection. The collection is expected to contain Headers.

        See Also:
        Constant Field Values
    • Constructor Detail

      • HostParams

        public HostParams​(HttpParams defaults)
        Deprecated.
        Creates a new collection of parameters with the given parent. The collection will defer to its parent for a default value if a particular parameter is not explicitly set in the collection itself.
        Parameters:
        defaults - the parent collection to defer to, if a parameter is not explictly set in the collection itself.
        See Also:
        DefaultHttpParams.getDefaultParams()
    • Method Detail

      • setVirtualHost

        public void setVirtualHost​(String hostname)
        Deprecated.
        Sets the virtual host name.
        Parameters:
        hostname - The host name
      • getVirtualHost

        public String getVirtualHost()
        Deprecated.
        Returns the virtual host name.
        Returns:
        The virtual host name