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 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 SSLSocketFactory
getSSLSocketFactory()
Sets the SSL Socket Factory to use for https connections.protected Socket
newSocket(boolean pSSL, String pHostName, int pPort)
void
setSSLSocketFactory(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 SSLSocketFactory getSSLSocketFactory()
Sets the SSL Socket Factory to use for https connections.
-
setSSLSocketFactory
public void setSSLSocketFactory(SSLSocketFactory pSSLSocketFactory)
Returns the SSL Socket Factory to use for https connections.
-
newSocket
protected Socket newSocket(boolean pSSL, String pHostName, int pPort) throws UnknownHostException, IOException
- Overrides:
newSocket
in classXmlRpcLiteHttpTransport
- Throws:
UnknownHostException
IOException
-
-