@Provider public class JsonAdapterWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<JsonAdapter>
Constructor and Description |
---|
JsonAdapterWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(JsonAdapter t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(JsonAdapter arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4,
javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream arg6) |
public JsonAdapterWriter()
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<JsonAdapter>
public long getSize(JsonAdapter t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<JsonAdapter>
public void writeTo(JsonAdapter arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream arg6) throws IOException, javax.ws.rs.WebApplicationException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<JsonAdapter>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2016 Nuxeo SA. All rights reserved.