org.apache.xmlrpc.client
public abstract class XmlRpcStreamTransport extends XmlRpcTransportImpl
Nested Class Summary | |
---|---|
protected class | XmlRpcStreamTransport.GzipReqWriter |
protected interface | XmlRpcStreamTransport.ReqWriter |
protected class | XmlRpcStreamTransport.ReqWriterImpl |
Constructor Summary | |
---|---|
protected | XmlRpcStreamTransport(XmlRpcClient pClient) Creates a new instance on behalf of the given client. |
Method Summary | |
---|---|
protected abstract void | close() Closes the connection and ensures, that all resources are being
released. |
protected abstract InputStream | getInputStream() Returns the input stream, from which the response is
being read. |
protected boolean | isCompressingRequest(XmlRpcStreamRequestConfig pConfig) |
protected abstract boolean | isResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig) Returns, whether the response is gzip compressed. |
protected XmlRpcStreamTransport.ReqWriter | newReqWriter(XmlRpcRequest pRequest) |
protected XMLReader | newXMLReader() |
protected Object | readResponse(XmlRpcStreamRequestConfig pConfig, InputStream pStream) |
Object | sendRequest(XmlRpcRequest pRequest) |
protected abstract void | writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
Parameters: pConfig The clients configuration.
Returns: Whether the response stream is gzip compressed.