org.apache.xmlrpc.common
Interface ServerStreamConnection

All Known Subinterfaces:
ServerHttpConnection
All 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.
 java.io.InputStream newInputStream()
          Returns the connections input stream.
 java.io.OutputStream newOutputStream()
          Returns the connections output stream.
 

Method Detail

newInputStream

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

Throws:
java.io.IOException

newOutputStream

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

Throws:
java.io.IOException

close

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

Throws:
java.io.IOException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.