You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose structured request path from ServerHttpRequest in WebFlux [SPR-15648] #20207
Instead of using Strings for parts of the path (contextPath vs pathWithinApplication), provide an Object-based representation of the path exposing its structure at multiple levels -- contextPath + pathWithinApplication, path segments, path segment value + path segment parameters.
A typed Object-based representation of the path means it only needs to be parsed once and then passed, any number of times, into PathPattern for matching purposes. Internally it can check the number of segments. Now that PathPattern encodes patterns, we could also ensure that encoded characters are in a consistent case.
Yet another benefit is that any code can work with the path with support for seeing or not seeing the context path, path parameter content, and so on.
Activity