Package io.undertow.server.handlers
Class ActiveRequestTrackerHandler
java.lang.Object
io.undertow.server.handlers.ActiveRequestTrackerHandler
- All Implemented Interfaces:
HttpHandler
This handler will track all active requests. If the predicate is either null or true, a RequestStatistics object
is created and stored in the handler. Once the request is finished, the RequestStatistics object is removed from
the local store, and flow continues to the next listener.
- Author:
- Jason Lee
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.
-
Constructor Details
-
ActiveRequestTrackerHandler
-
-
Method Details
-
getTrackedRequests
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-