Class StHTTPRequestTimeFilter
java.lang.Object
com.io7m.stonesignal.server.http.StHTTPRequestTimeFilter
- All Implemented Interfaces:
io.helidon.webserver.http.Filter,io.helidon.webserver.ServerLifecycle
public final class StHTTPRequestTimeFilter
extends Object
implements io.helidon.webserver.http.Filter
A filter that tracks request times.
-
Constructor Summary
ConstructorsConstructorDescriptionStHTTPRequestTimeFilter(StMetricsServiceType inMetrics, StServerClock 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
-
StHTTPRequestTimeFilter
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
-