Package org.apache.http.impl.execchain
Class TunnelRefusedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.http.HttpException
-
- org.apache.http.impl.execchain.TunnelRefusedException
-
- All Implemented Interfaces:
Serializable
public class TunnelRefusedException extends HttpException
Signals that the tunnel request was rejected by the proxy host.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TunnelRefusedException(String message, HttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
getResponse()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TunnelRefusedException
public TunnelRefusedException(String message, HttpResponse response)
-
-
Method Detail
-
getResponse
public HttpResponse getResponse()
-
-