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.
|
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
HttpRequestIntent.getHeaders() |
Modifier and Type | Method and Description |
---|---|
static HttpRequestIntent |
HttpRequestIntent.of(HttpMethod httpMethod,
String path,
HttpHeaders headers,
HttpRequestBody body) |
HttpRequestIntent |
HttpRequestIntent.withHeaders(HttpHeaders headers) |
Modifier and Type | Method and Description |
---|---|
static HttpHeaders |
HttpHeaders.empty() |
HttpHeaders |
HttpResponse.getHeaders() |
HttpHeaders |
HttpRequest.getHeaders() |
static HttpHeaders |
HttpHeaders.of() |
static HttpHeaders |
HttpHeaders.of(List<NameValuePair> headers) |
static HttpHeaders |
HttpHeaders.of(Map<String,List<String>> headers) |
static HttpHeaders |
HttpHeaders.of(String key,
String value) |
static HttpHeaders |
HttpHeaders.ofMapEntryList(List<Map.Entry<String,String>> entries) |
HttpHeaders |
HttpHeaders.plus(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
static HttpRequest |
HttpRequest.of(HttpMethod httpMethod,
String url,
HttpHeaders headers,
HttpRequestBody body) |
static HttpResponse |
HttpResponse.of(Integer status,
byte[] body,
HttpRequest associatedRequest,
HttpHeaders headers) |
static HttpResponse |
HttpResponse.of(Integer status,
HttpHeaders headers) |
static HttpResponse |
HttpResponse.of(Integer status,
String responseBody,
HttpHeaders headers) |
static HttpResponse |
HttpResponse.of(Integer status,
String responseBody,
HttpRequest associatedRequest,
HttpHeaders headers) |