public class XmlRpcLiteHttpTransport extends XmlRpcHttpTransport
XmlRpcHttpTransport.ByteArrayReqWriterXmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImplUSER_AGENT| コンストラクタと説明 |
|---|
XmlRpcLiteHttpTransport(XmlRpcClient pClient)
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 boolean |
isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig) |
protected java.net.Socket |
newSocket(boolean pSSL,
java.lang.String pHostName,
int pPort) |
java.lang.Object |
sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
Send an XML-RPC message.
|
protected void |
setRequestHeader(java.lang.String pHeader,
java.lang.String pValue) |
protected void |
writeRequest(XmlRpcStreamTransport.ReqWriter pWriter) |
getUserAgent, initHttpHeaders, newReqWriter, setCompressionHeaders, setContentLength, setCredentialsisCompressingRequest, newXMLReader, readResponsegetClientpublic XmlRpcLiteHttpTransport(XmlRpcClient pClient)
pClient - The client controlling this instance.public java.lang.Object sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
throws org.apache.xmlrpc.XmlRpcException
XmlRpcTransportsendRequest インタフェース内 XmlRpcTransportsendRequest クラス内 XmlRpcHttpTransportpRequest - The request being performed.org.apache.xmlrpc.XmlRpcException - Performing the request failed.protected void setRequestHeader(java.lang.String pHeader,
java.lang.String pValue)
setRequestHeader クラス内 XmlRpcHttpTransportprotected void close()
throws XmlRpcClientException
XmlRpcStreamTransportclose クラス内 XmlRpcStreamTransportXmlRpcClientExceptionprotected java.net.Socket newSocket(boolean pSSL,
java.lang.String pHostName,
int pPort)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionprotected boolean isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig)
XmlRpcStreamTransportisResponseGzipCompressed クラス内 XmlRpcStreamTransportpConfig - The clients configuration.protected java.io.InputStream getInputStream()
throws org.apache.xmlrpc.XmlRpcException
XmlRpcStreamTransportgetInputStream クラス内 XmlRpcStreamTransportorg.apache.xmlrpc.XmlRpcExceptionprotected boolean isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig)
isUsingByteArrayOutput クラス内 XmlRpcHttpTransportprotected 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