xmlBlaster 2.2.0 client API

org.xmlBlaster.util.protocol.xmlrpc
Class XblHttpTransportFactory

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
      extended by org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
          extended by org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
              extended by org.xmlBlaster.util.protocol.xmlrpc.XblHttpTransportFactory
All Implemented Interfaces:
org.apache.xmlrpc.client.XmlRpcTransportFactory

public class XblHttpTransportFactory
extends org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory


Constructor Summary
XblHttpTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
          Creates a new factory, which creates transports for the given client.
 
Method Summary
 org.apache.xmlrpc.client.XmlRpcTransport getTransport()
           
 void setProxy(java.net.Proxy pProxy)
          Sets the proxy to use.
 void setProxy(java.lang.String proxyHost, int proxyPort)
          Sets the proxy to use.
 
Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
getSSLSocketFactory, setSSLSocketFactory
 
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

XblHttpTransportFactory

public XblHttpTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.

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

setProxy

public void setProxy(java.lang.String proxyHost,
                     int proxyPort)
Sets the proxy to use.

Overrides:
setProxy in class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
Parameters:
proxyHost - The proxy hostname.
proxyPort - The proxy port number.
Throws:
java.lang.IllegalArgumentException - if the proxyHost parameter is null or if the proxyPort parameter is outside the range of valid port values.

setProxy

public void setProxy(java.net.Proxy pProxy)
Sets the proxy to use.

Overrides:
setProxy in class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
Parameters:
pProxy - The proxy settings.

getTransport

public org.apache.xmlrpc.client.XmlRpcTransport getTransport()
Specified by:
getTransport in interface org.apache.xmlrpc.client.XmlRpcTransportFactory
Overrides:
getTransport in class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.