org.apache.xmlrpc.webserver
Class XmlRpcServletServer.ServletStreamConnection

java.lang.Object
  extended by org.apache.xmlrpc.webserver.XmlRpcServletServer.ServletStreamConnection
All Implemented Interfaces:
ServerStreamConnection
Enclosing class:
XmlRpcServletServer

protected static class XmlRpcServletServer.ServletStreamConnection
extends Object
implements ServerStreamConnection


Constructor Summary
protected XmlRpcServletServer.ServletStreamConnection(HttpServletRequest pRequest, HttpServletResponse pResponse)
           
 
Method Summary
 void close()
          Closes the connection, and frees resources.
 HttpServletRequest getRequest()
          Returns the servlet request.
 HttpServletResponse getResponse()
          Returns the servlet response.
 InputStream newInputStream()
          Returns the connections input stream.
 OutputStream newOutputStream()
          Returns the connections output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcServletServer.ServletStreamConnection

protected XmlRpcServletServer.ServletStreamConnection(HttpServletRequest pRequest,
                                                      HttpServletResponse pResponse)
Method Detail

getRequest

public HttpServletRequest getRequest()
Returns the servlet request.


getResponse

public HttpServletResponse getResponse()
Returns the servlet response.


newInputStream

public InputStream newInputStream()
                           throws IOException
Description copied from interface: ServerStreamConnection
Returns the connections input stream.

Specified by:
newInputStream in interface ServerStreamConnection
Throws:
IOException

newOutputStream

public OutputStream newOutputStream()
                             throws IOException
Description copied from interface: ServerStreamConnection
Returns the connections output stream.

Specified by:
newOutputStream in interface ServerStreamConnection
Throws:
IOException

close

public void close()
           throws IOException
Description copied from interface: ServerStreamConnection
Closes the connection, and frees resources.

Specified by:
close in interface ServerStreamConnection
Throws:
IOException


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