| Package | Description | 
|---|---|
| org.springframework.web.accept | 
 This package contains classes used to determine the requested the media types in a request. 
 | 
| org.springframework.web.cors | 
 Support for CORS (Cross-Origin Resource Sharing),
 based on a common  
CorsProcessor strategy. | 
| org.springframework.web.servlet.config.annotation | 
 Annotation-based setup for Spring MVC. 
 | 
| org.springframework.web.servlet.handler | 
 Provides standard HandlerMapping implementations,
 including abstract base classes for custom implementations. 
 | 
| org.springframework.web.servlet.mvc | 
 Standard controller implementations for the Servlet MVC framework that comes with
 Spring. 
 | 
| org.springframework.web.servlet.mvc.condition | 
 Common MVC logic for matching incoming requests based on conditions. 
 | 
| org.springframework.web.servlet.mvc.method | 
 Servlet-based infrastructure for handler method processing,
 building on the  
org.springframework.web.method package. | 
| org.springframework.web.servlet.mvc.method.annotation | 
 MVC infrastructure for annotation-based handler method processing, building on the
  
org.springframework.web.method.annotation package. | 
| org.springframework.web.servlet.resource | 
 Support classes for serving static resources. 
 | 
| org.springframework.web.servlet.support | 
 Support classes for Spring's web MVC framework. 
 | 
| org.springframework.web.servlet.view | 
 Provides standard View and ViewResolver implementations,
 including abstract base classes for custom implementations. 
 | 
| org.springframework.web.socket.config.annotation | 
 Support for annotation-based WebSocket setup in configuration classes. 
 | 
| org.springframework.web.util | 
 Miscellaneous web utility classes, such as HTML escaping and cookie handling. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PathExtensionContentNegotiationStrategy.setUrlPathHelper(UrlPathHelper urlPathHelper)
Deprecated.  
Configure a  
UrlPathHelper to use in PathExtensionContentNegotiationStrategy.getMediaTypeKey(org.springframework.web.context.request.NativeWebRequest)
 in order to derive the lookup path for a target request URL path. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper urlPathHelper)
Configure the  
UrlPathHelper to resolve the lookupPath. | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
PathMatchConfigurer.getUrlPathHelper()  | 
protected UrlPathHelper | 
PathMatchConfigurer.getUrlPathHelperOrDefault()
Return the configured UrlPathHelper or a default, shared instance otherwise. 
 | 
UrlPathHelper | 
WebMvcConfigurationSupport.mvcUrlPathHelper()
Return a global  
UrlPathHelper instance which is used to resolve
 the request mapping path for an application. | 
| Modifier and Type | Method and Description | 
|---|---|
PathMatchConfigurer | 
PathMatchConfigurer.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use to resolve the mapping path for the application. 
 | 
| Constructor and Description | 
|---|
ResourceHandlerRegistry(ApplicationContext applicationContext,
                       ServletContext servletContext,
                       ContentNegotiationManager contentNegotiationManager,
                       UrlPathHelper pathHelper)
A variant of
  
ResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)
 that also accepts the UrlPathHelper used for mapping requests to static resources. | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
AbstractHandlerMapping.getUrlPathHelper()
Return the  
configured UrlPathHelper. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AbstractHandlerMapping.setUrlPathHelper(UrlPathHelper urlPathHelper)
Configure the UrlPathHelper to use for resolution of lookup paths. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected UrlPathHelper | 
AbstractUrlViewController.getUrlPathHelper()
Return the UrlPathHelper to use for the resolution of lookup paths. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AbstractUrlViewController.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for the resolution of lookup paths. 
 | 
void | 
WebContentInterceptor.setUrlPathHelper(UrlPathHelper urlPathHelper)
Deprecated. 
 
as of 5.3, the path is resolved externally and obtained with
  
ServletRequestPathUtils.getCachedPathValue(ServletRequest) | 
| Constructor and Description | 
|---|
PatternsRequestCondition(String[] patterns,
                        UrlPathHelper urlPathHelper,
                        PathMatcher pathMatcher,
                        boolean useTrailingSlashMatch)
Deprecated. 
 
as of 5.3 in favor of
  
