Overview
This is a follow up to gh-29449.
Candidates
- [x]
org.springframework.scheduling.support.CronSequenceGenerator
- [x]
org.springframework.http.codec.multipart.DefaultPartHttpMessageReader.setStreaming(boolean)
- [x]
org.springframework.http.server.reactive.AbstractServerHttpRequest
For Removal in 6.2
See #30608
- [ ] ~
org.springframework.util.Base64Utils
~ was only marked for removal in a 6.0.x maintenance release, to be removed in 6.2. - [ ] ~
org.springframework.http.client.AbstractClientHttpResponse
~ was only marked for removal in 6.1, though deprecated in 6.0. - [ ] ~
org.springframework.http.client.ClientHttpResponse.getRawStatusCode()
~ was only marked for removal in 6.1, though deprecated in 6.0. - [ ] ~
org.springframework.http.client.observation.ClientHttpObservationDocumentation.HighCardinalityKeyNames.CLIENT_NAME
~ was only marked for removal in a 6.0.x maintenance release, to be removed in 6.2 - [ ] ~
org.springframework.web.reactive.function.client.ClientHttpObservationDocumentation.HighCardinalityKeyNames.CLIENT_NAME
~ was only marked for removal in a 6.0.x maintenance release, to be removed in 6.2 - [ ] ~
org.springframework.web.filter.reactive.ServerWebExchangeContextFilter.get(Context)
~ - [ ] ~
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler.handleBindException(BindException, HttpHeaders, HttpStatusCode, WebRequest)
~ - [ ] ~
org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleBindException(BindException, HttpServletRequest, HttpServletResponse, Object)
~ - [ ] ~
org.springframework.web.reactive.HandlerResult
~ - [ ] ~
org.springframework.web.reactive.socket.client.JettyWebSocketClient
~ - [ ] ~
org.springframework.web.socket.client.jetty.JettyWebSocketClient
~
Comment From: poutsma
I have removed the APIs that I marked for removal.
Note that AbstractClientHttpResponse
and ClientHttpResponse.getRawStatusCode()
were only marked for removal in 6.1—though deprecated in 6.0, so I think we should wait with removing those until 6.2.
Comment From: sbrannen
@rstoyanchev, it appears that the remaining items fall under your area of expertise, so I've assigned this issue to you.
Comment From: rstoyanchev
The remaining ones are relatively recent deprecations, 6.0.6 for ServerWebExchangeContextFilter
, 6.0.7 for ResponseEntityExceptionHandler
and DefaultHandlerExceptionResolver
, and 6.0 for HandlerResult
and the JettyWebSocketClient
implementations. I think they can wait until 6.2.
Comment From: hantsy
What is the replacement of CronSequenceGenerator?
Comment From: poutsma
What is the replacement of CronSequenceGenerator?
It says so right in the Javadoc
Comment From: hantsy
What is the replacement of CronSequenceGenerator?
It says so right in the Javadoc
Thanks. Try to update my sample and found it is missing in the imports.