public class JsonPrimitiveWriter extends Object implements MessageBodyWriter<Object>
Constructor and Description |
---|
JsonPrimitiveWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(Object arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4) |
boolean |
isWriteable(Class<?> typeClass,
Type arg1,
Annotation[] arg2,
MediaType arg3) |
void |
writeTo(Object value,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream out) |
public long getSize(Object arg0, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4)
getSize
in interface MessageBodyWriter<Object>
public boolean isWriteable(Class<?> typeClass, Type arg1, Annotation[] arg2, MediaType arg3)
isWriteable
in interface MessageBodyWriter<Object>
public void writeTo(Object value, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4, MultivaluedMap<String,Object> arg5, OutputStream out) throws IOException, WebApplicationException
writeTo
in interface MessageBodyWriter<Object>
IOException
WebApplicationException
Copyright © 2011 Nuxeo SA. All Rights Reserved.