org.norther.tammi.spray.template.task
Class TemplateAction
java.lang.Object
org.norther.tammi.spray.loader.task.Action
org.norther.tammi.spray.loader.task.Submit
org.norther.tammi.spray.template.task.TemplateAction
- All Implemented Interfaces:
- Serializable, Task
public abstract class TemplateAction
- extends Submit
Extends Submit by providing a template context as the context parameter.
Based on TemplateAction
in the Apache Jakarta Turbine project.
- Version:
- $Id: TemplateAction.java,v 1.11 2010-05-28 12:52:22 cvsimp Exp $
- Author:
- Jon S. Stevens, Jason van Zyl, Ilkka Priha
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface org.norther.tammi.spray.loader.task.Task |
Task.Control |
Constructor Summary |
TemplateAction()
Constructs a new template action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateAction
public TemplateAction()
- Constructs a new template action.
submit
public final Task.Control submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
- Description copied from class:
Submit
- Implements the default submit method if the specific one is not
implemented. The default implementation does nothing.
- Overrides:
submit
in class Submit
- Parameters:
request
- the request.response
- the response.chain
- the filter chain.context
- the context.
- Returns:
- the execution control.
- Throws:
Exception
- on errors.
submit
public Task.Control submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
TemplateContext context)
throws Exception
- Implements the default submit method if any of the specific ones doesn't
match. The default implementation does nothing.
- Parameters:
request
- the request.response
- the response.chain
- the filter chain.context
- the template context.
- Returns:
- the execution control.
- Throws:
Exception
- on errors.
getSignature
protected Class<?>[] getSignature()
- Description copied from class:
Submit
- Gets the action class specific signature.
- Overrides:
getSignature
in class Submit
- Returns:
- the action signature.
Copyright © 2004 The Norther Organization. All rights reserved.