Classes | |
class | ByteArrayReqWriter |
Public Member Functions | |
Object | sendRequest (XmlRpcRequest pRequest) throws XmlRpcException |
Static Public Attributes | |
static final String | USER_AGENT |
Protected Member Functions | |
String | getUserAgent () |
void | initHttpHeaders (XmlRpcRequest pRequest) throws XmlRpcClientException |
boolean | isUsingByteArrayOutput (XmlRpcHttpClientConfig pConfig) |
ReqWriter | newReqWriter (XmlRpcRequest pRequest) throws XmlRpcException, IOException, SAXException |
void | setCompressionHeaders (XmlRpcHttpClientConfig pConfig) |
void | setContentLength (int pLength) |
void | setCredentials (XmlRpcHttpClientConfig pConfig) throws XmlRpcClientException |
abstract void | setRequestHeader (String pHeader, String pValue) |
XmlRpcHttpTransport (XmlRpcClient pClient, String pUserAgent) | |
Static Package Functions | |
[static initializer] | |
Private Attributes | |
String | userAgent |
Abstract base implementation of an HTTP transport. Base class for the concrete implementations, like org.apache.xmlrpc.client.XmlRpcSunHttpTransport, or org.apache.xmlrpc.client.XmlRpcCommonsTransport.
Definition at line 40 of file XmlRpcHttpTransport.java.
org.apache.xmlrpc.client.XmlRpcHttpTransport.XmlRpcHttpTransport | ( | XmlRpcClient | pClient, |
String | pUserAgent | ||
) | [inline, protected] |
Definition at line 93 of file XmlRpcHttpTransport.java.
org.apache.xmlrpc.client.XmlRpcHttpTransport.[static initializer] | ( | ) | [inline, static, package] |
String org.apache.xmlrpc.client.XmlRpcHttpTransport.getUserAgent | ( | ) | [inline, protected] |
Definition at line 98 of file XmlRpcHttpTransport.java.
void org.apache.xmlrpc.client.XmlRpcHttpTransport.initHttpHeaders | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcClientException [inline, protected] |
Reimplemented in org.apache.xmlrpc.client.XmlRpcCommonsTransport, and org.apache.xmlrpc.client.XmlRpcSun15HttpTransport.
Definition at line 130 of file XmlRpcHttpTransport.java.
boolean org.apache.xmlrpc.client.XmlRpcHttpTransport.isUsingByteArrayOutput | ( | XmlRpcHttpClientConfig | pConfig | ) | [inline, protected] |
Reimplemented in org.apache.xmlrpc.client.XmlRpcLiteHttpTransport.
Definition at line 146 of file XmlRpcHttpTransport.java.
ReqWriter org.apache.xmlrpc.client.XmlRpcHttpTransport.newReqWriter | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcException, IOException, SAXException [inline, protected] |
Creates a new instance of ReqWriter.
XmlRpcException | Creating the instance failed. |
IOException | Creating the instance failed, because an IOException occurs. |
SAXException | Creating the instance failed, because the request could not be parsed. |
Reimplemented from org.apache.xmlrpc.client.XmlRpcStreamTransport.
Definition at line 151 of file XmlRpcHttpTransport.java.
Object org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcException [inline] |
Send an XML-RPC message. This method is called to send a message to the other party.
pRequest | The request being performed. |
XmlRpcException | Performing the request failed. |
Reimplemented from org.apache.xmlrpc.client.XmlRpcStreamTransport.
Reimplemented in org.apache.xmlrpc.client.XmlRpcLiteHttpTransport, and org.apache.xmlrpc.client.XmlRpcSunHttpTransport.
Definition at line 141 of file XmlRpcHttpTransport.java.
void org.apache.xmlrpc.client.XmlRpcHttpTransport.setCompressionHeaders | ( | XmlRpcHttpClientConfig | pConfig | ) | [inline, protected] |
Definition at line 121 of file XmlRpcHttpTransport.java.
void org.apache.xmlrpc.client.XmlRpcHttpTransport.setContentLength | ( | int | pLength | ) | [inline, protected] |
Reimplemented in org.apache.xmlrpc.client.XmlRpcCommonsTransport.
Definition at line 117 of file XmlRpcHttpTransport.java.
void org.apache.xmlrpc.client.XmlRpcHttpTransport.setCredentials | ( | XmlRpcHttpClientConfig | pConfig | ) | throws XmlRpcClientException [inline, protected] |
Reimplemented in org.apache.xmlrpc.client.XmlRpcCommonsTransport.
Definition at line 102 of file XmlRpcHttpTransport.java.
abstract void org.apache.xmlrpc.client.XmlRpcHttpTransport.setRequestHeader | ( | String | pHeader, |
String | pValue | ||
) | [protected, pure virtual] |
final String org.apache.xmlrpc.client.XmlRpcHttpTransport.USER_AGENT [static] |
The user agent string.
Definition at line 65 of file XmlRpcHttpTransport.java.
String org.apache.xmlrpc.client.XmlRpcHttpTransport.userAgent [private] |
Reimplemented in org.apache.xmlrpc.client.XmlRpcCommonsTransport, org.apache.xmlrpc.client.XmlRpcLiteHttpTransport, and org.apache.xmlrpc.client.XmlRpcSunHttpTransport.
Definition at line 90 of file XmlRpcHttpTransport.java.