| Modifier and Type | Method and Description |
|---|---|
RestRequest.Builder |
RestRequest.Builder.basePath(String basePath)
The base path of the request with probably the protocol, hostname and optionally the port.
|
static RestRequest.Builder |
RestRequest.builder()
Creates builder to build
RestRequest. |
static RestRequest.Builder |
RestRequest.builderFrom(RestRequest restRequest)
Creates a builder to build
RestRequest and initialize it with the given object. |
RestRequest.Builder |
RestRequest.Builder.headers(Map<String,String> headers)
The headers of the rest request.
|
RestRequest.Builder |
RestRequest.Builder.method(org.everit.http.client.HttpMethod method)
Method of the rest request.
|
RestRequest.Builder |
RestRequest.Builder.path(String path)
Path of the rest request.
|
RestRequest.Builder |
RestRequest.Builder.pathParams(Map<String,String> pathParams)
Path parameters that will be injected within
path(String). |
RestRequest.Builder |
RestRequest.Builder.queryParams(Map<String,Collection<String>> queryParams)
Query parameters that will be appended after the path.
|
RestRequest.Builder |
RestRequest.Builder.requestBody(Optional<?> requestBody)
Optional body of the request.
|
Copyright © 2011–2019 Everit Kft.. All rights reserved.