Class HttpHostFactory
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.contrib.ssl.HttpHostFactory
A source of HttpHosts.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HttpHostFactory
The default factory.protected final Protocol
protected final Protocol
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost
(HostConfiguration old, String scheme, String host, int port) Get a host for the given parameters.protected Protocol
getProtocol
(HostConfiguration old, String scheme, String host, int port) Get a Protocol for the given parameters.
-
Field Details
-
DEFAULT
The default factory. -
httpProtocol
-
httpsProtocol
-
-
Constructor Details
-
HttpHostFactory
-
-
Method Details
-
getHost
Get a host for the given parameters. This method need not be thread-safe. -
getProtocol
Get a Protocol for the given parameters. The default implementation selects a protocol based only on the scheme. Subclasses can do fancier things, such as select SSL parameters based on the host or port. This method must not return null.
-