Package org.apache.xmlrpc.client
Class XmlRpcLite14HttpTransport
- java.lang.Object
-
- org.apache.xmlrpc.client.XmlRpcTransportImpl
-
- org.apache.xmlrpc.client.XmlRpcStreamTransport
-
- org.apache.xmlrpc.client.XmlRpcHttpTransport
-
- org.apache.xmlrpc.client.XmlRpcLiteHttpTransport
-
- org.apache.xmlrpc.client.XmlRpcLite14HttpTransport
-
- All Implemented Interfaces:
XmlRpcTransport
public class XmlRpcLite14HttpTransport extends XmlRpcLiteHttpTransport
A "light" HTTP transport implementation for Java 1.4.
-
-
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
Fields Modifier and Type Field Description private javax.net.ssl.SSLSocketFactorysslSocketFactory-
Fields inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport
USER_AGENT
-
-
Constructor Summary
Constructors Constructor Description XmlRpcLite14HttpTransport(XmlRpcClient pClient)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.ssl.SSLSocketFactorygetSSLSocketFactory()Sets the SSL Socket Factory to use for https connections.protected java.net.SocketnewSocket(boolean pSSL, java.lang.String pHostName, int pPort)voidsetSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSSLSocketFactory)Returns the SSL Socket Factory to use for https connections.-
Methods inherited from class org.apache.xmlrpc.client.XmlRpcLiteHttpTransport
close, getInputStream, isResponseGzipCompressed, isUsingByteArrayOutput, sendRequest, setRequestHeader, writeRequest
-
Methods inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport
getUserAgent, initHttpHeaders, 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
-
-
-
-
Constructor Detail
-
XmlRpcLite14HttpTransport
public XmlRpcLite14HttpTransport(XmlRpcClient pClient)
Creates a new instance.- Parameters:
pClient- The client controlling this instance.
-
-
Method Detail
-
getSSLSocketFactory
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
Sets the SSL Socket Factory to use for https connections.
-
setSSLSocketFactory
public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory pSSLSocketFactory)
Returns the SSL Socket Factory to use for https connections.
-
newSocket
protected java.net.Socket newSocket(boolean pSSL, java.lang.String pHostName, int pPort) throws java.net.UnknownHostException, java.io.IOException- Overrides:
newSocketin classXmlRpcLiteHttpTransport- Throws:
java.net.UnknownHostExceptionjava.io.IOException
-
-