Interface UnsupportedMediaTypeAdviceTrait
-
- All Superinterfaces:
AdviceTrait,AdviceTrait
- All Known Subinterfaces:
HttpAdviceTrait,ProblemHandling
@API(status=STABLE) public interface UnsupportedMediaTypeAdviceTrait extends AdviceTrait
- See Also:
HttpMediaTypeNotSupportedException,Status.UNSUPPORTED_MEDIA_TYPE
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default org.springframework.http.ResponseEntity<org.zalando.problem.Problem>handleMediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotSupportedException 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
-
handleMediaTypeNotSupportedException
@API(status=INTERNAL) @ExceptionHandler default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> handleMediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotSupportedException exception, org.springframework.web.context.request.NativeWebRequest request)
-
-