org.apache.xmlrpc.common

Interface ServerStreamConnection

Known Subinterfaces:
ServerHttpConnection
Known Implementing Classes:
Connection, XmlRpcServletServer.ServletStreamConnection

public interface ServerStreamConnection

Interface of an object, which is able to provide an XML stream, containing an XML-RPC request. Additionally, the object may also be used to write the response as an XML stream.

Method Summary

void
close()
Closes the connection, and frees resources.
InputStream
newInputStream()
Returns the connections input stream.
OutputStream
newOutputStream()
Returns the connections output stream.

Method Details

close

public void close()
            throws IOException
Closes the connection, and frees resources.

newInputStream

public InputStream newInputStream()
            throws IOException
Returns the connections input stream.

newOutputStream

public OutputStream newOutputStream()
            throws IOException
Returns the connections output stream.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.