Skip to content

Add prioritization capabilitiy to @WebFilter #1023

Description

@commodis

In Jakarta EE, web filter priority (execution order) is determined by the order of <filter-mapping> elements in web.xml, or by alphabetical class name order when using @WebFilter annotations.

Jakarta EE offers the annotation @Priority to order other elements like Jakarta REST ContainerRequestFilter or the @Interceptor.

I would like to suggest that servlets should have the same capability in general.


I searched for old issues and found nothing related to @Priority or @WebFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions