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 classRequestDumpingHandler.Builder
-
Constructor Summary
Constructors Constructor Description RequestDumpingHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)Handle the request.StringtoString()
-
-
-
Constructor Detail
-
RequestDumpingHandler
public RequestDumpingHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
-