Class CAHTTPRequestTimeFilter
java.lang.Object
com.io7m.cardant.server.http.CAHTTPRequestTimeFilter
- All Implemented Interfaces:
io.helidon.webserver.http.Filter,io.helidon.webserver.ServerLifecycle
public final class CAHTTPRequestTimeFilter
extends Object
implements io.helidon.webserver.http.Filter
A filter that tracks request times.
-
Constructor Summary
ConstructorsConstructorDescriptionCAHTTPRequestTimeFilter(CAMetricsServiceType inMetrics, CAServerClock inClock) A filter that tracks request times. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart
-
Constructor Details
-
CAHTTPRequestTimeFilter
A filter that tracks request times.- Parameters:
inMetrics- The metricsinClock- The clock
-
-
Method Details
-
toString
-
filter
public void filter(io.helidon.webserver.http.FilterChain chain, io.helidon.webserver.http.RoutingRequest req, io.helidon.webserver.http.RoutingResponse res) - Specified by:
filterin interfaceio.helidon.webserver.http.Filter
-