public interface InsertableServlet extends PipelineableServlet
An InsertableServlet should explicitly add itself into a pipeline when the service is started, using the the "insertAfterServlet" property to determine its location.
An InsertableServlet may have a nextServlet field; that is, it may be part of a pipeline itself. If so, it should insert itself into the pipeline after the "insertAfterServlet" servlet, and should place that servlet at the end of its own chain of servlets.
PipelineableServlet
,
InsertableServletImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
PipelineableServlet |
getInsertAfterServlet()
Returns the Servlet in the pipeline after which this servlet
should appear.
|
void |
setInsertAfterServlet(PipelineableServlet pInsertAfter)
Sets the Servlet after which this servlet should appear in
the pipeline.
|
getNextServlet, passRequest, setNextServlet
static final java.lang.String CLASS_VERSION
void setInsertAfterServlet(PipelineableServlet pInsertAfter)
PipelineableServlet getInsertAfterServlet()