| Modifier and Type | Class and Description |
|---|---|
static class |
HttpRequest.Builder
Builder to build
HttpRequest. |
| Modifier and Type | Method and Description |
|---|---|
static HttpRequest.Builder |
builder()
Creates builder to build
HttpRequest. |
static HttpRequest.Builder |
builderFrom(HttpRequest httpRequest)
Creates a builder to build
HttpRequest and initialize it with the given object. |
Optional<AsyncContentProvider> |
getBody()
Optional body of the http request.
|
Collection<HttpCookie> |
getCookies()
Cookies that are sent with the HTTP request.
|
Map<String,String> |
getHeaders()
Headers that are sent with the HTTP request.
|
HttpMethod |
getMethod()
Method of the HTTP request.
|
String |
getUrl()
URL with query params of the HTTP request.
|
@Generated(value="SparkTools") public static HttpRequest.Builder builder()
HttpRequest.@Generated(value="SparkTools") public static HttpRequest.Builder builderFrom(HttpRequest httpRequest)
HttpRequest and initialize it with the given object.httpRequest - to initialize the builder withpublic Optional<AsyncContentProvider> getBody()
public Collection<HttpCookie> getCookies()
public HttpMethod getMethod()
public String getUrl()
Copyright © 2011–2019 Everit Kft.. All rights reserved.