public class XmlRpcSun15HttpTransport extends XmlRpcSun14HttpTransport
HttpURLConnection class. Adds support for the
Proxy class.XmlRpcHttpTransport.ByteArrayReqWriterXmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImplUSER_AGENT| Constructor and Description |
|---|
XmlRpcSun15HttpTransport(XmlRpcClient pClient)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.Proxy |
getProxy()
Returns the proxy to use.
|
protected void |
initHttpHeaders(XmlRpcRequest pRequest) |
protected java.net.URLConnection |
newURLConnection(java.net.URL pURL) |
void |
setProxy(java.net.Proxy pProxy)
Sets the proxy to use.
|
getSSLSocketFactory, setSSLSocketFactoryclose, getInputStream, getURLConnection, isResponseGzipCompressed, sendRequest, setRequestHeader, writeRequestgetUserAgent, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentialsisCompressingRequest, newXMLReader, readResponsegetClientpublic XmlRpcSun15HttpTransport(XmlRpcClient pClient)
pClient - The client controlling this instance.public void setProxy(java.net.Proxy pProxy)
public java.net.Proxy getProxy()
protected void initHttpHeaders(XmlRpcRequest pRequest) throws XmlRpcClientException
initHttpHeaders in class XmlRpcHttpTransportXmlRpcClientExceptionprotected java.net.URLConnection newURLConnection(java.net.URL pURL)
throws java.io.IOException
newURLConnection in class XmlRpcSun14HttpTransportjava.io.IOExceptionCopyright © 2001-2013. All Rights Reserved.