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 |
|---|---|
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Returns the SSLSocketFactory used to create secure sockets.
|
protected java.net.URLConnection |
newURLConnection(java.net.URL pURL) |
void |
setSSLSocketFactory(javax.net.ssl.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(javax.net.ssl.SSLSocketFactory pSocketFactory)
pSocketFactory - The SSLSocketFactory to use.public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
protected java.net.URLConnection newURLConnection(java.net.URL pURL)
throws java.io.IOException
newURLConnection in class XmlRpcSunHttpTransportjava.io.IOExceptionCopyright © 2001-2013. All Rights Reserved.