@Provider public class DocumentRouteListWriter extends EntityListWriter<DocumentRoute>
| Constructor and Description |
|---|
DocumentRouteListWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(List<DocumentRoute> docRoutes,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
isWriteablegetSize, writeEntitypublic void writeTo(List<DocumentRoute> docRoutes, 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<DocumentRoute>>writeTo in class EntityWriter<List<DocumentRoute>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2015 Nuxeo SA. All rights reserved.