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 TypeMethodDescriptionvoidPathExtensionContentNegotiationStrategy.setUrlPathHelper(UrlPathHelper urlPathHelper) Deprecated.Configure aUrlPathHelperto 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 TypeMethodDescriptionvoidUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper urlPathHelper) Configure theUrlPathHelperto 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 UrlPathHelperPathMatchConfigurer.getUrlPathHelperOrDefault()Return the configured UrlPathHelper or a default, shared instance otherwise.WebMvcConfigurationSupport.mvcUrlPathHelper()Return a globalUrlPathHelperinstance 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 theUrlPathHelperused 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 theconfiguredUrlPathHelper.Methods in org.springframework.web.servlet.handler with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoidAbstractHandlerMapping.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 UrlPathHelperAbstractUrlViewController.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 TypeMethodDescriptionvoidAbstractUrlViewController.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use for the resolution of lookup paths.voidWebContentInterceptor.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 TypeMethodDescriptionvoidRequestMappingInfo.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 TypeMethodDescriptionvoidServletCookieValueMethodArgumentResolver.setUrlPathHelper(UrlPathHelper urlPathHelper) Set theUrlPathHelperto use to decode cookie values with viadecodeRequestString(HttpServletRequest, String). -
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 TypeMethodDescriptionvoidPathResourceResolver.setUrlPathHelper(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelperused to map requests to static resources.voidResourceHttpRequestHandler.setUrlPathHelper(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelperused to map requests to static resources.voidResourceUrlProvider.setUrlPathHelper(UrlPathHelper urlPathHelper) Configure aUrlPathHelperto 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 TypeMethodDescriptionvoidAbstractFlashMapManager.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use to match FlashMap instances to requests.voidRequestContext.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 UrlPathHelperWebMvcStompEndpointRegistry.getUrlPathHelper()Methods in org.springframework.web.socket.config.annotation with parameters of type UrlPathHelperModifier and TypeMethodDescriptionvoidServletWebSocketHandlerRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theSimpleUrlHandlerMappingused to map handshake requests.voidStompEndpointRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper) Configure a customizedUrlPathHelperfor the STOMP endpointHandlerMapping.voidWebMvcStompEndpointRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theHandlerMappingused to map handshake requests. -
Uses of UrlPathHelper in org.springframework.web.util
Fields in org.springframework.web.util declared as UrlPathHelperModifier and TypeFieldDescriptionstatic final UrlPathHelperUrlPathHelper.defaultInstanceShared, read-only instance with defaults.static final UrlPathHelperUrlPathHelper.rawPathInstanceShared, read-only instance for the full, encoded path.
ServletRequestPathUtils.getCachedPathValue(ServletRequest)