Class JsonNuxeoExceptionWriter

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyWriter<NuxeoException>

    @Provider
    public class JsonNuxeoExceptionWriter
    extends Object
    implements javax.ws.rs.ext.MessageBodyWriter<NuxeoException>
    Since:
    9.3
    • Constructor Detail

      • JsonNuxeoExceptionWriter

        public JsonNuxeoExceptionWriter()
    • Method Detail

      • isWriteable

        public boolean isWriteable​(Class<?> arg0,
                                   Type arg1,
                                   Annotation[] arg2,
                                   javax.ws.rs.core.MediaType arg3)
        Specified by:
        isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<NuxeoException>