java.lang.Object | |
↳ | org.apache.http.conn.scheme.SchemeRegistry |
A set of supported protocol schemes
.
Schemes are identified by lowercase names.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new, empty scheme registry.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains a scheme by name, if registered.
| |||||||||||
Obtains a scheme by name.
| |||||||||||
Obtains the scheme for a host.
| |||||||||||
Obtains the names of the registered schemes in their default order.
| |||||||||||
Registers a scheme.
| |||||||||||
Populates the internal collection of registered
protocol schemes
with the content of the map passed as a parameter.
| |||||||||||
Unregisters a scheme.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Obtains a scheme by name, if registered.
name | the name of the scheme to look up (in lowercase) |
---|
null
if there is none by this name
Obtains a scheme by name.
name | the name of the scheme to look up (in lowercase) |
---|
null
IllegalStateException | if the scheme with the given name is not registered |
---|
Obtains the scheme for a host.
Convenience method for getScheme(host.getSchemeName())
host | the host for which to obtain the scheme |
---|
null
IllegalStateException | if a scheme with the respective name is not registered |
---|
Obtains the names of the registered schemes in their default order.
Populates the internal collection of registered protocol schemes
with the content of the map passed as a parameter.
map | protocol schemes |
---|
Unregisters a scheme.
name | the name of the scheme to unregister (in lowercase) |
---|
null
if there was none