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 anRdfStream.- Since:
- Oct 30, 2013
- Author:
- ajs6f
-
-
Constructor Summary
Constructors Constructor Description RdfStreamStreamingOutput(org.fcrepo.kernel.api.RdfStream rdfStream, Map<String,String> namespaces, javax.ws.rs.core.MediaType mediaType)Normal constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(OutputStream output)
-
-
-
Constructor Detail
-
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 Detail
-
write
public void write(OutputStream output)
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput
-
-