Uses of Interface
org.eclipse.jetty.client.Response
Package
Description
Jetty Proxy : Async Proxy Support
Jetty WebSocket API :: Client
-
Uses of Response in org.eclipse.jetty.client
Modifier and TypeInterfaceDescriptioninterface
A specializedResponse
that can hold a limited content in memory.Modifier and TypeMethodDescriptionWaits for the given timeout for the response to be available, then returns it.HttpResponseException.getResponse()
Result.getResponse()
Get the response object.PathResponseListener.PathResponse.response()
Returns the value of theresponse
record component.Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
Inspects the givenrequest
andresponse
to detect whether this protocol handler should handle them.boolean
boolean
boolean
boolean
protected boolean
UpgradeProtocolHandler.acceptHeaders
(Request request, Response response) default void
ContentDecoder.afterDecoding
(Response response) Processes the exchange after the response content has been decoded.void
GZIPContentDecoder.afterDecoding
(Response response) default void
ContentDecoder.beforeDecoding
(Response response) Processes the response just before the decoding of the response content.void
GZIPContentDecoder.beforeDecoding
(Response response) HttpRedirector.extractRedirectURI
(Response response) Extracts and sanitizes (by making it absolute and escaping paths and query parameters) the redirect URI of the givenresponse
.protected void
protected void
Finds the first protocol handler thataccepts
the given request and response.HttpClient.findProtocolHandler
(Request request, Response response) static ContentResponse
boolean
HttpRedirector.isRedirect
(Response response) void
Callback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.default void
void
BufferingResponseListener.onContent
(Response response, ByteBuffer content) void
InputStreamResponseListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) void
PathResponseListener.onContent
(Response response, ByteBuffer content) void
Response.AsyncContentListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) Callback method invoked when the response content has been received, parsed and there is demand.void
Response.ContentListener.onContent
(Response response, ByteBuffer content) Callback method invoked when the response content has been received, parsed and there is demand.default void
Response.ContentListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) default void
Response.Listener.onContent
(Response response, ByteBuffer content) default void
Response.AsyncContentListener.onContentSource
(Response response, Content.Source contentSource) void
Response.ContentSourceListener.onContentSource
(Response response, Content.Source contentSource) Callback method invoked when all the response headers have been received and parsed.void
void
void
void
Callback method invoked when the response has failed in the process of being receiveddefault void
boolean
boolean
Callback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.default boolean
void
void
void
void
Callback method invoked when all the response headers have been received and parsed.default void
void
void
void
void
default void
void
Callback method invoked when the whole response has been successfully received.Redirects the givenresponse
, blocking until the redirect is complete.HttpRedirector.redirect
(Request request, Response response, Response.CompleteListener listener) Redirects the givenresponse
asynchronously.void
Upgrades the givenendPoint
to a different protocol.ModifierConstructorDescriptionHttpResponseException
(String message, Response response) HttpResponseException
(String message, Response response, Throwable cause) PathResponse
(Response response, Path path) Creates an instance of aPathResponse
record class. -
Uses of Response in org.eclipse.jetty.client.internal
ModifierConstructorDescriptionHttpContentResponse
(Response response, byte[] content, String mediaType, String encoding) -
Uses of Response in org.eclipse.jetty.client.transport
Modifier and TypeMethodDescriptionvoid
ResponseListeners.emitFailure
(Response response, Throwable failure) void
ResponseListeners.emitSuccess
(Response response) void
ResponseListeners.notifyBegin
(Response response) void
ResponseListeners.notifyContentSource
(Response response, Content.Source contentSource) void
ResponseListeners.notifyFailure
(Response response, Throwable failure) boolean
ResponseListeners.notifyHeader
(Response response, HttpField field) void
ResponseListeners.notifyHeaders
(Response response) void
ResponseListeners.notifySuccess
(Response response) -
Uses of Response in org.eclipse.jetty.client.transport.internal
-
Uses of Response in org.eclipse.jetty.ee10.proxy
Modifier and TypeMethodDescriptionprotected String
AbstractProxyServlet.filterServerResponseHeader
(jakarta.servlet.http.HttpServletRequest clientRequest, Response serverResponse, String headerName, String headerValue) protected String
BalancerServlet.filterServerResponseHeader
(jakarta.servlet.http.HttpServletRequest request, Response serverResponse, String headerName, String headerValue) protected AsyncMiddleManServlet.ProxyWriter
AsyncMiddleManServlet.newProxyWriteListener
(jakarta.servlet.http.HttpServletRequest clientRequest, Response proxyResponse) protected AsyncMiddleManServlet.ContentTransformer
AsyncMiddleManServlet.newServerResponseContentTransformer
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) protected AsyncProxyServlet.StreamWriter
AsyncProxyServlet.newWriteListener
(jakarta.servlet.http.HttpServletRequest request, Response proxyResponse) void
void
void
AsyncMiddleManServlet.ProxyResponseListener.onContent
(Response serverResponse, Content.Chunk chunk, Runnable demander) void
ProxyServlet.ProxyResponseListener.onContent
(Response proxyResponse, Content.Chunk chunk, Runnable demander) void
void
protected void
AbstractProxyServlet.onProxyResponseFailure
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse, Throwable failure) protected void
AbstractProxyServlet.onProxyResponseSuccess
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) protected void
AsyncProxyServlet.onResponseContent
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback) protected void
ProxyServlet.onResponseContent
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback) protected void
AbstractProxyServlet.onServerResponseHeaders
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) void
ModifierConstructorDescriptionprotected
ProxyWriter
(jakarta.servlet.http.HttpServletRequest clientRequest, Response serverResponse) protected
StreamWriter
(jakarta.servlet.http.HttpServletRequest request, Response proxyResponse) -
Uses of Response in org.eclipse.jetty.ee10.websocket.jakarta.client.internal
Modifier and TypeMethodDescriptionvoid
JsrUpgradeListener.onHandshakeResponse
(Request request, Response response) -
Uses of Response in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionvoid
void
ProxyHandler.ProxyResponseListener.onContent
(Response serverToProxyResponse, Content.Chunk serverToProxyChunk, Runnable serverToProxyDemander) void
protected void
ProxyHandler.onProxyToClientResponseComplete
(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback) protected void
ProxyHandler.onProxyToClientResponseFailure
(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback, Throwable failure) protected void
ProxyHandler.onServerToProxyResponseFailure
(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback, Throwable failure) void
-
Uses of Response in org.eclipse.jetty.websocket.client
Modifier and TypeMethodDescriptiondefault void
JettyUpgradeListener.onHandshakeResponse
(Request request, Response response) Event that triggers after the Handshake response has been received. -
Uses of Response in org.eclipse.jetty.websocket.client.internal
Modifier and TypeMethodDescriptionvoid
-
Uses of Response in org.eclipse.jetty.websocket.core.client
-
Uses of Response in org.eclipse.jetty.websocket.core.client.internal