类的使用
org.springframework.web.util.UrlPathHelper
使用UrlPathHelper的程序包 程序包 说明 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 commonCorsProcessor
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 theorg.springframework.web.method
package.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.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.org.springframework.web.accept中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.accept中的方法 修饰符和类型 方法 说明 void
PathExtensionContentNegotiationStrategy. setUrlPathHelper(UrlPathHelper urlPathHelper)
已过时。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.org.springframework.web.cors中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.cors中的方法 修饰符和类型 方法 说明 void
UrlBasedCorsConfigurationSource. setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.org.springframework.web.servlet.config.annotation中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.config.annotation中的方法 修饰符和类型 方法 说明 UrlPathHelper
PathMatchConfigurer. getUrlPathHelper()
UrlPathHelper
WebMvcConfigurationSupport. mvcUrlPathHelper()
Return a globalUrlPathHelper
instance for path matching patterns inHandlerMappings
.参数类型为UrlPathHelper的org.springframework.web.servlet.config.annotation中的方法 修饰符和类型 方法 说明 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.参数类型为UrlPathHelper的org.springframework.web.servlet.config.annotation中的构造器 构造器 说明 ResourceHandlerRegistry(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.org.springframework.web.servlet.handler中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.handler中的方法 修饰符和类型 方法 说明 UrlPathHelper
AbstractHandlerMapping. getUrlPathHelper()
Return the UrlPathHelper implementation to use for resolution of lookup paths.参数类型为UrlPathHelper的org.springframework.web.servlet.handler中的方法 修饰符和类型 方法 说明 void
AbstractHandlerMapping. setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.org.springframework.web.servlet.mvc中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.mvc中的方法 修饰符和类型 方法 说明 protected UrlPathHelper
AbstractUrlViewController. getUrlPathHelper()
Return the UrlPathHelper to use for the resolution of lookup paths.参数类型为UrlPathHelper的org.springframework.web.servlet.mvc中的方法 修饰符和类型 方法 说明 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.org.springframework.web.servlet.mvc.condition中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.servlet.mvc.condition中的构造器 构造器 说明 PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch)
Alternative constructor with additional, optionalUrlPathHelper
,PathMatcher
, and whether to automatically match trailing slashes.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch)
已过时。as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions)
已过时。as of 5.2.4.org.springframework.web.servlet.mvc.method中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.mvc.method中的方法 修饰符和类型 方法 说明 UrlPathHelper
RequestMappingInfo.BuilderConfiguration. getUrlPathHelper()
Return a custom UrlPathHelper to use for the PatternsRequestCondition, if any.参数类型为UrlPathHelper的org.springframework.web.servlet.mvc.method中的方法 修饰符和类型 方法 说明 void
RequestMappingInfo.BuilderConfiguration. setUrlPathHelper(UrlPathHelper urlPathHelper)
Set a custom UrlPathHelper to use for the PatternsRequestCondition.org.springframework.web.servlet.mvc.method.annotation中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 void
ServletCookieValueMethodArgumentResolver. setUrlPathHelper(UrlPathHelper urlPathHelper)
org.springframework.web.servlet.resource中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.resource中的方法 修饰符和类型 方法 说明 UrlPathHelper
PathResourceResolver. getUrlPathHelper()
The configuredUrlPathHelper
.UrlPathHelper
ResourceHttpRequestHandler. getUrlPathHelper()
The configuredUrlPathHelper
.UrlPathHelper
ResourceUrlProvider. getUrlPathHelper()
Return the configuredUrlPathHelper
.参数类型为UrlPathHelper的org.springframework.web.servlet.resource中的方法 修饰符和类型 方法 说明 void
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(javax.servlet.http.HttpServletRequest, String)
in order to derive the lookup path for a target request URL path.org.springframework.web.servlet.support中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 UrlPathHelper
AbstractFlashMapManager. getUrlPathHelper()
Return the UrlPathHelper implementation to use.UrlPathHelper
RequestContext. getUrlPathHelper()
Return the UrlPathHelper used for context path and request URI decoding.参数类型为UrlPathHelper的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 void
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.org.springframework.web.servlet.view中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.servlet.view中的方法 修饰符和类型 方法 说明 void
DefaultRequestToViewNameTranslator. setUrlPathHelper(UrlPathHelper urlPathHelper)
Set theUrlPathHelper
to use for the resolution of lookup paths.org.springframework.web.socket.config.annotation中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 UrlPathHelper
ServletWebSocketHandlerRegistry. getUrlPathHelper()
protected UrlPathHelper
WebMvcStompEndpointRegistry. getUrlPathHelper()
参数类型为UrlPathHelper的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 void
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.org.springframework.web.util中UrlPathHelper的使用
声明为UrlPathHelper的org.springframework.web.util中的字段 修饰符和类型 字段 说明 static UrlPathHelper
UrlPathHelper. defaultInstance
Shared, read-only instance with defaults.static UrlPathHelper
UrlPathHelper. rawPathInstance
Shared, read-only instance for the full, encoded path.