org.apache.xmlrpc.common

Class LocalStreamConnection

public class LocalStreamConnection extends Object

Implementation of {@link ServerStreamConnection} for use by the {@link org.apache.xmlrpc.client.XmlRpcLocalStreamTransport}.
Constructor Summary
LocalStreamConnection(XmlRpcStreamRequestConfig pConfig, InputStream pRequest)
Creates a new instance with the given request stream.
Method Summary
XmlRpcStreamRequestConfiggetConfig()
Returns the request configuration.
InputStreamgetRequest()
Returns the request stream.
ByteArrayOutputStreamgetResponse()
Returns an output stream, to which the response may be written.
ServerStreamConnectiongetServerStreamConnection()
Returns the servers connection.

Constructor Detail

LocalStreamConnection

public LocalStreamConnection(XmlRpcStreamRequestConfig pConfig, InputStream pRequest)
Creates a new instance with the given request stream.

Method Detail

getConfig

public XmlRpcStreamRequestConfig getConfig()
Returns the request configuration.

getRequest

public InputStream getRequest()
Returns the request stream.

getResponse

public ByteArrayOutputStream getResponse()
Returns an output stream, to which the response may be written.

getServerStreamConnection

public ServerStreamConnection getServerStreamConnection()
Returns the servers connection.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.