Package org.apache.xmlrpc.common
Class LocalStreamConnection
- java.lang.Object
-
- org.apache.xmlrpc.common.LocalStreamConnection
-
public class LocalStreamConnection extends java.lang.ObjectImplementation ofServerStreamConnectionfor use by theXmlRpcLocalStreamTransport.
-
-
Constructor Summary
Constructors Constructor Description LocalStreamConnection(XmlRpcStreamRequestConfig pConfig, java.io.InputStream pRequest)Creates a new instance with the given request stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlRpcStreamRequestConfiggetConfig()Returns the request configuration.java.io.InputStreamgetRequest()Returns the request stream.java.io.ByteArrayOutputStreamgetResponse()Returns an output stream, to which the response may be written.ServerStreamConnectiongetServerStreamConnection()Returns the servers connection.
-
-
-
Constructor Detail
-
LocalStreamConnection
public LocalStreamConnection(XmlRpcStreamRequestConfig pConfig, java.io.InputStream pRequest)
Creates a new instance with the given request stream.
-
-
Method Detail
-
getRequest
public java.io.InputStream getRequest()
Returns the request stream.
-
getConfig
public XmlRpcStreamRequestConfig getConfig()
Returns the request configuration.
-
getResponse
public java.io.ByteArrayOutputStream getResponse()
Returns an output stream, to which the response may be written.
-
getServerStreamConnection
public ServerStreamConnection getServerStreamConnection()
Returns the servers connection.
-
-