org.nuxeo.ecm.automation.server.jaxrs.io.writers
Class JsonPrimitiveWriter
java.lang.Object
org.nuxeo.ecm.automation.server.jaxrs.io.writers.JsonPrimitiveWriter
- All Implemented Interfaces:
- MessageBodyWriter<Object>
public class JsonPrimitiveWriter
- extends Object
- implements MessageBodyWriter<Object>
Method Summary |
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)
|
JsonPrimitiveWriter
public JsonPrimitiveWriter()
getSize
public long getSize(Object arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
- Specified by:
getSize
in interface MessageBodyWriter<Object>
isWriteable
public boolean isWriteable(Class<?> typeClass,
Type arg1,
Annotation[] arg2,
MediaType arg3)
- Specified by:
isWriteable
in interface MessageBodyWriter<Object>
writeTo
public void writeTo(Object value,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream out)
throws IOException,
WebApplicationException
- Specified by:
writeTo
in interface MessageBodyWriter<Object>
- Throws:
IOException
WebApplicationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.