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 TypeMethodDescriptionvoid
handleRequest
(HttpServerExchange exchange) Handle the request.toString()
-
Constructor Details
-
StoredResponseHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
toString
-