@Provider @Produces(value="application/graphml+xml") public class VariantGraphGraphMLMessageBodyWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<VariantGraph>
| Constructor and Description |
|---|
VariantGraphGraphMLMessageBodyWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(VariantGraph variantGraph,
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(VariantGraph graph,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public VariantGraphGraphMLMessageBodyWriter()
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<VariantGraph>public long getSize(VariantGraph variantGraph, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<VariantGraph>public void writeTo(VariantGraph graph, 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<VariantGraph>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2010–2015 The Interedition Development Group. All rights reserved.