|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
public class XmlRpcSun15HttpTransportFactory
Default implementation of an HTTP transport in Java 1.5, based on the
HttpURLConnection class.
| Constructor Summary | |
|---|---|
XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client. |
|
| Method Summary | |
|---|---|
XmlRpcTransport |
getTransport()
Returns an instance of XmlRpcTransport. |
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 |
|---|
public XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
pClient - The client, which is operating the factory.| Method Detail |
|---|
public void setProxy(java.lang.String proxyHost,
int proxyPort)
proxyHost - The proxy hostname.proxyPort - The proxy port number.
java.lang.IllegalArgumentException - if the proxyHost parameter is null or if
the proxyPort parameter is outside the range of valid port values.public void setProxy(java.net.Proxy pProxy)
pProxy - The proxy settings.public XmlRpcTransport getTransport()
XmlRpcTransportFactoryXmlRpcTransport. This may
be a singleton, but the caller should not depend on that:
A new instance may as well be created for any request.
getTransport in interface XmlRpcTransportFactorygetTransport in class XmlRpcSun14HttpTransportFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||