@Provider public class TaskListWriter extends EntityListWriter<Task>
Constructor and Description |
---|
TaskListWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeTo(List<Task> tasks,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
isWriteable
getSize, writeEntity
public void writeTo(List<Task> tasks, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<List<Task>>
writeTo
in class EntityWriter<List<Task>>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2015 Nuxeo SA. All rights reserved.