public interface HttpRequestResult
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Throwable> |
getException() |
io.sphere.sdk.http.HttpRequest |
getRequest() |
java.util.Optional<io.sphere.sdk.http.HttpResponse> |
getResponse() |
static HttpRequestResult |
of(io.sphere.sdk.http.HttpRequest request,
io.sphere.sdk.http.HttpResponse response,
java.lang.Throwable throwable) |
static HttpRequestResult of(@Nonnull io.sphere.sdk.http.HttpRequest request, @Nullable io.sphere.sdk.http.HttpResponse response, @Nullable java.lang.Throwable throwable)
@Nonnull io.sphere.sdk.http.HttpRequest getRequest()
java.util.Optional<io.sphere.sdk.http.HttpResponse> getResponse()
java.util.Optional<java.lang.Throwable> getException()