Package io.netty.handler.proxy
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpProxyConnectException(java.lang.String message, HttpHeaders headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeaders
headers()
Returns headers, if any.
-
-
-
Constructor Detail
-
HttpProxyConnectException
public HttpProxyConnectException(java.lang.String message, HttpHeaders headers)
- Parameters:
message
- The failure message.headers
- Header associated with the connection failure. May benull
.
-
-
Method Detail
-
headers
public HttpHeaders headers()
Returns headers, if any. May benull
.
-
-