@Provider public class CswRecordCollectionMessageBodyWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<CswRecordCollection>
CswRecordCollection
Constructor and Description |
---|
CswRecordCollectionMessageBodyWriter(TransformerManager manager) |
Modifier and Type | Method and Description |
---|---|
long |
getSize(CswRecordCollection recordCollection,
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(CswRecordCollection recordCollection,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream outStream) |
public CswRecordCollectionMessageBodyWriter(TransformerManager manager)
public long getSize(CswRecordCollection recordCollection, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<CswRecordCollection>
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<CswRecordCollection>
public void writeTo(CswRecordCollection recordCollection, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream outStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<CswRecordCollection>
IOException
javax.ws.rs.WebApplicationException
This work is licensed under a Creative Commons Attribution 4.0 International License.