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,
Log4j initialization, 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)
Set the UrlPathHelper to use for resolution of lookup paths.
|
Modifier and Type | Method and Description |
---|---|
UrlPathHelper |
PathMatchConfigurer.getUrlPathHelper() |
UrlPathHelper |
WebMvcConfigurationSupport.mvcUrlPathHelper()
Return a global
UrlPathHelper instance for path matching
patterns in HandlerMappings . |
Modifier and Type | Method and Description |
---|---|
HandlerMapping |
WebMvcConfigurationSupport.resourceHandlerMapping(UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
ContentNegotiationManager contentNegotiationManager,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers.
|
PathMatchConfigurer |
PathMatchConfigurer.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.
|
HandlerMapping |
WebMvcConfigurationSupport.viewControllerHandlerMapping(PathMatcher pathMatcher,
UrlPathHelper urlPathHelper,
FormattingConversionService conversionService,
ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at 1 to map URL paths directly to
view names.
|
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 UrlPathHelper implementation to use for resolution of lookup paths.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHandlerMapping.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set 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)
Set the UrlPathHelper to use for resolution of lookup paths.
|
Constructor and Description |
---|
PatternsRequestCondition(String[] patterns,
UrlPathHelper urlPathHelper,
PathMatcher pathMatcher,
boolean useTrailingSlashMatch)
Alternative constructor with additional, optional
UrlPathHelper ,
PathMatcher , and whether to automatically match trailing slashes. |
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()
Return a custom UrlPathHelper to use for the PatternsRequestCondition, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingInfo.BuilderConfiguration.setUrlPathHelper(UrlPathHelper urlPathHelper)
Set a custom UrlPathHelper to use for the PatternsRequestCondition.
|
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)
Set the
UrlPathHelper to use for
the resolution of lookup paths. |
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.
|