Class OncePerRequestHttpServerFilter

  • All Implemented Interfaces:
    io.micronaut.core.order.Ordered, HttpFilter, HttpServerFilter

    @Deprecated
    public abstract class OncePerRequestHttpServerFilter
    extends java.lang.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