java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpHost
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ProxyHost

public class HttpHost extends Object implements Cloneable
Holds all of the variables needed to describe an HTTP connection to a host. This includes remote host, port and protocol.
Since:
3.0
  • Constructor Details

    • HttpHost

      public HttpHost(String hostname, int port, Protocol protocol)
      Constructor for HttpHost.
      Parameters:
      hostname - the hostname (IP or DNS name). Can be null.
      port - the port. Value -1 can be used to set default protocol port
      protocol - the protocol. Value null can be used to set default protocol
    • HttpHost

      public HttpHost(String hostname, int port)
      Constructor for HttpHost.
      Parameters:
      hostname - the hostname (IP or DNS name). Can be null.
      port - the port. Value -1 can be used to set default protocol port
    • HttpHost

      public HttpHost(String hostname)
      Constructor for HttpHost.
      Parameters:
      hostname - the hostname (IP or DNS name). Can be null.
    • HttpHost

      public HttpHost(URI uri) throws URIException
      URI constructor for HttpHost.
      Parameters:
      uri - the URI.
      Throws:
      URIException
    • HttpHost

      public HttpHost(HttpHost httphost)
      Copy constructor for HttpHost
      Parameters:
      httphost - the HTTP host to copy details from
  • Method Details