-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionas of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsas of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations
-
Deprecated FieldsFieldDescriptionas of 5.3 in favor of
UrlPathHelper.PATH_ATTRIBUTEandServletRequestPathUtils.PATH_ATTRIBUTE. To access the cached path used for request mapping, useServletRequestPathUtils.getCachedPathValue(ServletRequest).
-
Deprecated MethodsMethodDescriptionas of 5.2.4. See deprecation note on
ContentNegotiationManagerFactoryBean.setFavorPathExtension(boolean).as of 5.2.4. See deprecation note onContentNegotiationManagerFactoryBean.setIgnoreUnknownPathExtensions(boolean).as of 5.0, in favor ofContentNegotiationConfigurer.useRegisteredExtensionsOnly(boolean)which has reverse behavioras of 5.2.4, see deprecation note onPathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean).as of 5.2.4, see deprecation note onPathMatchConfigurer.setUseSuffixPatternMatch(Boolean).as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it tofalse. In 5.3 the default changes tofalseand use of this property becomes unnecessary.in favor ofServerRequest.method()as of 5.3, in favor onServerRequest.requestPath()as of 5.3 in favor of providing non-pattern mappings viaAbstractHandlerMethodMapping.getDirectPaths(Object)insteadas of 5.3 in favor ofMappedInterceptor.matches(HttpServletRequest)as of 5.3.9 along withLastModified.as of 5.3.9 along withLastModified.as of 5.2.4. See class-level note on the deprecation of path extension config options.as of 5.2.4. See class level note on the deprecation of path extension config options.as of 5.2.4. See class level note on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it tofalse. In 5.3 the default changes tofalseand use of this property becomes unnecessary.as of 5.2.4. See deprecation notice onRequestMappingHandlerMapping.setUseRegisteredSuffixPatternMatch(boolean).as of 5.2.4. See deprecation notice onRequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean).as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest); this method always returnsUrlPathHelper.defaultInstance.as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.2.4. See deprecation note onRequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean).as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.2.4. See deprecation note onRequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean).as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)as of 5.2.4org.springframework.web.servlet.resource.ResourceHttpRequestHandler.initContentNegotiationStrategy()as of 5.2.4 this method returnsnull, and if a sub-class returns an actual instance,the instance is used only as a source of media type mappings, if it contains any. Please, useResourceHttpRequestHandler.setMediaTypes(Map)instead, or if you need to change behavior, you can overrideResourceHttpRequestHandler.getMediaType(HttpServletRequest, Resource).as of 5.2.4 in favor of usingResourceHttpRequestHandler.setMediaTypes(Map)with mappings possibly obtained fromContentNegotiationManager.getMediaTypeMappings().as of 4.2, since thelastModifiedflag is effectively ignored, with a must-revalidate header only generated if explicitly configuredas of 4.2, in favor ofWebContentGenerator.getCacheControl()as of 4.2, in favor ofWebContentGenerator.getCacheControl()as of 4.2, in favor ofWebContentGenerator.getCacheControl()as of 4.2, in favor ofWebContentGenerator.getCacheControl()as of 4.2, in favor ofWebContentGenerator.setCacheControl(org.springframework.http.CacheControl)as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearingas of 4.2, in favor ofWebContentGenerator.setCacheControl(org.springframework.http.CacheControl)as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearing
-
Deprecated ConstructorsConstructorDescriptionas of 5.3 in favor of
PatternsRequestCondition(String[], boolean, PathMatcher).as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).since 5.3 in favor of usingRequestMappingInfo.addCustomCondition(RequestCondition).
checkNotModifiedmethods inWebRequest, or from an annotated controller method, returning aResponseEntitywith an "ETag" and/or "Last-Modified" headers set.