|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractPerformInclude
public abstract class AbstractPerformInclude
Perform forwarding or redirection based on the specified
String (if any).
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.chain.Command |
|---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
| Constructor Summary | |
|---|---|
AbstractPerformInclude()
|
|
| Method Summary | |
|---|---|
boolean |
execute(ActionContext actionCtx)
Perform an include based on the specified include uri (if any). |
protected java.lang.String |
includePath(ActionContext actionContext,
java.lang.String include)
Returns the path to perform the include. |
protected abstract void |
perform(ActionContext context,
java.lang.String include)
Perform the appropriate processing on the specified include uri. |
| Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPerformInclude()
| Method Detail |
|---|
public boolean execute(ActionContext actionCtx)
throws java.lang.Exception
Perform an include based on the specified include uri (if any).
execute in interface ActionCommandexecute in class ActionCommandBaseactionCtx - The Context for the current request
true so that processing completes
java.lang.Exception - if thrown by the Action
protected java.lang.String includePath(ActionContext actionContext,
java.lang.String include)
Returns the path to perform the include. Override this method to provide a different path.
actionContext - The context for this requestinclude - The forward to be performed
protected abstract void perform(ActionContext context,
java.lang.String include)
throws java.lang.Exception
Perform the appropriate processing on the specified include uri.
context - The context for this requestinclude - The forward to be performed
java.lang.Exception - if thrown by the Action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||