use of org.exist.protocolhandler.xmlrpc.XmlrpcOutputStream in project exist by eXist-db.
the class EmbeddedURLConnection method getOutputStream.
@Override
public OutputStream getOutputStream() throws IOException {
if (LOG.isDebugEnabled()) {
LOG.debug(url);
}
final XmldbURL xmldbURL = new XmldbURL(url);
final OutputStream outputstream;
if (xmldbURL.isEmbedded()) {
outputstream = new EmbeddedOutputStream(xmldbURL);
} else {
outputstream = new XmlrpcOutputStream(threadGroup, xmldbURL);
}
return outputstream;
}
Aggregations