public interface Unmarshaller<A,B>
Modifier and Type | Interface and Description |
---|---|
static class |
Unmarshaller.EitherUnmarshallingException
Order of parameters (`right` first, `left` second) is intentional, since that's the order we evaluate them in.
|
static class |
Unmarshaller.EitherUnmarshallingException$ |
static class |
Unmarshaller.EnhancedFromEntityUnmarshaller<A> |
static class |
Unmarshaller.EnhancedFromEntityUnmarshaller$ |
static class |
Unmarshaller.EnhancedUnmarshaller<A,B> |
static class |
Unmarshaller.EnhancedUnmarshaller$ |
static class |
Unmarshaller.NoContentException$
Signals that unmarshalling failed because the entity was unexpectedly empty.
|
static class |
Unmarshaller.UnsupportedContentTypeException
Signals that unmarshalling failed because the entity content-type did not match one of the supported ranges.
|
static class |
Unmarshaller.UnsupportedContentTypeException$ |
Modifier and Type | Method and Description |
---|---|
<C> Unmarshaller<A,C> |
andThen(Unmarshaller<B,C> other) |
scala.concurrent.Future<B> |
apply(A value,
scala.concurrent.ExecutionContext ec,
org.apache.pekko.stream.Materializer materializer) |
Unmarshaller<A,B> |
asScala() |
<C> Unmarshaller<A,C> |
flatMap(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<B,scala.concurrent.Future<C>>>> f) |
<C> Unmarshaller<A,C> |
map(scala.Function1<B,C> f) |
<C> Unmarshaller<A,C> |
recover(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.PartialFunction<java.lang.Throwable,C>>> pf) |
<C> Unmarshaller<A,C> |
transform(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<scala.concurrent.Future<B>,scala.concurrent.Future<C>>>> f) |
<BB> Unmarshaller<A,BB> |
withDefaultValue(BB defaultValue) |
Unmarshaller<A,B> asScala()
scala.concurrent.Future<B> apply(A value, scala.concurrent.ExecutionContext ec, org.apache.pekko.stream.Materializer materializer)
<C> Unmarshaller<A,C> transform(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<scala.concurrent.Future<B>,scala.concurrent.Future<C>>>> f)
<C> Unmarshaller<A,C> map(scala.Function1<B,C> f)
<C> Unmarshaller<A,C> flatMap(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<B,scala.concurrent.Future<C>>>> f)
<C> Unmarshaller<A,C> andThen(Unmarshaller<B,C> other)
<C> Unmarshaller<A,C> recover(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.PartialFunction<java.lang.Throwable,C>>> pf)
<BB> Unmarshaller<A,BB> withDefaultValue(BB defaultValue)