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

List of all members.

Public Member Functions

XmlRpcTransport getTransport ()
void setProxy (String proxyHost, int proxyPort)
void setProxy (Proxy pProxy)
 XmlRpcSun15HttpTransportFactory (XmlRpcClient pClient)

Private Attributes

Proxy proxy

Detailed Description

Default implementation of an HTTP transport in Java 1.5, based on the java.net.HttpURLConnection class.

Definition at line 28 of file XmlRpcSun15HttpTransportFactory.java.


Constructor & Destructor Documentation

Creates a new factory, which creates transports for the given client.

Parameters:
pClientThe client, which is operating the factory.

Definition at line 35 of file XmlRpcSun15HttpTransportFactory.java.


Member Function Documentation

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.

Reimplemented from org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory.

Definition at line 58 of file XmlRpcSun15HttpTransportFactory.java.

void org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory.setProxy ( String  proxyHost,
int  proxyPort 
) [inline]

Sets the proxy to use.

Parameters:
proxyHostThe proxy hostname.
proxyPortThe proxy port number.
Exceptions:
IllegalArgumentExceptionif the proxyHost parameter is null or if the proxyPort parameter is outside the range of valid port values.

Definition at line 46 of file XmlRpcSun15HttpTransportFactory.java.

Sets the proxy to use.

Parameters:
pProxyThe proxy settings.

Definition at line 54 of file XmlRpcSun15HttpTransportFactory.java.


Member Data Documentation

Definition at line 29 of file XmlRpcSun15HttpTransportFactory.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