ExceptionMapper to send down a "400 Bad Request"
in the event unparsable JSON is received.
Note that javax. annotation was include up to
Jackson 2.7, but removed from 2.8 (as per [jaxrs-providers#22]
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Response | toResponse(JsonParseException
the exception to map to a response. exception)Implements javax. Map an exception to a |
| JsonParseExceptionMapper | back to summary |
|---|---|
| public JsonParseExceptionMapper() | |
| toResponse | back to summary |
|---|---|
| public Response toResponse(JsonParseException exception) Implements javax. Doc from javax. Map an exception to a
| |