Package org.apache.pekko.http.javadsl
Class HttpResponseResult$
java.lang.Object
org.apache.pekko.http.javadsl.HttpResponseResult$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpResponseResult$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a failed result holding the given failure.fromTry(scala.util.Try<HttpResponse> result) INTERNAL APIsuccess(HttpResponse response) Creates a successful result holding the given response.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
HttpResponseResult$
public HttpResponseResult$()
-
-
Method Details
-
success
Creates a successful result holding the given response. -
failure
Creates a failed result holding the given failure. -
fromTry
INTERNAL API
-