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 TypeMethodDescriptionvoid
handleRequest
(HttpServerExchange exchange) Handle the request.void
reset()
-
Field Details
-
WRAPPER
-
-
Constructor Details
-
MetricsHandler
-
-
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
-
reset
public void reset() -
getMetrics
-