@Deprecated @Provider public class JsonExceptionWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<WebException>
Constructor and Description |
---|
JsonExceptionWriter()
Deprecated.
|
Modifier and Type | Method and 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.
|
public JsonExceptionWriter()
public long getSize(WebException arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<WebException>
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<WebException>
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
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<WebException>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018 Nuxeo. All rights reserved.