Class JsonExceptionWriter

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

    @Deprecated
    @Provider
    public class JsonExceptionWriter
    extends Object
    implements javax.ws.rs.ext.MessageBodyWriter<WebException>
    Deprecated.
    since 9.3
    Since:
    6.0
    • Constructor Detail

      • JsonExceptionWriter

        public JsonExceptionWriter()
        Deprecated.
    • Method Detail

      • getSize

        public long getSize​(WebException arg0,
                            Class<?> arg1,
                            Type arg2,
                            Annotation[] arg3,
                            javax.ws.rs.core.MediaType arg4)
        Deprecated.
        Specified by:
        getSize in interface javax.ws.rs.ext.MessageBodyWriter<WebException>
      • isWriteable

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