Class HTTPClient.Builder

  • Enclosing class:
    HTTPClient

    public static class HTTPClient.Builder
    extends java.lang.Object
    • Method Detail

      • 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)