|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.djdoc.servlet.DjdocFilter
public class DjdocFilter
This class implements a servlet filter which is invoked before and after the actual servlet class.
| Constructor Summary | |
|---|---|
DjdocFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
This method does nothing. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
The "workhorse" method of the filter. |
void |
init(javax.servlet.FilterConfig config)
This method does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DjdocFilter()
| Method Detail |
|---|
public void init(javax.servlet.FilterConfig config)
init in interface javax.servlet.Filterconfig - Filter configuration, not needed by this Filter.public void destroy()
destroy in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException,
java.io.IOException
ServletRequest object in a
DjdocRequest object. This involves a thorough analysis of the
request URI determining the exact type of the request as well as
information about the requested API, package, and other fancy stuff.UserStrategy.Action. In many cases this just involves
a redirection of the response to a JSP, in other cases the content of a
static HTML page is copied into the response stream.
doFilter in interface javax.servlet.Filterrequest - The current ServletRequest (actually, the
HttpServletRequest) of the HTTP conversationresponse - The current ServletResponse (in face, a
HttpServletResponse) of the HTTP conversationchain - The nested FilterChain (in our case this consists
just of the ActionServlet).
javax.servlet.ServletException
java.io.IOException
|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||