Package org.apache.hc.core5.http.config
Class RegistryBuilder<I>
java.lang.Object
org.apache.hc.core5.http.config.RegistryBuilder<I>
- Type Parameters:
I- the type of Registry values.
Builder for
Registry instances.- Since:
- 4.3
-
Method Summary
-
Method Details
-
create
Creates a new RegistryBuilder.- Type Parameters:
I- the type of Registry values.- Returns:
- a new RegistryBuilder.
-
register
Registers the given item for the given ID.- Parameters:
id- The ID key, converted to lower-case.item- The item to register.- Returns:
- this instance.
-
build
Creates a new Registry with the registered items.- Returns:
- a new Registry with the registered items.
-
toString
-