Deprecated API
Contents
- 
Terminally Deprecated ElementsElementDescriptionuse of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0 in favor ofWebMvcConfigurationSupport.createMessageConverters()use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0 in favor of configuring converters onWebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder)since 7.0 in favor of configuring converters onWebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder)without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.in favor of using justPathPatternParser; whenHandlerMappingIntrospector.allHandlerMappingsUsePathPatternParser()returns true, it is sufficient to use that to align with handler mappings.in favor of the constructor variant with HTTP methodsuse ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.together withHandlerMappingIntrospectorwithout a replacement.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.together withHandlerMappingIntrospectorwithout a replacement.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0 in favor ofAbstractJacksonViewsince 7.0 in favor ofJacksonJsonViewsince 7.0 in favor ofJacksonXmlView 
- 
Deprecated Interfaces
 
- 
Deprecated ClassesClassDescriptionin favor of using just
PathPatternParser; whenHandlerMappingIntrospector.allHandlerMappingsUsePathPatternParser()returns true, it is sufficient to use that to align with handler mappings.together withHandlerMappingIntrospectorwithout a replacement.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0. Libraries or applications can provide their ownViewclass or perform rendering in web handlers directly.since 7.0 in favor ofAbstractJacksonViewsince 7.0 in favor ofJacksonJsonViewsince 7.0 in favor ofJacksonXmlView 
- 
Deprecated FieldsFieldDescriptionin favor of
UrlPathHelper.PATH_ATTRIBUTEandServletRequestPathUtils.PATH_ATTRIBUTE. To access the cached path used for request mapping, useServletRequestPathUtils.getCachedPathValue(ServletRequest). 
- 
Deprecated MethodsMethodDescriptionuse of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0 in favor ofWebMvcConfigurationSupport.createMessageConverters()use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.since 7.0 in favor of configuring converters onWebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder)since 7.0 in favor of configuring converters onWebMvcConfigurer.configureMessageConverters(HttpMessageConverters.ServerBuilder)without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179without replacement to discourage use of path extensions for request mapping and for content negotiation (with similar deprecations and removals already applied to annotated controllers). For further context, please read issue #24179since 7.0 in favor ofServerResponse.unprocessableContent()use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.as of 6.0, in favor of usingAbstractHandlerMapping.setUrlPathHelper(UrlPathHelper)use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.as of 6.0, in favor of usingAbstractHandlerMapping.setUrlPathHelper(UrlPathHelper)as of 6.0, in favor of usingAbstractHandlerMapping.setUrlPathHelper(UrlPathHelper)use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest); this method always returnsUrlPathHelper.defaultInstance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules. After the deprecation phase, it will no longer be possible to set a customized PathMatcher instance.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. 
- 
Deprecated ConstructorsConstructorDescriptionin favor of the constructor variant with HTTP methodsuse of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).since 5.3 in favor of usingRequestMappingInfo.addCustomCondition(RequestCondition).