org.exist.protocolhandler.xmlrpc
Class XmlrpcUpload
java.lang.Object
org.exist.protocolhandler.xmlrpc.XmlrpcUpload
public class XmlrpcUpload
- extends Object
Write document using XMLRPC to remote database and read the data
from an input stream.
Sends a document to an eXist-db server using XMLRPC. The document can be
either XML or non-XML (binary). Chunked means that the document is send
as smaller parts to the server, the servler glues the parts together. There
is no limitation on the size of the documents that can be transported.
- Author:
- Dannes Wessels
Method Summary |
void |
stream(XmldbURL xmldbURL,
InputStream is)
Write data from a (input)stream to the specified XMLRPC url and leave
the input stream open. |
XmlrpcUpload
public XmlrpcUpload()
stream
public void stream(XmldbURL xmldbURL,
InputStream is)
throws IOException
- Write data from a (input)stream to the specified XMLRPC url and leave
the input stream open.
- Parameters:
xmldbURL
- URL pointing to location on eXist-db server.is
- Document stream
- Throws:
Exception
- When something is wrong.
IOException
Copyright (C) Wolfgang Meier. All rights reserved.