public abstract class AbstractPerformInclude extends ActionCommandBase
Perform forwarding or redirection based on the specified
String (if any).
| Constructor and Description |
|---|
AbstractPerformInclude() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
executepublic 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 requesttrue so that processing completesjava.lang.Exception - if thrown by the Actionprotected 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 performedprotected 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 performedjava.lang.Exception - if thrown by the ActionCopyright © 2000–2024 Apache Software Foundation. All rights reserved.