Package akka.http.scaladsl.server.util
Interface ClassMagnet<T>
public interface ClassMagnet<T>
A magnet that wraps a ClassTag
-
Method Summary
-
Method Details
-
classTag
scala.reflect.ClassTag<T> classTag() -
runtimeClass
-
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)
-