public class XmlRpcSun15HttpTransportFactory extends XmlRpcSun14HttpTransportFactory
HttpURLConnection class.| コンストラクタと説明 |
|---|
XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
getSSLSocketFactory, setSSLSocketFactorygetClientpublic XmlRpcSun15HttpTransportFactory(XmlRpcClient pClient)
pClient - The client, which is operating the factory.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 インタフェース内 XmlRpcTransportFactorygetTransport クラス内 XmlRpcSun14HttpTransportFactory