Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public HttpStatusCode getStatusCode() {
* @deprecated as of 6.0, in favor of {@link #getStatusCode()}; scheduled
* for removal in 7.0
*/
@Deprecated(since = "6.0")
@Deprecated(since = "6.0", forRemoval = true)
public int getStatusCodeValue() {
return getStatusCode().value();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ public class HttpMessageNotReadableException extends HttpMessageConversionExcept
/**
* Create a new HttpMessageNotReadableException.
* @param msg the detail message
* @deprecated as of 5.1, in favor of {@link #HttpMessageNotReadableException(String, HttpInputMessage)}
* @deprecated as of 5.1, in favor of {@link #HttpMessageNotReadableException(String, HttpInputMessage)},
* for removal in 7.0
*/
@Deprecated
@Deprecated(forRemoval = true)
public HttpMessageNotReadableException(String msg) {
super(msg);
this.httpInputMessage = null;
Expand All @@ -50,9 +51,10 @@ public HttpMessageNotReadableException(String msg) {
* Create a new HttpMessageNotReadableException.
* @param msg the detail message
* @param cause the root cause (if any)
* @deprecated as of 5.1, in favor of {@link #HttpMessageNotReadableException(String, Throwable, HttpInputMessage)}
* @deprecated as of 5.1, in favor of {@link #HttpMessageNotReadableException(String, Throwable, HttpInputMessage)},
* for removal in 7.0
*/
@Deprecated
@Deprecated(forRemoval = true)
public HttpMessageNotReadableException(String msg, @Nullable Throwable cause) {
super(msg, cause);
this.httpInputMessage = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public HttpStatusCode getStatusCode() {
* Return the raw HTTP status code value.
* @deprecated in favor of {@link #getStatusCode()}, for removal in 7.0
*/
@Deprecated(since = "6.0")
@Deprecated(since = "6.0", forRemoval = true)
public int getRawStatusCode() {
return this.statusCode.value();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public HttpStatusCode getStatusCode() {
* Return the raw HTTP status code value.
* @deprecated in favor of {@link #getStatusCode()}, for removal in 7.0
*/
@Deprecated(since = "6.0")
@Deprecated(since = "6.0", forRemoval = true)
public int getRawStatusCode() {
return this.statusCode.value();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ public class ContentCachingRequestWrapper extends HttpServletRequestWrapper {
/**
* Create a new ContentCachingRequestWrapper for the given servlet request.
* @param request the original servlet request
* @deprecated as of 6.2, in favor of {@link #ContentCachingRequestWrapper(HttpServletRequest, int)},
* for removal in 7.0
*/
@Deprecated(forRemoval = true)
public ContentCachingRequestWrapper(HttpServletRequest request) {
super(request);
int contentLength = request.getContentLength();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static UriComponentsBuilder fromUriString(String uri, ParserType parserTy
* @deprecated as of 6.2, in favor of {@link #fromUriString(String)};
* scheduled for removal in 7.0.
*/
@Deprecated(since = "6.2")
@Deprecated(since = "6.2", forRemoval = true)
public static UriComponentsBuilder fromHttpUrl(String httpUrl) throws InvalidUrlException {
return fromUriString(httpUrl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public HttpStatusCode getStatusCode() {
* Return the raw HTTP status code value.
* @deprecated in favor of {@link #getStatusCode()}, for removal in 7.0
*/
@Deprecated(since = "6.0")
@Deprecated(since = "6.0", forRemoval = true)
public int getRawStatusCode() {
return this.statusCode.value();
}
Expand Down