public abstract class XmlRpcHttpTransport extends XmlRpcStreamTransport
XmlRpcSunHttpTransport,
or XmlRpcCommonsTransport.| 修飾子とタイプ | クラスと説明 |
|---|---|
protected class |
XmlRpcHttpTransport.ByteArrayReqWriter |
XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl| 修飾子とタイプ | フィールドと説明 |
|---|---|
static java.lang.String |
USER_AGENT
The user agent string.
|
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
XmlRpcHttpTransport(XmlRpcClient pClient,
java.lang.String pUserAgent) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.lang.String |
getUserAgent() |
protected void |
initHttpHeaders(org.apache.xmlrpc.XmlRpcRequest pRequest) |
protected boolean |
isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig) |
protected XmlRpcStreamTransport.ReqWriter |
newReqWriter(org.apache.xmlrpc.XmlRpcRequest pRequest)
Creates a new instance of
XmlRpcStreamTransport.ReqWriter. |
java.lang.Object |
sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
Send an XML-RPC message.
|
protected void |
setCompressionHeaders(XmlRpcHttpClientConfig pConfig) |
protected void |
setContentLength(int pLength) |
protected void |
setCredentials(XmlRpcHttpClientConfig pConfig) |
protected abstract void |
setRequestHeader(java.lang.String pHeader,
java.lang.String pValue) |
close, getInputStream, isCompressingRequest, isResponseGzipCompressed, newXMLReader, readResponse, writeRequestgetClientprotected XmlRpcHttpTransport(XmlRpcClient pClient, java.lang.String pUserAgent)
protected java.lang.String getUserAgent()
protected abstract void setRequestHeader(java.lang.String pHeader,
java.lang.String pValue)
protected void setCredentials(XmlRpcHttpClientConfig pConfig) throws XmlRpcClientException
protected void setContentLength(int pLength)
protected void setCompressionHeaders(XmlRpcHttpClientConfig pConfig)
protected void initHttpHeaders(org.apache.xmlrpc.XmlRpcRequest pRequest)
throws XmlRpcClientException
public java.lang.Object sendRequest(org.apache.xmlrpc.XmlRpcRequest pRequest)
throws org.apache.xmlrpc.XmlRpcException
XmlRpcTransportsendRequest インタフェース内 XmlRpcTransportsendRequest クラス内 XmlRpcStreamTransportpRequest - The request being performed.org.apache.xmlrpc.XmlRpcException - Performing the request failed.protected boolean isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig)
protected 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.