Public Member Functions | Private Attributes
org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

HttpClient getHttpClient ()
XmlRpcTransport getTransport ()
void setHttpClient (HttpClient pHttpClient)
 XmlRpcCommonsTransportFactory (XmlRpcClient pClient)

Private Attributes

HttpClient httpClient

Detailed Description

An HTTP transport factory, which is based on the Jakarta Commons HTTP Client.

Definition at line 27 of file XmlRpcCommonsTransportFactory.java.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pClientThe client, which is controlling the factory.

Definition at line 33 of file XmlRpcCommonsTransportFactory.java.


Member Function Documentation

Returns the factories HttpClient. By default, a new instance of HttpClient is created for any request.

Reusing the HttpClient is required, if you want to preserve some state between requests. This applies, in particular, if you want to use cookies: In that case, create an instance of HttpClient, give it to the factory, and use HttpClient#getState() to read or set cookies.

Definition at line 63 of file XmlRpcCommonsTransportFactory.java.

Returns an instance of XmlRpcTransport. This may be a singleton, but the caller should not depend on that: A new instance may as well be created for any request.

Returns:
The configured transport.

Implements org.apache.xmlrpc.client.XmlRpcTransportFactory.

Definition at line 37 of file XmlRpcCommonsTransportFactory.java.

Sets the factories HttpClient. By default, a new instance of HttpClient is created for any request.

Reusing the HttpClient is required, if you want to preserve some state between requests. This applies, in particular, if you want to use cookies: In that case, create an instance of HttpClient, give it to the factory, and use HttpClient#getState() to read or set cookies.

Definition at line 50 of file XmlRpcCommonsTransportFactory.java.


Member Data Documentation

Definition at line 28 of file XmlRpcCommonsTransportFactory.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