Class Unmarshaller$
java.lang.Object
org.apache.pekko.http.javadsl.unmarshalling.Unmarshaller$
- All Implemented Interfaces:
- Unmarshallers
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Unmarshaller$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<A,B> Unmarshaller<A, B> async(Function<A, CompletionStage<B>> f) Creates an unmarshaller from an asynchronous Java function.Unmarshaller<HttpEntity,byte[]> Unmarshaller<HttpEntity,org.apache.pekko.util.ByteString> Unmarshaller<HttpEntity,char[]> <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) <B> Unmarshaller<HttpEntity,B> forMediaType(MediaType t, Unmarshaller<HttpEntity, B> um) <B> Unmarshaller<HttpEntity,B> forMediaTypes(Iterable<MediaType> types, Unmarshaller<HttpEntity, B> um) <A,B> Unmarshaller<A, B> fromScala(Unmarshaller<A, B> scalaUnmarshaller) <A,B> Unmarshaller<A, B> Creates an unmarshaller from a Java function.
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
Unmarshaller$public Unmarshaller$()
 
- 
- 
Method Details- 
fromScala
- 
asyncCreates an unmarshaller from an asynchronous Java function.- Specified by:
- asyncin interface- Unmarshallers
- Parameters:
- f- (undocumented)
- Returns:
- (undocumented)
 
- 
syncCreates an unmarshaller from a Java function.- Specified by:
- syncin interface- Unmarshallers
- Parameters:
- f- (undocumented)
- Returns:
- (undocumented)
 
- 
entityToByteString
- 
entityToByteArray
- 
entityToCharArray
- 
entityToString
- 
entityToWwwUrlEncodedFormData
- 
entityToMultipartByteRangesUnmarshaller
- 
entityToMultipartFormData
- 
requestToEntity
- 
forMediaType
- 
forMediaTypespublic <B> Unmarshaller<HttpEntity,B> forMediaTypes(Iterable<MediaType> types, Unmarshaller<HttpEntity, B> um) 
- 
firstOf- Specified by:
- firstOfin interface- Unmarshallers
 
- 
firstOfpublic <A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A, B> u1, Unmarshaller<A, B> u2, Unmarshaller<A, B> u3) - Specified by:
- firstOfin interface- Unmarshallers
 
- 
firstOfpublic <A,B> Unmarshaller<A,B> firstOf(Unmarshaller<A, B> u1, Unmarshaller<A, B> u2, Unmarshaller<A, B> u3, Unmarshaller<A, B> u4) - Specified by:
- firstOfin interface- Unmarshallers
 
- 
firstOfpublic <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) - Specified by:
- firstOfin interface- Unmarshallers
 
 
-