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