org.xmlBlaster.util.protocol.xmlrpc
Class XblHttpTransportFactory
java.lang.Object
  
org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
      
org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
          
org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
              
org.xmlBlaster.util.protocol.xmlrpc.XblHttpTransportFactory
- All Implemented Interfaces: 
 - org.apache.xmlrpc.client.XmlRpcTransportFactory
 
public class XblHttpTransportFactory
- extends org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
 
| 
Field Summary | 
private  java.net.Proxy | 
proxy
 
            | 
 
| 
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 | 
 
proxy
private java.net.Proxy proxy
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.
 
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
 
 
Copyright © 1999-2014 The xmlBlaster.org contributers.