Package akka.http.javadsl.unmarshalling
Interface Unmarshallers
-
- All Known Implementing Classes:
Unmarshaller$
public interface Unmarshallers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A,B>
Unmarshaller<A,B>async(java.util.function.Function<A,java.util.concurrent.CompletionStage<B>> f)
Creates an unmarshaller from an asynchronous Java function.<A,B>
Unmarshaller<A,B>firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2)
<A,B>
Unmarshaller<A,B>firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3)
<A,B>
Unmarshaller<A,B>firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3, Unmarshaller<A,B> u4)
<A,B>
Unmarshaller<A,B>firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3, Unmarshaller<A,B> u4, Unmarshaller<A,B> u5)
<A,B>
Unmarshaller<A,B>sync(java.util.function.Function<A,B> f)
Creates an unmarshaller from a Java function.
-
-
-
Method Detail
-
async
<A,B> Unmarshaller<A,B> async(java.util.function.Function<A,java.util.concurrent.CompletionStage<B>> f)
Creates an unmarshaller from an asynchronous Java function.
-
sync
<A,B> Unmarshaller<A,B> sync(java.util.function.Function<A,B> f)
Creates an unmarshaller from a Java function.
-
firstOf
<A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2)
-
firstOf
<A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3)
-
firstOf
<A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3, Unmarshaller<A,B> u4)
-
firstOf
<A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A,B> u1, Unmarshaller<A,B> u2, Unmarshaller<A,B> u3, Unmarshaller<A,B> u4, Unmarshaller<A,B> u5)
-
-