@Path("post")
public void postDiscobit(@QueryParam("graph") UriRef graphUri,
@FormParam("assert") String assertedString,
@FormParam("revoke") String revokedString) {
MessageBodyReader<Graph> graphReader = providers.getMessageBodyReader(Graph.class, Graph.class, null,rdfXmlType);
final Graph assertedGraph;
final Graph revokedGraph;
try {
assertedGraph = graphReader.readFrom(Graph.class, Graph.class, new Annotation[0], rdfXmlType, null, new ByteArrayInputStream(assertedString.getBytes()));
revokedGraph = graphReader.readFrom(Graph.class, Graph.class, new Annotation[0], rdfXmlType, null, new ByteArrayInputStream(revokedString.getBytes()));
} catch (IOException ex) {
logger.error("reading graph {}", ex);