org.apache.clerezza.jaxrs.rdf.providers
Class TripleCollectionReader
java.lang.Object
org.apache.clerezza.jaxrs.rdf.providers.TripleCollectionReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<org.apache.clerezza.rdf.core.TripleCollection>
@Provider
public class TripleCollectionReader
- extends Object
- implements javax.ws.rs.ext.MessageBodyReader<org.apache.clerezza.rdf.core.TripleCollection>
- Author:
- reto
|
Method Summary |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
org.apache.clerezza.rdf.core.TripleCollection |
readFrom(Class<org.apache.clerezza.rdf.core.TripleCollection> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TripleCollectionReader
public TripleCollectionReader()
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<org.apache.clerezza.rdf.core.TripleCollection>
readFrom
public org.apache.clerezza.rdf.core.TripleCollection readFrom(Class<org.apache.clerezza.rdf.core.TripleCollection> 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<org.apache.clerezza.rdf.core.TripleCollection>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.