Interface HeaderMagnet<T>
-
public interface HeaderMagnet<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.reflect.ClassTag<T>
classTag()
scala.PartialFunction<HttpHeader,T>
extractPF()
Returns a partial function that checks if the input value is of runtime type T and returns the value if it does.java.lang.String
headerName()
java.lang.Class<T>
runtimeClass()
-
-
-
Method Detail
-
classTag
scala.reflect.ClassTag<T> classTag()
-
runtimeClass
java.lang.Class<T> runtimeClass()
-
headerName
java.lang.String headerName()
-
extractPF
scala.PartialFunction<HttpHeader,T> extractPF()
Returns a partial function that checks if the input value is of runtime type T and returns the value if it does. Doesn't take erased information into account.- Returns:
- (undocumented)
-
-