Skip to content

Make use of Servlet 4.0 mapping introspection when available [SPR-15320] #19883

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15320 and commented

Servlet 4.0 b03 is available now, introducing support for HttpServletRequest.getServletMapping(). As discussed, let's research what we can transparently infer from this when available at runtime, as an alternative to "guessing" about Servlet-level URL mappings in UrlPathHelper. If there isn't any distinct advantage, we can also keep our path-based code as it is, but we should make up our mind in time for 5.0 RC1 here.


Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anothertype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions