Class ServletRequestPathFilter

java.lang.Object
org.springframework.web.filter.ServletRequestPathFilter
All Implemented Interfaces:
Filter

public class ServletRequestPathFilter extends Object implements Filter
Filter that parses and caches a RequestPath that can then be accessed via ServletRequestPathUtils.getParsedRequestPath(jakarta.servlet.ServletRequest).

Note: The DispatcherServlet already does the same, and therefore, this filter is mainly useful if you need to also have the parsed path available in the filter chain before and after the DispatcherServlet.

Since:
5.3
Author:
Rossen Stoyanchev