Browse Source

Update Javadoc in DefaultResponseErrorHandler

Closes gh-27569
pull/27630/head
Smile 3 years ago committed by Rossen Stoyanchev
parent
commit
4978eeff7f
  1. 4
      spring-web/src/main/java/org/springframework/web/client/DefaultResponseErrorHandler.java

4
spring-web/src/main/java/org/springframework/web/client/DefaultResponseErrorHandler.java

@ -123,9 +123,9 @@ public class DefaultResponseErrorHandler implements ResponseErrorHandler {
} }
/** /**
* Return error message with details from the response body, possibly truncated: * Return error message with details from the response body:
* <pre> * <pre>
* 404 Not Found: [{'id': 123, 'message': 'my very long... (500 bytes)] * 404 Not Found: [{'id': 123, 'message': 'my message'}]
* </pre> * </pre>
*/ */
private String getErrorMessage( private String getErrorMessage(

Loading…
Cancel
Save