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 |
|---|---|
Proxy |
getProxy()
Returns the proxy to use.
|
protected void |
initHttpHeaders(XmlRpcRequest pRequest) |
protected URLConnection |
newURLConnection(URL pURL) |
void |
setProxy(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(Proxy pProxy)
public Proxy getProxy()
protected void initHttpHeaders(XmlRpcRequest pRequest) throws XmlRpcClientException
initHttpHeaders in class XmlRpcHttpTransportXmlRpcClientExceptionprotected URLConnection newURLConnection(URL pURL) throws IOException
newURLConnection in class XmlRpcSun14HttpTransportIOExceptionCopyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.