org.apache.hc.core5.http.config

## Class Registry<I>

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

- Type Parameters:
    `I` - the type of values to lookup.
  All Implemented Interfaces:
    Lookup<I>

      @Contract(threading=SAFE)
      public final class Registry<I>
      extends Object
      implements Lookup<I>

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

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `I` | `lookup(String key)` Looks up a value using a lower-case string ID.
    `String` | `toString()`

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

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

- - ### Method Detail

    - #### lookup

          public I lookup(String key)

      Description copied from interface: `Lookup`
      Looks up a value using a lower-case string ID.
      Specified by:
        `lookup` in interface `Lookup<I>`
      Parameters:
        `key` - The lookup name.
      Returns:
        The matching value.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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