GWTP Dispatch Server Base 0.6-redhat-2

com.gwtplatform.dispatch.server.actionvalidator
Class AbstractDefaultActionValidator

java.lang.Object
  extended by com.gwtplatform.dispatch.server.actionvalidator.AbstractDefaultActionValidator
All Implemented Interfaces:
ActionValidator

public class AbstractDefaultActionValidator
extends Object
implements ActionValidator

The default ActionValidator implementation. It'll accept every action.

Author:
Christian Goudreau

Constructor Summary
AbstractDefaultActionValidator()
           
 
Method Summary
 boolean isValid(Action<? extends Result> action)
          Validate whether or not that Action can be executed at this time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDefaultActionValidator

public AbstractDefaultActionValidator()
Method Detail

isValid

public boolean isValid(Action<? extends Result> action)
Description copied from interface: ActionValidator
Validate whether or not that Action can be executed at this time. You can also throw an ActionException if you want to fine grain why the validator failed.

Specified by:
isValid in interface ActionValidator
Parameters:
action - The action that called this validator.
Returns:
true if the action can be executed, false otherwise.

GWTP Dispatch Server Base 0.6-redhat-2

Copyright © 2010-2012 ArcBees. All Rights Reserved.