|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Task
An interface to tasks extending functionality of filters by providing actions, scripts, builders and other kinds of customized tasks that can be invoked by TaskLoaderMBean from the doFilter method of filters during request processing.
Tasks must be thread-safe.
Based on Module in the Apache Jakarta Turbine project.
| Method Summary | |
|---|---|
void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Executes customized functionality. |
void |
initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Initializes customized functionality after construction but before the first execution. |
| Method Detail |
|---|
void initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
request - the request.response - the response.chain - the filter chain.context - a task specific context.
void execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
request - the request.response - the response.chain - the filter chain.context - a task specific context.
Exception - for errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||