Make use of Servlet 4.0 mapping introspection when available [SPR-15320] #19883
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
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 inUrlPathHelper
. 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:
The text was updated successfully, but these errors were encountered: