Class HttpProxyHandler.HttpProxyConnectException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
java.net.ConnectException
io.netty.handler.proxy.ProxyConnectException
io.netty.handler.proxy.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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final HttpHeaders
     
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpProxyConnectException(java.lang.String message, HttpHeaders headers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
  • Field Details

  • Constructor Details

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

    • headers

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