Package io.undertow.server.handlers
Class StoredResponseHandler
java.lang.Object
io.undertow.server.handlers.StoredResponseHandler
- All Implemented Interfaces:
HttpHandler
A handler that buffers the full response and attaches it to the exchange. This makes use of
StoredResponseStreamSinkConduit
This will be made available once the response is fully complete, so should generally
be read in an ExchangeCompletionListener
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.
-
Constructor Details
-
StoredResponseHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-