This project has retired. For details please refer to its
Attic page .
GraphReader (Clerezza - Reactor 2.0.1-SNAPSHOT API)
JavaScript is disabled on your browser.
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Graph >
@Provider
@Consumes(value={"text/rdf+n3","application/n-triples","application/rdf+xml","text/turtle","application/x-turtle","application/rdf+json"})
public class GraphReader
extends Object
implements javax.ws.rs.ext.MessageBodyReader<Graph >
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Detail
GraphReader
public GraphReader()
Method Detail
isReadable
public boolean isReadable(Class <?> type,
Type genericType,
Annotation [] annotations,
javax.ws.rs.core.MediaType mediaType)
Specified by:
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Graph >
readFrom
public Graph readFrom(Class <Graph > type,
Type genericType,
Annotation [] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String ,String > httpHeaders,
InputStream entityStream)
throws IOException ,
javax.ws.rs.WebApplicationException
Specified by:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Graph >
Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2015–2022 The Apache Software Foundation . All rights reserved.