public class Unmarshaller$ extends java.lang.Object implements GenericUnmarshallers, PredefinedFromEntityUnmarshallers, PredefinedFromStringUnmarshallers
Modifier and Type | Field and Description |
---|---|
static Unmarshaller$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Unmarshaller$() |
Modifier and Type | Method and Description |
---|---|
<A,B> Unmarshaller<A,B> |
apply(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<A,scala.concurrent.Future<B>>> f)
Creates an
Unmarshaller from the given function. |
HttpCharset |
bestUnmarshallingCharsetFor(HttpEntity entity)
Returns the best charset for unmarshalling the given entity to a character-based representation.
|
Unmarshaller<java.lang.String,java.lang.Object> |
booleanFromStringUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
byteFromStringUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
doubleFromStringUnmarshaller() |
<A,B> Unmarshaller<A,B> |
firstOf(scala.collection.immutable.Seq<Unmarshaller<A,B>> unmarshallers)
Helper for creating a "super-unmarshaller" from a sequence of "sub-unmarshallers", which are tried
in the given order.
|
Unmarshaller<java.lang.String,java.lang.Object> |
floatFromStringUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
HexByte() |
Unmarshaller<java.lang.String,java.lang.Object> |
HexInt() |
Unmarshaller<java.lang.String,java.lang.Object> |
HexLong() |
Unmarshaller<java.lang.String,java.lang.Object> |
HexShort() |
<T> Unmarshaller<T,T> |
identityUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
intFromStringUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
longFromStringUnmarshaller() |
Unmarshaller<java.lang.String,java.lang.Object> |
shortFromStringUnmarshaller() |
<A,B> Unmarshaller<A,B> |
strict(scala.Function1<A,B> f)
Helper for creating a synchronous
Unmarshaller from the given function. |
Unmarshaller<java.lang.String,java.util.UUID> |
uuidFromStringUnmarshaller() |
<A,B> Unmarshaller<A,B> |
withMaterializer(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<A,scala.concurrent.Future<B>>>> f) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
liftToTargetOptionUnmarshaller, targetOptionUnmarshaller
eitherUnmarshaller, liftToSourceOptionUnmarshaller, messageUnmarshallerFromEntityUnmarshaller, sourceOptionUnmarshaller
byteArrayUnmarshaller, byteStringUnmarshaller, charArrayUnmarshaller, defaultUrlEncodedFormDataUnmarshaller, stringUnmarshaller, urlEncodedFormDataUnmarshaller
defaultMultipartByteRangesUnmarshaller, defaultMultipartGeneralUnmarshaller, multipartByteRangesUnmarshaller, multipartFormDataUnmarshaller, multipartGeneralUnmarshaller, multipartUnmarshaller
_fromStringUnmarshallerFromByteStringUnmarshaller, CsvSeq, numberFormatError, numberUnmarshaller
public static final Unmarshaller$ MODULE$
public Unmarshaller<java.lang.String,java.lang.Object> byteFromStringUnmarshaller()
byteFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> shortFromStringUnmarshaller()
shortFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> intFromStringUnmarshaller()
intFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> longFromStringUnmarshaller()
longFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> floatFromStringUnmarshaller()
floatFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> doubleFromStringUnmarshaller()
doubleFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> booleanFromStringUnmarshaller()
booleanFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.util.UUID> uuidFromStringUnmarshaller()
uuidFromStringUnmarshaller
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> HexByte()
HexByte
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> HexShort()
HexShort
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> HexInt()
HexInt
in interface PredefinedFromStringUnmarshallers
public Unmarshaller<java.lang.String,java.lang.Object> HexLong()
HexLong
in interface PredefinedFromStringUnmarshallers
public <A,B> Unmarshaller<A,B> apply(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<A,scala.concurrent.Future<B>>> f)
Unmarshaller
from the given function.f
- (undocumented)public <A,B> Unmarshaller<A,B> withMaterializer(scala.Function1<scala.concurrent.ExecutionContext,scala.Function1<org.apache.pekko.stream.Materializer,scala.Function1<A,scala.concurrent.Future<B>>>> f)
public <A,B> Unmarshaller<A,B> strict(scala.Function1<A,B> f)
Unmarshaller
from the given function.f
- (undocumented)public <A,B> Unmarshaller<A,B> firstOf(scala.collection.immutable.Seq<Unmarshaller<A,B>> unmarshallers)
unmarshallers
- (undocumented)public <T> Unmarshaller<T,T> identityUnmarshaller()
public HttpCharset bestUnmarshallingCharsetFor(HttpEntity entity)
entity
- (undocumented)