类的使用
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 commonCorsProcessorstrategy.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.methodpackage.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.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中的方法 修饰符和类型 方法 说明 voidPathExtensionContentNegotiationStrategy. setUrlPathHelper(UrlPathHelper urlPathHelper)已过时。Configure aUrlPathHelperto 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中的方法 修饰符和类型 方法 说明 voidUrlBasedCorsConfigurationSource. 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中的方法 修饰符和类型 方法 说明 UrlPathHelperPathMatchConfigurer. getUrlPathHelper()UrlPathHelperWebMvcConfigurationSupport. mvcUrlPathHelper()Return a globalUrlPathHelperinstance for path matching patterns inHandlerMappings.参数类型为UrlPathHelper的org.springframework.web.servlet.config.annotation中的方法 修饰符和类型 方法 说明 HandlerMappingWebMvcConfigurationSupport. 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.PathMatchConfigurerPathMatchConfigurer. setUrlPathHelper(UrlPathHelper urlPathHelper)Set the UrlPathHelper to use for resolution of lookup paths.HandlerMappingWebMvcConfigurationSupport. 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 theUrlPathHelperused for mapping requests to static resources.org.springframework.web.servlet.handler中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.handler中的方法 修饰符和类型 方法 说明 UrlPathHelperAbstractHandlerMapping. getUrlPathHelper()Return the UrlPathHelper implementation to use for resolution of lookup paths.参数类型为UrlPathHelper的org.springframework.web.servlet.handler中的方法 修饰符和类型 方法 说明 voidAbstractHandlerMapping. 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 UrlPathHelperAbstractUrlViewController. getUrlPathHelper()Return the UrlPathHelper to use for the resolution of lookup paths.参数类型为UrlPathHelper的org.springframework.web.servlet.mvc中的方法 修饰符和类型 方法 说明 voidAbstractUrlViewController. setUrlPathHelper(UrlPathHelper urlPathHelper)Set the UrlPathHelper to use for the resolution of lookup paths.voidWebContentInterceptor. 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中的方法 修饰符和类型 方法 说明 UrlPathHelperRequestMappingInfo.BuilderConfiguration. getUrlPathHelper()Return a custom UrlPathHelper to use for the PatternsRequestCondition, if any.参数类型为UrlPathHelper的org.springframework.web.servlet.mvc.method中的方法 修饰符和类型 方法 说明 voidRequestMappingInfo.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中的方法 修饰符和类型 方法 说明 voidServletCookieValueMethodArgumentResolver. setUrlPathHelper(UrlPathHelper urlPathHelper)org.springframework.web.servlet.resource中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.servlet.resource中的方法 修饰符和类型 方法 说明 UrlPathHelperPathResourceResolver. getUrlPathHelper()The configuredUrlPathHelper.UrlPathHelperResourceHttpRequestHandler. getUrlPathHelper()The configuredUrlPathHelper.UrlPathHelperResourceUrlProvider. getUrlPathHelper()Return the configuredUrlPathHelper.参数类型为UrlPathHelper的org.springframework.web.servlet.resource中的方法 修饰符和类型 方法 说明 voidPathResourceResolver. 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(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中的方法 修饰符和类型 方法 说明 UrlPathHelperAbstractFlashMapManager. getUrlPathHelper()Return the UrlPathHelper implementation to use.UrlPathHelperRequestContext. getUrlPathHelper()Return the UrlPathHelper used for context path and request URI decoding.参数类型为UrlPathHelper的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 voidAbstractFlashMapManager. 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.org.springframework.web.servlet.view中UrlPathHelper的使用
参数类型为UrlPathHelper的org.springframework.web.servlet.view中的方法 修饰符和类型 方法 说明 voidDefaultRequestToViewNameTranslator. setUrlPathHelper(UrlPathHelper urlPathHelper)Set theUrlPathHelperto use for the resolution of lookup paths.org.springframework.web.socket.config.annotation中UrlPathHelper的使用
返回UrlPathHelper的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 UrlPathHelperServletWebSocketHandlerRegistry. getUrlPathHelper()protected UrlPathHelperWebMvcStompEndpointRegistry. getUrlPathHelper()参数类型为UrlPathHelper的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 voidServletWebSocketHandlerRegistry. 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.org.springframework.web.util中UrlPathHelper的使用
声明为UrlPathHelper的org.springframework.web.util中的字段 修饰符和类型 字段 说明 static UrlPathHelperUrlPathHelper. defaultInstanceShared, read-only instance with defaults.static UrlPathHelperUrlPathHelper. rawPathInstanceShared, read-only instance for the full, encoded path.