Skip to content

Ability to exclude HandlerInterceptors from specific path with <mvc:interceptors> [SPR-12868] #17466

@spring-projects-issues

Description

@spring-projects-issues

Adrian Ber opened SPR-12868 and commented

As mvc:interceptor, mvc:interceptors should have a path parameter to exclude path from intercepting. For example: Interceptors runs for all paths /* , but it must not intercept specified paths: /admin/ *. /image/ * and /styles/

This will enable to easy configure all the interceptors, instead of repeating the same for all interceptors.


Issue Links:

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions