org.apache.xmlrpc
public class DefaultXmlRpcTransport extends Object implements XmlRpcTransport
Since: 1.2
Version: $Id: DefaultXmlRpcTransport.java 233919 2005-04-22 10:26:17Z hgomez $
See Also: java.net.URLConnection class.
| Field Summary | |
|---|---|
| protected String | auth |
| protected URLConnection | con |
| protected URL | url |
| Constructor Summary | |
|---|---|
| DefaultXmlRpcTransport(URL url, String auth)
Create a new DefaultXmlRpcTransport with the specified URL and basic
authorization string.
| |
| DefaultXmlRpcTransport(URL url)
Create a new DefaultXmlRpcTransport with the specified URL.
| |
| Method Summary | |
|---|---|
| void | endClientRequest() |
| InputStream | sendXmlRpc(byte[] request) |
| void | setBasicAuthentication(String user, String password)
Sets Authentication for this client. |
Deprecated: Use setBasicAuthentication instead of passing an encoded authentication String.
Create a new DefaultXmlRpcTransport with the specified URL and basic authorization string.Parameters: url the url to POST XML-RPC requests to. auth the Base64 encoded HTTP Basic authentication value.
Parameters: url the url to POST XML-RPC requests to.