public abstract class AbstractRequestNoCache extends ActionCommandBase
Check to see if the controller is configured to prevent caching, and if so, request no cache flags to be set.
Constructor and Description |
---|
AbstractRequestNoCache() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ActionContext actionCtx)
Check to see if the controller is configured to prevent caching, and
if so, request no cache flags to be set.
|
protected abstract void |
requestNoCache(ActionContext context)
Request no cache flags are set.
|
execute
public boolean execute(ActionContext actionCtx) throws Exception
Check to see if the controller is configured to prevent caching, and if so, request no cache flags to be set.
execute
in interface ActionCommand
execute
in class ActionCommandBase
actionCtx
- The Context
for the current requestfalse
so that processing continuesException
- if thrown by the Action classprotected abstract void requestNoCache(ActionContext context)
Request no cache flags are set.
context
- The Context
for this requestCopyright © 2000–2017 Apache Software Foundation. All rights reserved.