Convert OncePerRequestServerFilter extensions to HttpServerFilter

Apache 2.0

Starting in Micronaut 3.0 all filters are executed once per request. Directly implement HttpServerFilter instead of extending OncePerRequestHttpServerFilter and replace any usages of micronaut.once attributes with a custom attribute name.

org.openrewrite.java.micronaut.OncePerRequestHttpServerFilterToHttpServerFilter
mod run . --recipe=org.openrewrite.java.micronaut.OncePerRequestHttpServerFilterToHttpServerFilter

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.