# Class LLServerRequestTimeFilter

java.lang.Object
com.io7m.looseleaf.server.internal.LLServerRequestTimeFilter

All Implemented Interfaces:
  `jakarta.servlet.Filter`

public final class LLServerRequestTimeFilter extends Object implements jakarta.servlet.Filter
A filter that tracks request times.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LLServerRequestTimeFilter(LLMetricsService inMetrics, LLServerClock inClock)`
  A filter that tracks request times.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface jakarta.servlet.Filter

  `destroy, init`

- ## Constructor Details

  - ### LLServerRequestTimeFilter

    public LLServerRequestTimeFilter(LLMetricsService inMetrics, LLServerClock inClock)
    A filter that tracks request times.
    Parameters:
      `inMetrics` - The metrics
      `inClock` - The clock

- ## Method Details

  - ### doFilter

    public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
    Specified by:
      `doFilter` in interface `jakarta.servlet.Filter`
    Throws:
      `IOException`
      `jakarta.servlet.ServletException`