Package org.apache.xmlrpc.common
Interface ServerStreamConnection
-
- All Known Subinterfaces:
ServerHttpConnection
- All Known Implementing Classes:
Connection,LocalStreamConnection.LocalServerStreamConnection,XmlRpcServletServer.ServletStreamConnection
public interface ServerStreamConnectionInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the connection, and frees resources.java.io.InputStreamnewInputStream()Returns the connections input stream.java.io.OutputStreamnewOutputStream()Returns the connections output stream.
-
-
-
Method Detail
-
newInputStream
java.io.InputStream newInputStream() throws java.io.IOExceptionReturns the connections input stream.- Throws:
java.io.IOException
-
newOutputStream
java.io.OutputStream newOutputStream() throws java.io.IOExceptionReturns the connections output stream.- Throws:
java.io.IOException
-
close
void close() throws java.io.IOExceptionCloses the connection, and frees resources.- Throws:
java.io.IOException
-
-