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

public final Class Registry<I>

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

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.hc.core5.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