Package org.apache.pekko.http.impl.util
Interface ObjectRegistry<K,V>
- All Known Implementing Classes:
HttpCharsets$,HttpEncodings$,HttpMethods$,HttpProtocols$,MediaRanges$,MediaTypes$,StatusCodes$
public interface ObjectRegistry<K,V>
INTERNAL API
A unsynchronized registry to keep track of singleton instances similar to what
java.lang.Enum provides. registry should therefore only be used inside of singleton constructors.
-
Method Summary
-
Method Details
-
getForKey
-
getForKeyCaseInsensitive
-
register
-