Top Description Fields Constructors Methods
org.apache.http.config

public final Class Registry<I>

extends Object
implements Lookup<I>
Class Inheritance
All Implemented Interfaces
org.apache.http.config.Lookup
Annotations
@Contract
threading:SAFE
Imports
org.apache.http.annotation.ThreadingBehavior, .Contract, java.util.Locale, .Map, java.util.concurrent.ConcurrentHashMap

Generic registry of items keyed by low-case string ID.
Since
4.3

Field Summary

Modifier and TypeField and Description
private final Map<String, I>

Constructor Summary

AccessConstructor and Description
pack-priv
Registry(final Map<String, I> map)

Method Summary

Modifier and TypeMethod and Description
public I
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

mapback to summary
private final Map<String, I> map

Constructor Detail

Registryback to summary
pack-priv Registry(final Map<String, I> map)

Method Detail

lookupback to summary
public I lookup(final String key)

Implements org.apache.http.config.Lookup.lookup.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override