public class XmlRpcSun15HttpTransportFactory extends XmlRpcSun14HttpTransportFactory
HttpURLConnection class.| Constructor and Description |
|---|
XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.
|
| Modifier and Type | Method and Description |
|---|---|
XmlRpcTransport |
getTransport()
Returns an instance of
XmlRpcTransport. |
void |
setProxy(Proxy pProxy)
Sets the proxy to use.
|
void |
setProxy(String proxyHost,
int proxyPort)
Sets the proxy to use.
|
getSSLSocketFactory, setSSLSocketFactorygetClientpublic XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
pClient - The client, which is operating the factory.public void setProxy(String proxyHost, int proxyPort)
proxyHost - The proxy hostname.proxyPort - The proxy port number.IllegalArgumentException - if the proxyHost parameter is null or if
the proxyPort parameter is outside the range of valid port values.public void setProxy(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 XmlRpcSun14HttpTransportFactoryCopyright © 2001–2025 The Apache Software Foundation. All rights reserved.