public interface PipelineableServlet
extends javax.servlet.Servlet
A PipelineableServlet is a Servlet that knows how to operate in a PipelineServlet. When a PipelineableServlet is added to a PipelineServlet, the PipelineableServlet will be informed of the next Servlet in the Pipeline. The PipelineableServlet should pass requests on to that next Servlet.
PipelineableServletImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
javax.servlet.Servlet |
getNextServlet()
Returns the next Servlet in the pipeline, null if this is the end
of the pipeline.
|
void |
passRequest(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
Passes the specified request on to the next servlet in the pipeline
|
void |
setNextServlet(javax.servlet.Servlet pNextServlet)
Sets the next Servlet in the pipeline, null if this is the end of
the pipeline.
|
static final java.lang.String CLASS_VERSION
void setNextServlet(javax.servlet.Servlet pNextServlet)
javax.servlet.Servlet getNextServlet()
void passRequest(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
javax.servlet.ServletException
- if an error occurred while processing
the servlet requestjava.io.IOException
- if an error occurred while reading or writing
the servlet request