public static class HTTPClient.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
HTTPClient |
build() |
HTTPClient.Builder |
uri(java.lang.String path) |
HTTPClient.Builder |
withHeader(java.lang.String key,
java.lang.String value) |
HTTPClient.Builder |
withHeaders(java.util.Map<java.lang.String,java.lang.String> headers) |
HTTPClient.Builder |
withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public HTTPClient.Builder uri(java.lang.String path)
public HTTPClient.Builder withHeader(java.lang.String key, java.lang.String value)
public HTTPClient.Builder withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
public HTTPClient.Builder withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public HTTPClient build()