org.apache.xmlrpc.client
Class XmlRpcSun15HttpTransport
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportImpl
org.apache.xmlrpc.client.XmlRpcStreamTransport
org.apache.xmlrpc.client.XmlRpcHttpTransport
org.apache.xmlrpc.client.XmlRpcSunHttpTransport
org.apache.xmlrpc.client.XmlRpcSun14HttpTransport
org.apache.xmlrpc.client.XmlRpcSun15HttpTransport
- All Implemented Interfaces:
- XmlRpcTransport
public class XmlRpcSun15HttpTransport
- extends XmlRpcSun14HttpTransport
Default implementation of an HTTP transport in Java 1.4, based on the
HttpURLConnection
class. Adds support for the
Proxy
class, and the connection and reply timeout values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcSun15HttpTransport
public XmlRpcSun15HttpTransport(XmlRpcClient pClient)
- Creates a new instance.
- Parameters:
pClient
- The client controlling this instance.
setProxy
public void setProxy(java.net.Proxy pProxy)
- Sets the proxy to use.
getProxy
public java.net.Proxy getProxy()
- Returns the proxy to use.
initHttpHeaders
protected void initHttpHeaders(XmlRpcRequest pRequest)
throws XmlRpcClientException
- Overrides:
initHttpHeaders
in class XmlRpcHttpTransport
- Throws:
XmlRpcClientException
newURLConnection
protected java.net.URLConnection newURLConnection(java.net.URL pURL)
throws java.io.IOException
- Overrides:
newURLConnection
in class XmlRpcSun14HttpTransport
- Throws:
java.io.IOException
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.