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
ConstructorsConstructorDescriptionProxyConnectResponseException(String message, HttpResponseMetaData response) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionresponse()ReturnsHttpResponseMetaDatathat 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-HttpResponseMetaDataof the received response
-
-
Method Details
-
response
ReturnsHttpResponseMetaDatathat was received in response to HTTP/1.1 CONNECT request.- Returns:
HttpResponseMetaDatathat was received
-