org.apache.xmlrpc.client

Class XmlRpcLiteHttpTransport

public class XmlRpcLiteHttpTransport extends XmlRpcHttpTransport

A "light" HTTP transport implementation.
Constructor Summary
XmlRpcLiteHttpTransport(XmlRpcClient pClient)
Creates a new instance.
Method Summary
protected voidclose()
protected InputStreamgetInputStream()
protected booleanisResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)
protected booleanisUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig)
protected SocketnewSocket(String pHostName, int pPort)
ObjectsendRequest(XmlRpcRequest pRequest)
protected voidsetRequestHeader(String pHeader, String pValue)
protected voidwriteRequest(ReqWriter pWriter)

Constructor Detail

XmlRpcLiteHttpTransport

public XmlRpcLiteHttpTransport(XmlRpcClient pClient)
Creates a new instance.

Parameters: pClient The client controlling this instance.

Method Detail

close

protected void close()

getInputStream

protected InputStream getInputStream()

isResponseGzipCompressed

protected boolean isResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)

isUsingByteArrayOutput

protected boolean isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig)

newSocket

protected Socket newSocket(String pHostName, int pPort)

sendRequest

public Object sendRequest(XmlRpcRequest pRequest)

setRequestHeader

protected void setRequestHeader(String pHeader, String pValue)

writeRequest

protected void writeRequest(ReqWriter pWriter)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.