Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportImpl
org.apache.xmlrpc.client.XmlRpcStreamTransport
org.apache.xmlrpc.client.XmlRpcHttpTransport
public abstract class XmlRpcHttpTransport
extends XmlRpcStreamTransport
XmlRpcSunHttpTransport
,
or XmlRpcCommonsTransport
.
Nested Class Summary | |
protected class |
Nested classes/interfaces inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport | |
XmlRpcStreamTransport.GzipReqWriter , XmlRpcStreamTransport.ReqWriter , XmlRpcStreamTransport.ReqWriterImpl |
Field Summary | |
static String |
|
Constructor Summary | |
|
Method Summary | |
protected String | |
protected void |
|
protected boolean | |
protected XmlRpcStreamTransport.ReqWriter |
|
Object |
|
protected void | |
protected void |
|
protected void |
|
protected abstract void |
|
Methods inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport | |
close , getInputStream , isCompressingRequest , isResponseGzipCompressed , newReqWriter , newXMLReader , readResponse , sendRequest , writeRequest |
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportImpl | |
getClient |
protected String getUserAgent()
protected XmlRpcStreamTransport.ReqWriter newReqWriter(XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException
- Overrides:
- newReqWriter in interface XmlRpcStreamTransport
public Object sendRequest(XmlRpcRequest pRequest) throws XmlRpcException
Send an XML-RPC message. This method is called to send a message to the other party.
- Specified by:
- sendRequest in interface XmlRpcTransport
- Overrides:
- sendRequest in interface XmlRpcStreamTransport
- Parameters:
pRequest
- The request being performed.
- Returns:
- Result object, if invoking the remote method was successfull.
- Throws:
XmlRpcException
- Performing the request failed.
protected void setContentLength(int pLength)
protected void setCredentials(XmlRpcHttpClientConfig pConfig) throws XmlRpcClientException
protected abstract void setRequestHeader(String pHeader, String pValue)