org.apache.xmlrpc.server
public abstract class XmlRpcStreamServer extends XmlRpcServer implements XmlRpcStreamRequestProcessor
Method Summary | |
---|---|
void | execute(XmlRpcStreamRequestConfig pConfig, ServerStreamConnection pConnection) Returns, whether the
/** Processes a "connection". |
protected InputStream | getInputStream(XmlRpcStreamRequestConfig pConfig, ServerStreamConnection pConnection) |
protected OutputStream | getOutputStream(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream) Called to prepare the output stream. |
protected OutputStream | getOutputStream(XmlRpcStreamRequestConfig pConfig, ServerStreamConnection pConnection, int pSize) Called to prepare the output stream, if content length is
required. |
protected XmlRpcRequest | getRequest(XmlRpcStreamRequestConfig pConfig, InputStream pStream) |
protected XmlRpcWriter | getXmlRpcWriter(XmlRpcStreamRequestConfig pConfig, OutputStream pStream) |
XmlWriterFactory | getXMLWriterFactory() Returns the XML Writer factory. |
protected boolean | isContentLengthRequired(XmlRpcStreamRequestConfig pConfig) Returns, whether the requests content length is required. |
void | setXMLWriterFactory(XmlWriterFactory pFactory) Sets the XML Writer factory. |
protected void | writeError(XmlRpcStreamRequestConfig pConfig, OutputStream pStream, Throwable pError) |
protected void | writeResponse(XmlRpcStreamRequestConfig pConfig, OutputStream pStream, Object pResult) |
Parameters: pConfig The request configuration. pConnection The "connection" being processed.
Throws: XmlRpcException Processing the request failed.
Returns: The XML Writer factory.
Parameters: pFactory The XML Writer factory.