Class HttpProxyHandler.HttpProxyConnectException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpHeaders headers()
      Returns headers, if any.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpProxyConnectException

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

      • headers

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