org.apache.struts.chain.commands
Class AbstractSetOriginalURI

java.lang.Object
  extended by org.apache.struts.chain.commands.ActionCommandBase
      extended by org.apache.struts.chain.commands.AbstractSetOriginalURI
All Implemented Interfaces:
org.apache.commons.chain.Command, ActionCommand
Direct Known Subclasses:
SetOriginalURI

public abstract class AbstractSetOriginalURI
extends ActionCommandBase

Check to original uri is set, and if not, set it for this request.

Version:
$Rev: 471754 $ $Date: 2005-06-04 07:58:46 -0700 (Sat, 04 Jun 2005) $

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
AbstractSetOriginalURI()
           
 
Method Summary
 boolean execute(ActionContext actionCtx)
          Check to original uri is set, and if not, set it for this request.
protected abstract  void setOriginalURI(ActionContext context)
          Set the original 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

AbstractSetOriginalURI

public AbstractSetOriginalURI()
Method Detail

execute

public boolean execute(ActionContext actionCtx)
                throws Exception

Check to original uri is set, and if not, set it for this request.

Specified by:
execute in interface ActionCommand
Specified by:
execute in class ActionCommandBase
Parameters:
actionCtx - The Context for the current request
Returns:
false so that processing continues
Throws:
Exception - if thrown by the Action class

setOriginalURI

protected abstract void setOriginalURI(ActionContext context)

Set the original uri.

Parameters:
context - The Context for this request


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.