org.apache.xmlrpc.client

Class XmlRpcCommonsTransport

public class XmlRpcCommonsTransport extends XmlRpcHttpTransport

An HTTP transport factory, which is based on the Jakarta Commons HTTP Client.
Constructor Summary
XmlRpcCommonsTransport(XmlRpcClient pClient)
Creates a new instance.
Method Summary
protected voidclose()
protected InputStreamgetInputStream()
protected voidinitHttpHeaders(XmlRpcRequest pRequest)
protected booleanisResponseGzipCompressed()
protected booleanisResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)
protected voidsetContentLength(int pLength)
protected voidsetCredentials(XmlRpcHttpClientConfig pConfig)
protected voidsetRequestHeader(String pHeader, String pValue)
protected voidwriteRequest(ReqWriter pWriter)

Constructor Detail

XmlRpcCommonsTransport

public XmlRpcCommonsTransport(XmlRpcClient pClient)
Creates a new instance.

Parameters: pClient The client, which will be invoking the transport.

Method Detail

close

protected void close()

getInputStream

protected InputStream getInputStream()

initHttpHeaders

protected void initHttpHeaders(XmlRpcRequest pRequest)

isResponseGzipCompressed

protected boolean isResponseGzipCompressed()

isResponseGzipCompressed

protected boolean isResponseGzipCompressed(XmlRpcStreamRequestConfig pConfig)

setContentLength

protected void setContentLength(int pLength)

setCredentials

protected void setCredentials(XmlRpcHttpClientConfig pConfig)

setRequestHeader

protected void setRequestHeader(String pHeader, String pValue)

writeRequest

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