Package | Description |
---|---|
io.sphere.sdk.client |
Provides types to connect to the API via HTTPS.
|
io.sphere.sdk.http |
Provides types to deal with HTTP.
|
io.sphere.sdk.models |
Provides the common API types of Composable Commerce.
|
io.sphere.sdk.utils |
Provides utilities for miscellaneous things.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestIntent.toHttpRequest(String baseUrl) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpResponse.getAssociatedRequest() |
static HttpRequest |
HttpRequest.of(HttpMethod httpMethod,
String url) |
static HttpRequest |
HttpRequest.of(HttpMethod httpMethod,
String url,
HttpHeaders headers,
HttpRequestBody body) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<HttpResponse> |
HttpClient.execute(HttpRequest httpRequest) |
CompletionStage<HttpResponse> |
HttpClientAdapterBase.execute(HttpRequest httpRequest) |
protected abstract CompletionStage<HttpResponse> |
HttpClientAdapterBase.executeDelegate(HttpRequest httpRequest) |
static HttpResponse |
HttpResponse.of(Integer status,
byte[] body,
HttpRequest associatedRequest) |
static HttpResponse |
HttpResponse.of(Integer status,
byte[] body,
HttpRequest associatedRequest,
HttpHeaders headers) |
static HttpResponse |
HttpResponse.of(Integer status,
String responseBody,
HttpRequest associatedRequest) |
static HttpResponse |
HttpResponse.of(Integer status,
String responseBody,
HttpRequest associatedRequest,
HttpHeaders headers) |
Modifier and Type | Method and Description |
---|---|
void |
SphereException.setHttpRequest(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
static SphereInternalLogger |
SphereInternalLogger.getLogger(HttpRequest httpRequest) |