Package io.servicetalk.http.api
Class ProxyConnectResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.servicetalk.http.api.ProxyConnectException
io.servicetalk.http.api.ProxyConnectResponseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProxyResponseException
A subclass of
ProxyConnectException
that indicates an unexpected response status from a proxy received for
HTTP/1.1 CONNECT request.-
Constructor Summary
ConstructorDescriptionProxyConnectResponseException
(String message, HttpResponseMetaData response) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionresponse()
ReturnsHttpResponseMetaData
that was received in response to HTTP/1.1 CONNECT request.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProxyConnectResponseException
Creates a new instance.- Parameters:
message
- the detail messageresponse
-HttpResponseMetaData
of the received response
-
-
Method Details
-
response
ReturnsHttpResponseMetaData
that was received in response to HTTP/1.1 CONNECT request.- Returns:
HttpResponseMetaData
that was received
-