Package org.apache.xmlrpc.webserver
Class XmlRpcServletServer.ServletStreamConnection
- java.lang.Object
-
- org.apache.xmlrpc.webserver.XmlRpcServletServer.ServletStreamConnection
-
- All Implemented Interfaces:
ServerStreamConnection
- Enclosing class:
- XmlRpcServletServer
protected static class XmlRpcServletServer.ServletStreamConnection extends java.lang.Object implements ServerStreamConnection
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServletStreamConnection(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the connection, and frees resources.javax.servlet.http.HttpServletRequest
getRequest()
Returns the servlet request.javax.servlet.http.HttpServletResponse
getResponse()
Returns the servlet response.java.io.InputStream
newInputStream()
Returns the connections input stream.java.io.OutputStream
newOutputStream()
Returns the connections output stream.
-
-
-
Method Detail
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
Returns the servlet request.
-
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
Returns the servlet response.
-
newInputStream
public java.io.InputStream newInputStream() throws java.io.IOException
Description copied from interface:ServerStreamConnection
Returns the connections input stream.- Specified by:
newInputStream
in interfaceServerStreamConnection
- Throws:
java.io.IOException
-
newOutputStream
public java.io.OutputStream newOutputStream() throws java.io.IOException
Description copied from interface:ServerStreamConnection
Returns the connections output stream.- Specified by:
newOutputStream
in interfaceServerStreamConnection
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
Description copied from interface:ServerStreamConnection
Closes the connection, and frees resources.- Specified by:
close
in interfaceServerStreamConnection
- Throws:
java.io.IOException
-
-