Class RdfStreamStreamingOutput
java.lang.Object
com.google.common.util.concurrent.internal.InternalFutureFailureAccess
com.google.common.util.concurrent.AbstractFuture<Void>
org.fcrepo.http.commons.responses.RdfStreamStreamingOutput
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<Void>,Future<Void>,javax.ws.rs.core.StreamingOutput
public class RdfStreamStreamingOutput
extends com.google.common.util.concurrent.AbstractFuture<Void>
implements javax.ws.rs.core.StreamingOutput
Serializes an
RdfStream.- Since:
- Oct 30, 2013
- Author:
- ajs6f
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionRdfStreamStreamingOutput(org.fcrepo.kernel.api.RdfStream rdfStream, Map<String, String> namespaces, javax.ws.rs.core.MediaType mediaType) Normal constructor -
Method Summary
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterruptedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
RdfStreamStreamingOutput
public RdfStreamStreamingOutput(org.fcrepo.kernel.api.RdfStream rdfStream, Map<String, String> namespaces, javax.ws.rs.core.MediaType mediaType) Normal constructor- Parameters:
rdfStream- the rdf streamnamespaces- a namespace mappingmediaType- the media type
-
-
Method Details
-
write
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput
-