Interface Proxy


  • public interface Proxy
    Configuration data for an HTTP proxy to utilize for outbound requests using HttpClient.
    Since:
    1.8.0
    • Method Detail

      • getHost

        String getHost()
        The host that proxied requests will be sent.
        Returns:
        The host that proxied requests will be sent.
      • getPort

        int getPort()
        The port on the proxy where proxied requests will be sent.
        Returns:
        The port on the proxy where proxied requests will be sent.
      • getNonProxyHosts

        Collection<String> getNonProxyHosts()
        A collection of patterns which if any or matched, the outgoing request will bypass the HTTP proxy.

        The format of the values in this list follow the standard Java Networking and Proxies standards.

        Returns:
        A collection of patterns which if any or matched, the outgoing request will bypass the HTTP proxy.