Skip to content

mvc namespace should support adding HandlerInterceptors [SPR-6352] #11018

Closed
@spring-projects-issues

Description

@spring-projects-issues

Scott Andrews opened SPR-6352 and commented

The mvc namespace currently configures the DefaultAnnotationHandlerMapping, but does not provide a way to register handler interceptors.

This functionality could be something like:

mvc:annotation-driven
mvc:interceptors
<bean class="com.example.MyHandlerInterceptorAdaptor1" />
<bean ref="interceptor2" />
...
</mvc:interceptors>
</mvc:annotation-driven>


Affects: 3.0 RC2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions