public abstract class AbstractTupleEntityWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<TupleEntity>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTupleEntityWriter(javax.ws.rs.core.MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(TupleEntity tupleEntity,
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) |
protected abstract void |
write(org.eclipse.rdf4j.query.TupleQueryResult tupleQueryResult,
OutputStream outputStream) |
void |
writeTo(TupleEntity tupleEntity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap,
OutputStream outputStream) |
protected AbstractTupleEntityWriter(@NonNull
javax.ws.rs.core.MediaType mediaType)
protected abstract void write(org.eclipse.rdf4j.query.TupleQueryResult tupleQueryResult,
OutputStream outputStream)
throws IOException
IOExceptionpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<TupleEntity>public long getSize(TupleEntity tupleEntity, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<TupleEntity>public void writeTo(TupleEntity tupleEntity, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap, OutputStream outputStream) throws IOException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<TupleEntity>IOExceptionCopyright © 2017–2018 DotWebStack. All rights reserved.