public class XmlRpcSun15HttpTransport extends XmlRpcSun14HttpTransport
HttpURLConnection
class. Adds support for the
Proxy
class.XmlRpcHttpTransport.ByteArrayReqWriter
XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl
USER_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, setSSLSocketFactory
close, getInputStream, getURLConnection, isResponseGzipCompressed, sendRequest, setRequestHeader, writeRequest
getUserAgent, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentials
isCompressingRequest, newXMLReader, readResponse
getClient
public 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 XmlRpcHttpTransport
XmlRpcClientException
protected URLConnection newURLConnection(URL pURL) throws IOException
newURLConnection
in class XmlRpcSun14HttpTransport
IOException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.