public class XmlRpcLocalStreamTransport extends XmlRpcStreamTransport
XmlRpcLocalTransport,
except that it adds request serialization. In other words, it is
particularly well suited for development and testing of XML serialization
and parsing.XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl| コンストラクタと説明 |
|---|
XmlRpcLocalStreamTransport(XmlRpcClient pClient,
org.apache.xmlrpc.common.XmlRpcStreamRequestProcessor pServer)
Creates a new instance.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
close()
Closes the connection and ensures, that all resources are being
released.
|
protected java.io.InputStream |
getInputStream()
Returns the input stream, from which the response is
being read.
|
protected 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 void |
writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
isCompressingRequest, newXMLReader, readResponse, sendRequestgetClientpublic XmlRpcLocalStreamTransport(XmlRpcClient pClient, org.apache.xmlrpc.common.XmlRpcStreamRequestProcessor pServer)
pClient - The client, which is controlling the transport.pServer - An instance of XmlRpcStreamRequestProcessor.protected boolean isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig)
XmlRpcStreamTransportisResponseGzipCompressed クラス内 XmlRpcStreamTransportpConfig - The clients configuration.protected void close()
throws XmlRpcClientException
XmlRpcStreamTransportclose クラス内 XmlRpcStreamTransportXmlRpcClientExceptionprotected java.io.InputStream getInputStream()
throws org.apache.xmlrpc.XmlRpcException
XmlRpcStreamTransportgetInputStream クラス内 XmlRpcStreamTransportorg.apache.xmlrpc.XmlRpcExceptionprotected XmlRpcStreamTransport.ReqWriter newReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest) throws org.apache.xmlrpc.XmlRpcException, java.io.IOException, org.xml.sax.SAXException
XmlRpcStreamTransportXmlRpcStreamTransport.ReqWriter.newReqWriter クラス内 XmlRpcStreamTransportorg.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 void writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) throws org.apache.xmlrpc.XmlRpcException, java.io.IOException, org.xml.sax.SAXException
writeRequest クラス内 XmlRpcStreamTransportorg.apache.xmlrpc.XmlRpcExceptionjava.io.IOExceptionorg.xml.sax.SAXException