Package io.undertow.server.handlers
Class RequestDumpingHandler
- java.lang.Object
-
- io.undertow.server.handlers.RequestDumpingHandler
-
- All Implemented Interfaces:
HttpHandler
public class RequestDumpingHandler extends Object implements HttpHandler
Handler that dumps a exchange to a log.- Author:
- Stuart Douglas, Richard Opalka
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestDumpingHandler.Builder
-
Constructor Summary
Constructors Constructor Description RequestDumpingHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.String
toString()
-
-
-
Constructor Detail
-
RequestDumpingHandler
public RequestDumpingHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
-