Package org.apache.iceberg.rest
Class HTTPClient.Builder
- java.lang.Object
-
- org.apache.iceberg.rest.HTTPClient.Builder
-
- Enclosing class:
- HTTPClient
public static class HTTPClient.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
HTTPClient.Builder
withProxy(java.lang.String hostname, int port)
HTTPClient.Builder
withProxyCredentialsProvider(org.apache.hc.client5.http.auth.CredentialsProvider credentialsProvider)
-
-
-
Method Detail
-
uri
public HTTPClient.Builder uri(java.lang.String path)
-
withProxy
public HTTPClient.Builder withProxy(java.lang.String hostname, int port)
-
withProxyCredentialsProvider
public HTTPClient.Builder withProxyCredentialsProvider(org.apache.hc.client5.http.auth.CredentialsProvider credentialsProvider)
-
withHeader
public HTTPClient.Builder withHeader(java.lang.String key, java.lang.String value)
-
withHeaders
public HTTPClient.Builder withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
-
withObjectMapper
public HTTPClient.Builder withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
build
public HTTPClient build()
-
-