Class HttpProxyHandler.HttpProxyConnectException

All Implemented Interfaces:
Serializable
Enclosing class:
HttpProxyHandler

public static final class HttpProxyHandler.HttpProxyConnectException extends ProxyConnectException
Specific case of a connection failure, which may include headers from the proxy.
See Also:
  • Field Details

  • Constructor Details

    • HttpProxyConnectException

      public HttpProxyConnectException(String message, HttpHeaders headers)
      Parameters:
      message - The failure message.
      headers - Header associated with the connection failure. May be null.
  • Method Details

    • headers

      public HttpHeaders headers()
      Returns headers, if any. May be null.