public final class Put extends ResponseProcessor
@PutMapping 的响应处理方法类ok| Constructor and Description |
|---|
Put() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
error(java.lang.Throwable ex)
创建一个
HttpStatus.INTERNAL_SERVER_ERROR 的
ResponseEntity对象 |
error, error, ok, okpublic org.springframework.http.ResponseEntity<java.lang.String> error(java.lang.Throwable ex)
ResponseProcessorHttpStatus.INTERNAL_SERVER_ERROR 的
ResponseEntity对象error in class ResponseProcessorex - 异常对象. code 的值为 500;msg 的值为 ex.getMessage()ResponseEntity<String>