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 protectedServletStreamConnection(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the connection, and frees resources.javax.servlet.http.HttpServletRequestgetRequest()Returns the servlet request.javax.servlet.http.HttpServletResponsegetResponse()Returns the servlet response.java.io.InputStreamnewInputStream()Returns the connections input stream.java.io.OutputStreamnewOutputStream()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.IOExceptionDescription copied from interface:ServerStreamConnectionReturns the connections input stream.- Specified by:
newInputStreamin interfaceServerStreamConnection- Throws:
java.io.IOException
-
newOutputStream
public java.io.OutputStream newOutputStream() throws java.io.IOExceptionDescription copied from interface:ServerStreamConnectionReturns the connections output stream.- Specified by:
newOutputStreamin interfaceServerStreamConnection- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOExceptionDescription copied from interface:ServerStreamConnectionCloses the connection, and frees resources.- Specified by:
closein interfaceServerStreamConnection- Throws:
java.io.IOException
-
-