Class Unmarshal<A>


  • public class Unmarshal<A>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Unmarshal​(A value)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> Unmarshal<T> apply​(T value)  
      <B> scala.concurrent.Future<B> to​(Unmarshaller<A,​B> um, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
      Unmarshals the value to the given Type using the in-scope Unmarshaller.
      A value()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Unmarshal

        public Unmarshal​(A value)
    • Method Detail

      • apply

        public static <T> Unmarshal<T> apply​(T value)
      • value

        public A value()
      • to

        public <B> scala.concurrent.Future<B> to​(Unmarshaller<A,​B> um,
                                                 scala.concurrent.ExecutionContext ec,
                                                 akka.stream.Materializer mat)
        Unmarshals the value to the given Type using the in-scope Unmarshaller.

        Uses the default materializer ExecutionContext if no implicit execution context is provided. If you expect the marshalling to be heavy, it is suggested to provide a specialized context for those operations.

        Parameters:
        um - (undocumented)
        ec - (undocumented)
        mat - (undocumented)
        Returns:
        (undocumented)