Deprecated
(4.3) use org.
Schemes.
Schemes are identified by lowercase names.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentHashMap | registeredSchemes
The available schemes in this registry. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Scheme | |
| public Scheme | |
| public Scheme | |
| public List | Returns: List containing registered scheme names.Obtains the names of the registered schemes. |
| public Scheme | |
| public void | setItems(final Map<String, Scheme>
protocol schemes map)Populates the internal collection of registered |
| public Scheme | Returns: the unregistered scheme, ornull if there was nonethe name of the scheme to unregister (in lowercase) name)
Deprecated
as a consequence of
Unregisters a scheme.
Scheme being deprecated.
|
| registeredSchemes | back to summary |
|---|---|
| private final ConcurrentHashMap<String, Scheme> registeredSchemes The available schemes in this registry. | |
| SchemeRegistry | back to summary |
|---|---|
| public SchemeRegistry() Creates a new, empty scheme registry. | |
| get | back to summary |
|---|---|
| public Scheme get(final String name)
Deprecated as a consequence of Obtains a scheme by name, if registered. | |
| getScheme | back to summary |
|---|---|
| public Scheme getScheme(final String name)
Deprecated as a consequence of Obtains a scheme by name.
| |
| getScheme | back to summary |
|---|---|
| public Scheme getScheme(final HttpHost host)
Deprecated as a consequence of Obtains the scheme for a host.
Convenience method for
| |
| getSchemeNames | back to summary |
|---|---|
| public List Obtains the names of the registered schemes. | |
| register | back to summary |
|---|---|
| public Scheme register(final Scheme sch)
Deprecated as a consequence of Registers a scheme.
The scheme can later be retrieved by its name
using | |
| setItems | back to summary |
|---|---|
| public void setItems(final Map<String, Scheme> map) Populates the internal collection of registered | |
| unregister | back to summary |
|---|---|
| public Scheme unregister(final String name)
Deprecated as a consequence of Unregisters a scheme. | |