Deprecated API
Contents
Exceptions Exceptions Description org.springframework.web.server.MediaTypeNotSupportedStatusException in favor ofUnsupportedMediaTypeStatusException
, with this class never thrown by Spring code and to be removed in 5.3
Annotation Types Annotation Type Description org.springframework.beans.factory.annotation.Required as of 5.1, in favor of using constructor injection for required settings (or a customInitializingBean
implementation)org.springframework.lang.UsesJava7 as of 5.0 since the framework is based on Java 8+ noworg.springframework.lang.UsesJava8 as of 5.0 since the framework is based on Java 8+ noworg.springframework.lang.UsesSunHttpServer as of 5.1, along with Spring's Sun HTTP Server support classes
Enum Constants Enum Constant Description org.springframework.http.HttpStatus.DESTINATION_LOCKED org.springframework.http.HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE org.springframework.http.HttpStatus.METHOD_FAILURE org.springframework.http.HttpStatus.MOVED_TEMPORARILY in favor ofHttpStatus.FOUND
which will be returned fromHttpStatus.valueOf(302)
org.springframework.http.HttpStatus.REQUEST_ENTITY_TOO_LARGE in favor ofHttpStatus.PAYLOAD_TOO_LARGE
which will be returned fromHttpStatus.valueOf(413)
org.springframework.http.HttpStatus.REQUEST_URI_TOO_LONG in favor ofHttpStatus.URI_TOO_LONG
which will be returned fromHttpStatus.valueOf(414)
org.springframework.http.HttpStatus.USE_PROXY due to security concerns regarding in-band configuration of a proxy
Annotation Type Elements Annotation Type Element Description org.springframework.context.annotation.Bean.autowire() as of 5.1, since@Bean
factory method argument resolution and@Autowired
processing supersede name/type-based bean property injectionorg.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ALLOW_CREDENTIALS as of Spring 5.0, in favor ofCorsConfiguration.applyPermitDefaultValues()
org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ALLOWED_HEADERS as of Spring 5.0, in favor ofCorsConfiguration.applyPermitDefaultValues()
org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_MAX_AGE as of Spring 5.0, in favor ofCorsConfiguration.applyPermitDefaultValues()
org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ORIGINS as of Spring 5.0, in favor ofCorsConfiguration.applyPermitDefaultValues()