Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Package Functions | Private Attributes
org.apache.xmlrpc.client.XmlRpcHttpTransport Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcHttpTransport:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

org.apache.xmlrpc.client.XmlRpcHttpTransport.XmlRpcHttpTransport ( XmlRpcClient  pClient,
String  pUserAgent 
) [inline, protected]

Definition at line 93 of file XmlRpcHttpTransport.java.


Member Function Documentation

org.apache.xmlrpc.client.XmlRpcHttpTransport.[static initializer] ( ) [inline, static, package]

Definition at line 98 of file XmlRpcHttpTransport.java.

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.

Exceptions:
XmlRpcExceptionCreating the instance failed.
IOExceptionCreating the instance failed, because an IOException occurs.
SAXExceptionCreating 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.

Send an XML-RPC message. This method is called to send a message to the other party.

Parameters:
pRequestThe request being performed.
Returns:
Result object, if invoking the remote method was successfull.
Exceptions:
XmlRpcExceptionPerforming 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.

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.

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]

Member Data Documentation

The user agent string.

Definition at line 65 of file XmlRpcHttpTransport.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50