org.apache.hc.core5.http.config

## Class RegistryBuilder<I>

- java.lang.Object
- - org.apache.hc.core5.http.config.RegistryBuilder<I>

-     public final class RegistryBuilder<I>
      extends Object

  Builder for `Registry` instances.
  Since:
    4.3

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Registry<I>` | `build()`
    `static <I> RegistryBuilder<I>` | `create()`
    `RegistryBuilder<I>` | `register(String id, I item)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### create

          public static <I> RegistryBuilder<I> create()

    - #### register

          public RegistryBuilder<I> register(String id,
                                    I item)

    - #### build

          public Registry<I> build()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.