Package org.apache.xmlrpc.client
Class XmlRpcSun15HttpTransport
- All Implemented Interfaces:
XmlRpcTransport
Default implementation of an HTTP transport in Java 1.4, based on the
HttpURLConnection
class. Adds support for the
Proxy
class.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport
XmlRpcHttpTransport.ByteArrayReqWriter
Nested classes/interfaces inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport
XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl
-
Field Summary
FieldsFields inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport
USER_AGENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProxy()
Returns the proxy to use.protected void
initHttpHeaders
(XmlRpcRequest pRequest) protected URLConnection
newURLConnection
(URL pURL) void
Sets the proxy to use.Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun14HttpTransport
getSSLSocketFactory, setSSLSocketFactory
Methods inherited from class org.apache.xmlrpc.client.XmlRpcSunHttpTransport
close, getInputStream, getURLConnection, isResponseGzipCompressed, sendRequest, setRequestHeader, writeRequest
Methods inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport
getUserAgent, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentials
Methods inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport
isCompressingRequest, newXMLReader, readResponse
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportImpl
getClient
-
Field Details
-
proxy
-
-
Constructor Details
-
XmlRpcSun15HttpTransport
Creates a new instance.- Parameters:
pClient
- The client controlling this instance.
-
-
Method Details
-
setProxy
Sets the proxy to use. -
getProxy
Returns the proxy to use. -
initHttpHeaders
- Overrides:
initHttpHeaders
in classXmlRpcHttpTransport
- Throws:
XmlRpcClientException
-
newURLConnection
- Overrides:
newURLConnection
in classXmlRpcSun14HttpTransport
- Throws:
IOException
-