Uses of Class
org.springframework.web.util.UrlPathHelper
Packages that use UrlPathHelper
Package
Description
This package contains classes used to determine the requested the media types in a request.
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Annotation-based setup for Spring MVC.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support classes for serving static resources.
Support classes for Spring's web MVC framework.
Support for annotation-based WebSocket setup in configuration classes.
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
Uses of UrlPathHelper in org.springframework.web.accept
Methods in org.springframework.web.accept with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
PathExtensionContentNegotiationStrategy.setUrlPathHelper
(UrlPathHelper urlPathHelper) Deprecated.Configure aUrlPathHelper
to use inPathExtensionContentNegotiationStrategy.getMediaTypeKey(org.springframework.web.context.request.NativeWebRequest)
in order to derive the lookup path for a target request URL path. -
Uses of UrlPathHelper in org.springframework.web.cors
Methods in org.springframework.web.cors with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
UrlBasedCorsConfigurationSource.setUrlPathHelper
(UrlPathHelper urlPathHelper) Configure theUrlPathHelper
to resolve the lookupPath. -
Uses of UrlPathHelper in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return UrlPathHelperModifier and TypeMethodDescriptionPathMatchConfigurer.getUrlPathHelper()
protected UrlPathHelper
PathMatchConfigurer.getUrlPathHelperOrDefault()
Return the configured UrlPathHelper or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcUrlPathHelper()
Return a globalUrlPathHelper
instance which is used to resolve the request mapping path for an application.Methods in org.springframework.web.servlet.config.annotation with parameters of type UrlPathHelperModifier and TypeMethodDescriptionPathMatchConfigurer.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use to resolve the mapping path for the application.Constructors in org.springframework.web.servlet.config.annotation with parameters of type UrlPathHelperModifierConstructorDescriptionResourceHandlerRegistry
(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager, UrlPathHelper pathHelper) A variant ofResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)
that also accepts theUrlPathHelper
used for mapping requests to static resources. -
Uses of UrlPathHelper in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler that return UrlPathHelperModifier and TypeMethodDescriptionAbstractHandlerMapping.getUrlPathHelper()
Return theconfigured
UrlPathHelper
.Methods in org.springframework.web.servlet.handler with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
AbstractHandlerMapping.setUrlPathHelper
(UrlPathHelper urlPathHelper) Configure the UrlPathHelper to use for resolution of lookup paths. -
Uses of UrlPathHelper in org.springframework.web.servlet.mvc
Methods in org.springframework.web.servlet.mvc that return UrlPathHelperModifier and TypeMethodDescriptionprotected UrlPathHelper
AbstractUrlViewController.getUrlPathHelper()
Return the UrlPathHelper to use for the resolution of lookup paths.Methods in org.springframework.web.servlet.mvc with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
AbstractUrlViewController.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use for the resolution of lookup paths.void
WebContentInterceptor.setUrlPathHelper
(UrlPathHelper urlPathHelper) Deprecated. -
Uses of UrlPathHelper in org.springframework.web.servlet.mvc.condition
Constructors in org.springframework.web.servlet.mvc.condition with parameters of type UrlPathHelperModifierConstructorDescriptionPatternsRequestCondition
(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch) Deprecated.as of 5.3 in favor ofPatternsRequestCondition(String[], boolean, PathMatcher)
.PatternsRequestCondition
(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch) Deprecated.as of 5.2.4.PatternsRequestCondition
(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions) Deprecated.as of 5.2.4. -
Uses of UrlPathHelper in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return UrlPathHelperModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getUrlPathHelper()
Deprecated.as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)
; this method always returnsdefaultInstance
.Methods in org.springframework.web.servlet.mvc.method with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setUrlPathHelper
(UrlPathHelper urlPathHelper) Deprecated.as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)
-
Uses of UrlPathHelper in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
ServletCookieValueMethodArgumentResolver.setUrlPathHelper
(UrlPathHelper urlPathHelper) -
Uses of UrlPathHelper in org.springframework.web.servlet.resource
Methods in org.springframework.web.servlet.resource that return UrlPathHelperModifier and TypeMethodDescriptionPathResourceResolver.getUrlPathHelper()
The configuredUrlPathHelper
.ResourceHttpRequestHandler.getUrlPathHelper()
The configuredUrlPathHelper
.ResourceUrlProvider.getUrlPathHelper()
Return the configuredUrlPathHelper
.Methods in org.springframework.web.servlet.resource with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
PathResourceResolver.setUrlPathHelper
(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelper
used to map requests to static resources.void
ResourceHttpRequestHandler.setUrlPathHelper
(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelper
used to map requests to static resources.void
ResourceUrlProvider.setUrlPathHelper
(UrlPathHelper urlPathHelper) Configure aUrlPathHelper
to use inResourceUrlProvider.getForRequestUrl(jakarta.servlet.http.HttpServletRequest, String)
in order to derive the lookup path for a target request URL path. -
Uses of UrlPathHelper in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support that return UrlPathHelperModifier and TypeMethodDescriptionAbstractFlashMapManager.getUrlPathHelper()
Return the UrlPathHelper implementation to use.RequestContext.getUrlPathHelper()
Return the UrlPathHelper used for context path and request URI decoding.Methods in org.springframework.web.servlet.support with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
AbstractFlashMapManager.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use to match FlashMap instances to requests.void
RequestContext.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use for context path and request URI decoding. -
Uses of UrlPathHelper in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation that return UrlPathHelperModifier and TypeMethodDescriptionServletWebSocketHandlerRegistry.getUrlPathHelper()
protected UrlPathHelper
WebMvcStompEndpointRegistry.getUrlPathHelper()
Methods in org.springframework.web.socket.config.annotation with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoid
ServletWebSocketHandlerRegistry.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theSimpleUrlHandlerMapping
used to map handshake requests.void
StompEndpointRegistry.setUrlPathHelper
(UrlPathHelper urlPathHelper) Configure a customizedUrlPathHelper
for the STOMP endpointHandlerMapping
.void
WebMvcStompEndpointRegistry.setUrlPathHelper
(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theHandlerMapping
used to map handshake requests. -
Uses of UrlPathHelper in org.springframework.web.util
Fields in org.springframework.web.util declared as UrlPathHelperModifier and TypeFieldDescriptionstatic final UrlPathHelper
UrlPathHelper.defaultInstance
Shared, read-only instance with defaults.static final UrlPathHelper
UrlPathHelper.rawPathInstance
Shared, read-only instance for the full, encoded path.
ServletRequestPathUtils.getCachedPathValue(ServletRequest)