org.apache.xmlrpc
Class LiteXmlRpcTransport
java.lang.Object
org.apache.xmlrpc.LiteXmlRpcTransport
- XmlRpcTransport
(package private) class LiteXmlRpcTransport
extends java.lang.Object
Interface from XML-RPC to a 'lite' HTTP implementation. This class will use
the XmlRpcClientLite.auth member for the HTTP Basic authentication string.
$Id: LiteXmlRpcTransport.java 233919 2005-04-22 10:26:17Z hgomez $protected String | auth
|
(package private) byte[] | buffer
|
(package private) String | host
|
(package private) String | hostname
|
(package private) BufferedInputStream | input
|
(package private) boolean | keepalive
|
(package private) BufferedOutputStream | output
|
(package private) int | port
|
(package private) Socket | socket
|
(package private) String | uri
|
auth
protected String auth
buffer
(package private) byte[] buffer
host
(package private) String host
hostname
(package private) String hostname
input
(package private) BufferedInputStream input
keepalive
(package private) boolean keepalive
output
(package private) BufferedOutputStream output
port
(package private) int port
socket
(package private) Socket socket
uri
(package private) String uri
LiteXmlRpcTransport
public LiteXmlRpcTransport(URL url)
Create a new DefaultXmlRpcTransport with the specified URL.
url
- the url to POST XML-RPC requests to.
closeConnection
protected void closeConnection()
finalize
protected void finalize()
throws Throwable
initConnection
protected void initConnection()
throws IOException
readLine
private String readLine()
throws IOException
sendRequest
public InputStream sendRequest(byte[] request)
throws IOException
setBasicAuthentication
public void setBasicAuthentication(String user,
String password)
Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.