HttpHandler
public class StoredResponseHandler extends Object implements HttpHandler
StoredResponseStreamSinkConduit
This will be made available once the response is fully complete, so should generally
be read in an ExchangeCompletionListener
Modifier and Type | Class | Description |
---|---|---|
static class |
StoredResponseHandler.Builder |
Constructor | Description |
---|---|
StoredResponseHandler(HttpHandler next) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public StoredResponseHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2018. All rights reserved.