| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
JsonRecordSetWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(RecordSet 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) |
protected void |
writeRecords(OutputStream out,
RecordSet records) |
void |
writeTo(RecordSet records,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream out) |
protected static org.apache.commons.logging.Log log
public JsonRecordSetWriter()
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<RecordSet>public long getSize(RecordSet t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<RecordSet>public void writeTo(RecordSet records, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream out) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<RecordSet>IOExceptionjavax.ws.rs.WebApplicationExceptionprotected void writeRecords(OutputStream out, RecordSet records) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.