Class TunnelRefusedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hc.core5.http.HttpException
org.apache.hc.client5.http.impl.TunnelRefusedException
- All Implemented Interfaces:
Serializable
Deprecated.
Do not use/
Signals that the tunnel request was rejected by the proxy host.
- Since:
- 4.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hc.core5.http.HttpResponseDeprecated.private static final longDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionTunnelRefusedException(String message, String responseMessage) Deprecated.Do not use.TunnelRefusedException(org.apache.hc.core5.http.HttpResponse response) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.http.HttpResponseDeprecated.Deprecated.UsegetResponse().Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
response
private final org.apache.hc.core5.http.HttpResponse responseDeprecated.
-
-
Constructor Details
-
TunnelRefusedException
Deprecated.Do not use. -
TunnelRefusedException
@Internal public TunnelRefusedException(org.apache.hc.core5.http.HttpResponse response) Deprecated.
-
-
Method Details
-
getResponseMessage
Deprecated.UsegetResponse(). -
getResponse
public org.apache.hc.core5.http.HttpResponse getResponse()Deprecated.- Since:
- 5.4
-