Package com.io7m.idstore.server.http

# Class IdHTTPRequestTimeFilter

java.lang.Object
com.io7m.idstore.server.http.IdHTTPRequestTimeFilter

All Implemented Interfaces:
  `io.helidon.webserver.http.Filter`, `io.helidon.webserver.ServerLifecycle`

public final class IdHTTPRequestTimeFilter extends Object implements io.helidon.webserver.http.Filter
A filter that tracks request times.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdHTTPRequestTimeFilter(IdMetricsServiceType inMetrics, IdUserDomain inDomain, IdServerClock inClock)`
  A filter that tracks request times.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `filter(io.helidon.webserver.http.FilterChain chain, io.helidon.webserver.http.RoutingRequest req, io.helidon.webserver.http.RoutingResponse res)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface io.helidon.webserver.ServerLifecycle

  `afterStop, beforeStart`

- ## Constructor Details

  - ### IdHTTPRequestTimeFilter

    public IdHTTPRequestTimeFilter(IdMetricsServiceType inMetrics, IdUserDomain inDomain, IdServerClock inClock)
    A filter that tracks request times.
    Parameters:
      `inMetrics` - The metrics
      `inDomain` - The user domain
      `inClock` - The clock

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### filter

    public void filter(io.helidon.webserver.http.FilterChain chain, io.helidon.webserver.http.RoutingRequest req, io.helidon.webserver.http.RoutingResponse res)
    Specified by:
      `filter` in interface `io.helidon.webserver.http.Filter`