Package akka.http.javadsl.unmarshalling
Class StringUnmarshaller
java.lang.Object
akka.http.javadsl.unmarshalling.StringUnmarshaller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <B> Unmarshaller<String,
B> async
(Function<String, CompletionStage<B>> f) Turns the given asynchronous function into an unmarshaller from String to B.static <B> Unmarshaller<String,
B> Turns the given function into an unmarshaller from String to B.
-
Constructor Details
-
StringUnmarshaller
public StringUnmarshaller()
-
-
Method Details
-
async
Turns the given asynchronous function into an unmarshaller from String to B.- Parameters:
f
- (undocumented)- Returns:
- (undocumented)
-
sync
Turns the given function into an unmarshaller from String to B.- Parameters:
f
- (undocumented)- Returns:
- (undocumented)
-