/** * Looks up a predefined HTTP method with the given name. */ public static Option<HttpMethod> lookup(String name) { return Util.<HttpMethod, akka.http.scaladsl.model.HttpMethod>lookupInRegistry(HttpMethods$.MODULE$, name); } }
/** * Returns Some(charset) if the charset with the given name was found and None otherwise. */ public static Optional<HttpCharset> lookup(String name) { return Util.<HttpCharset, akka.http.scaladsl.model.HttpCharset>lookupInRegistry(HttpCharsets$.MODULE$, name); } }
/** * Looks up a predefined HTTP method with the given name. */ public static Optional<HttpMethod> lookup(String name) { return Util.<HttpMethod, akka.http.scaladsl.model.HttpMethod>lookupInRegistry(HttpMethods$.MODULE$, name); } }
/** * Looks up a predefined HTTP method with the given name. */ public static Optional<HttpMethod> lookup(String name) { return Util.<HttpMethod, akka.http.scaladsl.model.HttpMethod>lookupInRegistry(HttpMethods$.MODULE$, name); } }
/** * Looks up a status-code by numeric code and returns Some(code). Returns None otherwise. */ public static Optional<StatusCode> lookup(int intValue) { return Util.<StatusCode, akka.http.scaladsl.model.StatusCode>lookupInRegistry(StatusCodes$.MODULE$, intValue); } }
/** * Returns Some(charset) if the charset with the given name was found and None otherwise. */ public static Optional<HttpCharset> lookup(String name) { return Util.<HttpCharset, akka.http.scaladsl.model.HttpCharset>lookupInRegistry(HttpCharsets$.MODULE$, name); } }
/** * Looks up a status-code by numeric code and returns Some(code). Returns None otherwise. */ public static Optional<StatusCode> lookup(int intValue) { return Util.<StatusCode, akka.http.scaladsl.model.StatusCode>lookupInRegistry(StatusCodes$.MODULE$, intValue); } }
/** * Looks up a predefined HTTP method with the given name. */ public static Optional<HttpMethod> lookup(String name) { return Util.<HttpMethod, akka.http.scaladsl.model.HttpMethod>lookupInRegistry(HttpMethods$.MODULE$, name); } }
/** * Looks up a status-code by numeric code and returns Some(code). Returns None otherwise. */ public static Optional<StatusCode> lookup(int intValue) { return Util.<StatusCode, akka.http.scaladsl.model.StatusCode>lookupInRegistry(StatusCodes$.MODULE$, intValue); } }
/** * Returns Some(charset) if the charset with the given name was found and None otherwise. */ public static Optional<HttpCharset> lookup(String name) { return Util.<HttpCharset, akka.http.scaladsl.model.HttpCharset>lookupInRegistry(HttpCharsets$.MODULE$, name); } }
/** * Returns Some(charset) if the charset with the given name was found and None otherwise. */ public static Option<HttpCharset> lookup(String name) { return Util.<HttpCharset, akka.http.scaladsl.model.HttpCharset>lookupInRegistry(HttpCharsets$.MODULE$, name); } }
/** * Looks up a status-code by numeric code and returns Some(code). Returns None otherwise. */ public static Option<StatusCode> lookup(int intValue) { return Util.<StatusCode, akka.http.scaladsl.model.StatusCode>lookupInRegistry(StatusCodes$.MODULE$, intValue); } }
public static <J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<String, V> registry, String key) { return Util.<String, J, V>lookupInRegistry(registry, key); } public static <K, J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<K, V> registry, K key) {
public static <J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<String, V> registry, String key) { return Util.<String, J, V>lookupInRegistry(registry, key); } public static <K, J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<K, V> registry, K key) {
public static <J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<String, V> registry, String key) { return Util.<String, J, V>lookupInRegistry(registry, key); } public static <K, J, V extends J> Optional<J> lookupInRegistry(ObjectRegistry<K, V> registry, K key) {
public static <J, V extends J> akka.japi.Option<J> lookupInRegistry(ObjectRegistry<String, V> registry, String key) { return Util.<String, J, V>lookupInRegistry(registry, key); } public static <K, J, V extends J> akka.japi.Option<J> lookupInRegistry(ObjectRegistry<K, V> registry, K key) {
/** * Looks up a media-type with the given main-type and sub-type. */ public static Optional<MediaType> lookup(String mainType, String subType) { return Util.<scala.Tuple2<String, String>, MediaType, akka.http.scaladsl.model.MediaType>lookupInRegistry(MediaTypes$.MODULE$, new scala.Tuple2<String, String>(mainType, subType)); } }
/** * Looks up a media-type with the given main-type and sub-type. */ public static Optional<MediaType> lookup(String mainType, String subType) { return Util.<scala.Tuple2<String, String>, MediaType, akka.http.scaladsl.model.MediaType>lookupInRegistry(MediaTypes$.MODULE$, new scala.Tuple2<String, String>(mainType, subType)); } }
/** * Looks up a media-type with the given main-type and sub-type. */ public static Optional<MediaType> lookup(String mainType, String subType) { return Util.<scala.Tuple2<String, String>, MediaType, akka.http.scaladsl.model.MediaType>lookupInRegistry(MediaTypes$.MODULE$, new scala.Tuple2<String, String>(mainType, subType)); } }
/** * Looks up a media-type with the given main-type and sub-type. */ public static Option<MediaType> lookup(String mainType, String subType) { return Util.<scala.Tuple2<String, String>, MediaType, akka.http.scaladsl.model.MediaType>lookupInRegistry(MediaTypes$.MODULE$, new scala.Tuple2<String, String>(mainType, subType)); } }