Package org.nuxeo.ecm.webengine.app
Class JsonExceptionWriter
- java.lang.Object
-
- org.nuxeo.ecm.webengine.app.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 Summary
Constructors Constructor Description JsonExceptionWriter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getSize(WebException arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
Deprecated.boolean
isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
Deprecated.void
writeTo(WebException webException, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream outputStream)
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 interfacejavax.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 interfacejavax.ws.rs.ext.MessageBodyWriter<WebException>
-
writeTo
public void writeTo(WebException webException, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
Deprecated.- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<WebException>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-