@Provider @Component public class QueryExecutionProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.QueryExecution>
Constructor and Description |
---|
QueryExecutionProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(com.hp.hpl.jena.query.QueryExecution rdf,
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(com.hp.hpl.jena.query.QueryExecution qexec,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public QueryExecutionProvider()
public void writeTo(com.hp.hpl.jena.query.QueryExecution qexec, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.QueryExecution>
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.QueryExecution>
public long getSize(com.hp.hpl.jena.query.QueryExecution rdf, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.QueryExecution>
Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.