public class XmlRpcSun14HttpTransport extends XmlRpcSunHttpTransport
HttpURLConnection class. Adds support for the
SSLSocketFactory.XmlRpcHttpTransport.ByteArrayReqWriterXmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImplUSER_AGENT| Constructor and Description |
|---|
XmlRpcSun14HttpTransport(XmlRpcClient pClient)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SSLSocketFactory |
getSSLSocketFactory()
Returns the SSLSocketFactory used to create secure sockets.
|
protected URLConnection |
newURLConnection(URL pURL) |
void |
setSSLSocketFactory(SSLSocketFactory pSocketFactory)
Sets the SSLSocketFactory used to create secure sockets.
|
close, getInputStream, getURLConnection, isResponseGzipCompressed, sendRequest, setRequestHeader, writeRequestgetUserAgent, initHttpHeaders, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentialsisCompressingRequest, newXMLReader, readResponsegetClientpublic XmlRpcSun14HttpTransport(XmlRpcClient pClient)
pClient - The client controlling this instance.public void setSSLSocketFactory(SSLSocketFactory pSocketFactory)
pSocketFactory - The SSLSocketFactory to use.public SSLSocketFactory getSSLSocketFactory()
protected URLConnection newURLConnection(URL pURL) throws IOException
newURLConnection in class XmlRpcSunHttpTransportIOExceptionCopyright © 2001–2025 The Apache Software Foundation. All rights reserved.