|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
See the class AbstractFilterableServlet for a reference implementation
that demnonstrates the responsabilities of a FilterableServlet
.
This capability is used to implement the debugging servlet.
com.lutris.appserver.server.httpPresentation.servlet.ServletListener
,
com.lutris.appserver.server.httpPresentation.servlet.AbstractServletListener
Method Summary | |
void |
addFilter(Filter filter)
Add a filter to the end of the list of filters. |
void |
removeFilter(Filter filter)
Remove a filter from the list of current filters. |
void |
serviceDirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform the action service() would normally perform,
without using the filters. |
Method Detail |
public void addFilter(Filter filter)
filter
- The filter to add.public void removeFilter(Filter filter)
filter
- The filter to remove.public void serviceDirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service()
would normally perform,
without using the filters. This is needed so that at the end of
the filter chain the glue object can call this method to actually
do the work. If it tried to call the normal service() method that
would result in an infinite loop of filter processing.
javax.servlet.ServletException
java.io.IOException
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |