| Package | Description |
|---|---|
| com.squareup.square.http.client | |
| com.squareup.square.http.request |
| Modifier and Type | Method and Description |
|---|---|
Set<HttpMethod> |
ReadonlyHttpClientConfiguration.getHttpMethodsToRetry()
Http methods to retry against.
|
Set<HttpMethod> |
HttpClientConfiguration.getHttpMethodsToRetry()
Http methods to retry against.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.httpMethodsToRetry(Set<HttpMethod> httpMethodsToRetry)
Http methods to retry against.
|
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
HttpRequest.getHttpMethod()
HttpMethod for the http request.
|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
HttpBodyRequest(HttpMethod method,
StringBuilder queryUrlBuilder,
Headers headers,
Map<String,Object> queryParams,
Object body)
Create a request with explicit body.
|
HttpRequest(HttpMethod method,
StringBuilder queryUrlBuilder,
Headers headers,
Map<String,Object> queryParameters,
List<AbstractMap.SimpleEntry<String,Object>> parameters)
Initializes a simple http request.
|
Copyright © 2022. All rights reserved.