org.apache.xmlrpc.client
Class XmlRpcSun14HttpTransportFactory

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
      extended by org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
All Implemented Interfaces:
XmlRpcTransportFactory
Direct Known Subclasses:
XmlRpcSun15HttpTransportFactory

public class XmlRpcSun14HttpTransportFactory
extends XmlRpcTransportFactoryImpl

Default implementation of an HTTP transport factory in Java 1.4, based on the HttpURLConnection class.


Constructor Summary
XmlRpcSun14HttpTransportFactory(XmlRpcClient pClient)
          Creates a new factory, which creates transports for the given client.
 
Method Summary
 javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
          Returns the SSLSocketFactory to be used by transports.
 XmlRpcTransport getTransport()
          Returns an instance of XmlRpcTransport.
 void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSocketFactory)
          Sets the SSLSocketFactory to be used by transports.
 
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcSun14HttpTransportFactory

public XmlRpcSun14HttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.

Parameters:
pClient - The client, which is operating the factory.
Method Detail

setSSLSocketFactory

public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSocketFactory)
Sets the SSLSocketFactory to be used by transports.

Parameters:
pSocketFactory - The SSLSocketFactory to use.

getSSLSocketFactory

public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
Returns the SSLSocketFactory to be used by transports.


getTransport

public XmlRpcTransport getTransport()
Description copied from interface: XmlRpcTransportFactory
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.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.