Class OncePerRequestHttpServerFilter

java.lang.Object
io.micronaut.http.filter.OncePerRequestHttpServerFilter
All Implemented Interfaces:
Ordered, HttpFilter, HttpServerFilter
Direct Known Subclasses:
EndpointsFilter, HealthResultFilter

@Deprecated public abstract class OncePerRequestHttpServerFilter extends Object implements HttpServerFilter
Deprecated.
All filters are executed once per request starting in Micronaut 3.0. Directly implement HttpServerFilter instead of extending this class and replace any usages of `micronaut.once` attributes with a custom attribute name.
A filter that is only executed once per request. A filter may be executed more than once per request if the original route throws an exception.
Since:
1.0
Author:
Graeme Rocher