public class XmlRpcSun14HttpTransport extends XmlRpcSunHttpTransport
HttpURLConnection
class. Adds support for the
SSLSocketFactory
.XmlRpcHttpTransport.ByteArrayReqWriter
XmlRpcStreamTransport.GzipReqWriter, XmlRpcStreamTransport.ReqWriter, XmlRpcStreamTransport.ReqWriterImpl
USER_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, writeRequest
getUserAgent, initHttpHeaders, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentials
isCompressingRequest, newXMLReader, readResponse
getClient
public 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 XmlRpcSunHttpTransport
IOException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.