public class DefaultStreamFactory
extends java.lang.Object
| Constructor and Description |
|---|
DefaultStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputHandler(InputContentHandler contentHandler)
Sets an
InputContentHandler to be used |
void |
addMongoIdFactory(MongoIdFactory mongoIdFactory)
Sets the id factory
|
java.io.InputStream |
createInputStream(URI uri,
java.util.Map<?,?> options,
<any> collection,
java.util.Map<java.lang.Object,java.lang.Object> response) |
java.io.OutputStream |
createOutputStream(URI uri,
java.util.Map<?,?> options,
<any> collection,
java.util.Map<java.lang.Object,java.lang.Object> response) |
void |
removeInputHandler(InputContentHandler contentHandler)
Un-sets an
InputContentHandler to be used |
void |
removeMongoIdFactory(MongoIdFactory mongoIdFactory)
Un-sets the id factory
|
void |
setConverterService(ConverterService converterService)
Sets the converter service
|
void |
setQueryEngine(QueryEngine queryEngine)
Sets the query engine
|
public java.io.OutputStream createOutputStream(URI uri,
java.util.Map<?,?> options,
<any> collection,
java.util.Map<java.lang.Object,java.lang.Object> response)
public java.io.InputStream createInputStream(URI uri,
java.util.Map<?,?> options,
<any> collection,
java.util.Map<java.lang.Object,java.lang.Object> response)
throws java.io.IOException
java.io.IOExceptionpublic void setConverterService(ConverterService converterService)
converterService - the converter service to setpublic void setQueryEngine(QueryEngine queryEngine)
queryEngine - the query engine to setpublic void addMongoIdFactory(MongoIdFactory mongoIdFactory)
mongoIdFactory - the id factory to be addedpublic void removeMongoIdFactory(MongoIdFactory mongoIdFactory)
mongoIdFactory - the id factory to be removedpublic void addInputHandler(InputContentHandler contentHandler)
InputContentHandler to be usedcontentHandler - the id factory to be addedpublic void removeInputHandler(InputContentHandler contentHandler)
InputContentHandler to be usedcontentHandler - the content handler to be removedBryan Hunt, Data In Motion Consulting