public class PerformInclude extends AbstractPerformInclude
Perform forwarding or redirection based on the specified include uri (if any).
Constructor and Description |
---|
PerformInclude() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
includePath(ActionContext actionContext,
java.lang.String include)
Returns the path to perform the include.
|
protected void |
perform(ActionContext context,
java.lang.String uri)
Perform the appropriate processing on the specified include
uri.
|
execute
execute
protected void perform(ActionContext context, java.lang.String uri) throws java.lang.Exception
Perform the appropriate processing on the specified include uri.
perform
in class AbstractPerformInclude
context
- The context for this requesturi
- The uri to be includedjava.lang.Exception
- if thrown by the Action
protected java.lang.String includePath(ActionContext actionContext, java.lang.String include)
AbstractPerformInclude
Returns the path to perform the include. Override this method to provide a different path.
includePath
in class AbstractPerformInclude
actionContext
- The context for this requestinclude
- The forward to be performedCopyright © 2000–2021 Apache Software Foundation. All rights reserved.