org.apache.xmlrpc
class LiteXmlRpcTransport extends Object implements XmlRpcTransport
Since: 1.2
Version: $Id: LiteXmlRpcTransport.java 233919 2005-04-22 10:26:17Z hgomez $
| Field Summary | |
|---|---|
| protected String | auth |
| byte[] | buffer |
| String | host |
| String | hostname |
| BufferedInputStream | input |
| boolean | keepalive |
| BufferedOutputStream | output |
| int | port |
| Socket | socket |
| String | uri |
| Constructor Summary | |
|---|---|
| LiteXmlRpcTransport(URL url)
Create a new DefaultXmlRpcTransport with the specified URL.
| |
| Method Summary | |
|---|---|
| protected void | closeConnection() |
| void | endClientRequest() |
| protected void | finalize() |
| protected void | initConnection() |
| String | readLine() |
| InputStream | sendRequest(byte[] request) |
| InputStream | sendXmlRpc(byte[] request) |
| void | setBasicAuthentication(String user, String password)
Sets Authentication for this client. |
Parameters: url the url to POST XML-RPC requests to.
Throws: Throwable
Throws: IOException
Returns:
Throws: IOException
Parameters: request
Returns:
Throws: IOException