org.apache.xmlrpc.webserver

Class XmlRpcServletServer.ServletStreamConnection

Enclosing Class:
XmlRpcServletServer
Implemented Interfaces:
ServerStreamConnection

protected static class XmlRpcServletServer.ServletStreamConnection
extends java.lang.Object
implements ServerStreamConnection

Constructor Summary

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.

Constructor Details

ServletStreamConnection

protected ServletStreamConnection(HttpServletRequest pRequest,
                                  HttpServletResponse pResponse)

Method Details

close

public void close()
            throws IOException
Closes the connection, and frees resources.
Specified by:
close in interface ServerStreamConnection

getRequest

public HttpServletRequest getRequest()
Returns the servlet request.

getResponse

public HttpServletResponse getResponse()
Returns the servlet response.

newInputStream

public InputStream newInputStream()
            throws IOException
Returns the connections input stream.
Specified by:
newInputStream in interface ServerStreamConnection

newOutputStream

public OutputStream newOutputStream()
            throws IOException
Returns the connections output stream.
Specified by:
newOutputStream in interface ServerStreamConnection

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