ProxyConfig

HTTP proxy configuration for Apache HttpComponents client

ApacheHTTP ClientJavaOpen SourceSDK

Properties

Name Type Description
host string Proxy hostname
port integer Proxy port
scheme string Proxy scheme (http or https)
username string Proxy authentication username
password string Proxy authentication password
View JSON Schema on GitHub

JSON Schema

http-client-proxyconfig-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/apache-http/json-schema/http-client-proxyconfig-schema.json",
  "title": "ProxyConfig",
  "type": "object",
  "description": "HTTP proxy configuration for Apache HttpComponents client",
  "properties": {
    "host": {
      "type": "string",
      "description": "Proxy hostname",
      "example": "proxy.example.com"
    },
    "port": {
      "type": "integer",
      "description": "Proxy port",
      "example": 8080
    },
    "scheme": {
      "type": "string",
      "description": "Proxy scheme (http or https)",
      "example": "http"
    },
    "username": {
      "type": "string",
      "description": "Proxy authentication username",
      "example": "proxyuser"
    },
    "password": {
      "type": "string",
      "description": "Proxy authentication password",
      "example": ""
    }
  }
}