@Provider public class TripleCollectionReader extends Object implements javax.ws.rs.ext.MessageBodyReader<TripleCollection>
Constructor and Description |
---|
TripleCollectionReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
TripleCollection |
readFrom(Class<TripleCollection> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<TripleCollection>
public TripleCollection readFrom(Class<TripleCollection> type, Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<TripleCollection>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.