Package io.undertow.server.handlers
Class MetricsHandler
java.lang.Object
io.undertow.server.handlers.MetricsHandler
- All Implemented Interfaces:
HttpHandler
Handler that records some metrics
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.voidreset()
-
Field Details
-
WRAPPER
-
-
Constructor Details
-
MetricsHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
reset
public void reset() -
getMetrics
-