Interface MessageNotReadableAdviceTrait
-
- All Superinterfaces:
AdviceTrait,AdviceTrait
- All Known Subinterfaces:
IOAdviceTrait,ProblemHandling
@API(status=STABLE) public interface MessageNotReadableAdviceTrait extends AdviceTrait
- See Also:
HttpMessageNotReadableException,Status.BAD_REQUEST
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default org.springframework.http.ResponseEntity<org.zalando.problem.Problem>handleMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException exception, org.springframework.web.context.request.NativeWebRequest request)-
Methods inherited from interface org.zalando.problem.spring.common.AdviceTrait
createStackTrace, isCausalChainsEnabled, prepare, process, resolveResponseStatus, toProblem, toProblem, toProblem
-
-
-
-
Method Detail
-
handleMessageNotReadableException
@API(status=INTERNAL) @ExceptionHandler default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> handleMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException exception, org.springframework.web.context.request.NativeWebRequest request)
-
-