Package akka.http.impl.util
Interface ObjectRegistry<K,V>
-
- All Known Implementing Classes:
HttpCharsets$,HttpEncodings$,HttpMethods$,HttpProtocols$,MediaRanges$,MediaTypes$,StatusCodes$
public interface ObjectRegistry<K,V>INTERNAL APIA unsynchronized registry to keep track of singleton instances similar to what java.lang.Enum provides.
registryshould therefore only be used inside of singleton constructors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.Option<V>getForKey(K key)scala.Option<V>getForKeyCaseInsensitive(java.lang.String key, scala.$less$colon$less<java.lang.String,K> conv)java.lang.Objectregister(K key, V obj)
-