Browse Source

Clarify removal of ResponseEntity::getStatusCodeValue

pull/30724/head
Arjen Poutsma 2 years ago
parent
commit
a73ad52a8a
  1. 3
      spring-web/src/main/java/org/springframework/http/ResponseEntity.java

3
spring-web/src/main/java/org/springframework/http/ResponseEntity.java

@ -156,7 +156,8 @@ public class ResponseEntity<T> extends HttpEntity<T> { @@ -156,7 +156,8 @@ public class ResponseEntity<T> extends HttpEntity<T> {
* Return the HTTP status code of the response.
* @return the HTTP status as an int value
* @since 4.3
* @deprecated as of 6.0, in favor of {@link #getStatusCode()}
* @deprecated as of 6.0, in favor of {@link #getStatusCode()}; scheduled
* for removal in 7.0
*/
@Deprecated(since = "6.0")
public int getStatusCodeValue() {

Loading…
Cancel
Save