Package org.apache.solr.jersey
Class RequestMetricHandling.PreRequestMetricsFilter
- java.lang.Object
-
- org.apache.solr.jersey.RequestMetricHandling.PreRequestMetricsFilter
-
- All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestFilter
- Enclosing class:
- RequestMetricHandling
public static class RequestMetricHandling.PreRequestMetricsFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
Sets up the metrics-context for individual requestsLooks up the requestHandler associated with the particular Jersey request and attaches its
RequestHandlerBase.HandlerMetrics
to the request context to be manipulated by other pre- and post-request filters in this chain.
-
-
Constructor Summary
Constructors Constructor Description PreRequestMetricsFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(javax.ws.rs.container.ContainerRequestContext requestContext)
-
-
-
Method Detail
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext) throws IOException
- Specified by:
filter
in interfacejavax.ws.rs.container.ContainerRequestFilter
- Throws:
IOException
-
-