@Provider public class DocumentCollectionWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLDataCollection>
| Constructor and Description |
|---|
DocumentCollectionWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(org.imixs.workflow.xml.XMLDataCollection arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(org.imixs.workflow.xml.XMLDataCollection entityCollection,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLDataCollection>public void writeTo(org.imixs.workflow.xml.XMLDataCollection entityCollection,
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<org.imixs.workflow.xml.XMLDataCollection>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic long getSize(org.imixs.workflow.xml.XMLDataCollection arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLDataCollection>Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.