Package org.apache.xmlrpc.client
Class XmlRpcSun14HttpTransport
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportImpl
org.apache.xmlrpc.client.XmlRpcStreamTransport
org.apache.xmlrpc.client.XmlRpcHttpTransport
org.apache.xmlrpc.client.XmlRpcSunHttpTransport
org.apache.xmlrpc.client.XmlRpcSun14HttpTransport
- All Implemented Interfaces:
XmlRpcTransport
- Direct Known Subclasses:
XmlRpcSun15HttpTransport
Default implementation of an HTTP transport in Java 1.4, based on the
HttpURLConnection
class. Adds support for the
SSLSocketFactory
.-
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 TypeMethodDescriptionReturns the SSLSocketFactory used to create secure sockets.protected URLConnection
newURLConnection
(URL pURL) void
setSSLSocketFactory
(SSLSocketFactory pSocketFactory) Sets the SSLSocketFactory used to create secure sockets.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, initHttpHeaders, 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
-
sslSocketFactory
-
-
Constructor Details
-
XmlRpcSun14HttpTransport
Creates a new instance.- Parameters:
pClient
- The client controlling this instance.
-
-
Method Details
-
setSSLSocketFactory
Sets the SSLSocketFactory used to create secure sockets.- Parameters:
pSocketFactory
- The SSLSocketFactory to use.
-
getSSLSocketFactory
Returns the SSLSocketFactory used to create secure sockets. -
newURLConnection
- Overrides:
newURLConnection
in classXmlRpcSunHttpTransport
- Throws:
IOException
-