public abstract class XmlRpcStreamTransport extends XmlRpcTransportImpl
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected class |
XmlRpcStreamTransport.GzipReqWriter |
protected static interface |
XmlRpcStreamTransport.ReqWriter |
protected class |
XmlRpcStreamTransport.ReqWriterImpl |
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
XmlRpcStreamTransport(XmlRpcClient pClient)
Creates a new instance on behalf of the given client.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract void |
close()
Closes the connection and ensures, that all resources are being
released.
|
protected abstract java.io.InputStream |
getInputStream()
Returns the input stream, from which the response is
being read.
|
protected boolean |
isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig) |
protected abstract boolean |
isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig)
Returns, whether the response is gzip compressed.
|
protected XmlRpcStreamTransport.ReqWriter |
newReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest)
Creates a new instance of
XmlRpcStreamTransport.ReqWriter. |
protected org.xml.sax.XMLReader |
newXMLReader() |
protected java.lang.Object |
readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig,
java.io.InputStream pStream) |
java.lang.Object |
sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
Send an XML-RPC message.
|
protected abstract void |
writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
getClientprotected XmlRpcStreamTransport(XmlRpcClient pClient)
protected abstract void close()
throws XmlRpcClientException
protected abstract boolean isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig)
pConfig - The clients configuration.protected abstract java.io.InputStream getInputStream()
throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionprotected boolean isCompressingRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig)
protected XmlRpcStreamTransport.ReqWriter newReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest) throws org.apache.xmlrpc.XmlRpcException, java.io.IOException, org.xml.sax.SAXException
XmlRpcStreamTransport.ReqWriter.org.apache.xmlrpc.XmlRpcException - Creating the instance failed.java.io.IOException - Creating the instance failed, because
an IOException occurs.org.xml.sax.SAXException - Creating the instance failed, because
the request could not be parsed.protected abstract void writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) throws org.apache.xmlrpc.XmlRpcException, java.io.IOException, org.xml.sax.SAXException
org.apache.xmlrpc.XmlRpcExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionpublic java.lang.Object sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
throws org.apache.xmlrpc.XmlRpcException
XmlRpcTransportpRequest - The request being performed.org.apache.xmlrpc.XmlRpcException - Performing the request failed.protected org.xml.sax.XMLReader newXMLReader()
throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcExceptionprotected java.lang.Object readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig,
java.io.InputStream pStream)
throws org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcException