@Provider public class NotSupportedExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotSupportedException>
This mapper let us reply to the user with a pre-determined message format if, for example, receive a HTTP POST request with unsupported media type.
| Constructor and Description |
|---|
NotSupportedExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(javax.ws.rs.NotSupportedException exception) |
Copyright © 2014–2018 Red Hat, Inc.. All rights reserved.