PatternsRequestCondition(String[], boolean, PathMatcher). | 
PatternsRequestCondition(String[] patterns,
                        UrlPathHelper urlPathHelper,
                        PathMatcher pathMatcher,
                        boolean useSuffixPatternMatch,
                        boolean useTrailingSlashMatch)
Deprecated. 
 
as of 5.2.4. See class-level note in
  
RequestMappingHandlerMapping
 on the deprecation of path extension config options. | 
PatternsRequestCondition(String[] patterns,
                        UrlPathHelper urlPathHelper,
                        PathMatcher pathMatcher,
                        boolean useSuffixPatternMatch,
                        boolean useTrailingSlashMatch,
                        List<String> fileExtensions)
Deprecated. 
 
as of 5.2.4. See class-level note in
  
RequestMappingHandlerMapping
 on the deprecation of path extension config options. | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
RequestMappingInfo.BuilderConfiguration.getUrlPathHelper()
Deprecated. 
 
as of 5.3, the path is resolved externally and obtained with
  
ServletRequestPathUtils.getCachedPathValue(ServletRequest);
 this method always returns defaultInstance. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RequestMappingInfo.BuilderConfiguration.setUrlPathHelper(UrlPathHelper urlPathHelper)
Deprecated. 
 
as of 5.3, the path is resolved externally and obtained with
  
ServletRequestPathUtils.getCachedPathValue(ServletRequest) | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ServletCookieValueMethodArgumentResolver.setUrlPathHelper(UrlPathHelper urlPathHelper)  | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
PathResourceResolver.getUrlPathHelper()
The configured  
UrlPathHelper. | 
UrlPathHelper | 
ResourceHttpRequestHandler.getUrlPathHelper()
The configured  
UrlPathHelper. | 
UrlPathHelper | 
ResourceUrlProvider.getUrlPathHelper()
Return the configured  
UrlPathHelper. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PathResourceResolver.setUrlPathHelper(UrlPathHelper urlPathHelper)
Provide a reference to the  
UrlPathHelper used to map requests to
 static resources. | 
void | 
ResourceHttpRequestHandler.setUrlPathHelper(UrlPathHelper urlPathHelper)
Provide a reference to the  
UrlPathHelper used to map requests to
 static resources. | 
void | 
ResourceUrlProvider.setUrlPathHelper(UrlPathHelper urlPathHelper)
Configure a  
UrlPathHelper to use in
 ResourceUrlProvider.getForRequestUrl(javax.servlet.http.HttpServletRequest, String)
 in order to derive the lookup path for a target request URL path. | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
RequestContext.getUrlPathHelper()
Return the UrlPathHelper used for context path and request URI decoding. 
 | 
UrlPathHelper | 
AbstractFlashMapManager.getUrlPathHelper()
Return the UrlPathHelper implementation to use. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RequestContext.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for context path and request URI decoding. 
 | 
void | 
AbstractFlashMapManager.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use to match FlashMap instances to requests. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
DefaultRequestToViewNameTranslator.setUrlPathHelper(UrlPathHelper urlPathHelper)
Deprecated. 
 
as of 5.3, the path is resolved externally and obtained with
  
ServletRequestPathUtils.getCachedPathValue(ServletRequest) | 
| Modifier and Type | Method and Description | 
|---|---|
UrlPathHelper | 
ServletWebSocketHandlerRegistry.getUrlPathHelper()  | 
protected UrlPathHelper | 
WebMvcStompEndpointRegistry.getUrlPathHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ServletWebSocketHandlerRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to configure on the  
SimpleUrlHandlerMapping
 used to map handshake requests. | 
void | 
WebMvcStompEndpointRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to configure on the  
HandlerMapping
 used to map handshake requests. | 
void | 
StompEndpointRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper)
Configure a customized  
UrlPathHelper for the STOMP endpoint
 HandlerMapping. | 
| Modifier and Type | Field and Description | 
|---|---|
static UrlPathHelper | 
UrlPathHelper.defaultInstance
Shared, read-only instance with defaults. 
 | 
static UrlPathHelper | 
UrlPathHelper.rawPathInstance
Shared, read-only instance for the full, encoded path. 
 |