net.anotheria.maf.annotation
Annotation Type CommandRedirectAnnotation


public @interface CommandRedirectAnnotation

The annotation which describes the action redirect. This annotation should not be used out of ActionAnnotation context.

Author:
Kirill Reviakin

Required Element Summary
 String name
          The name of the command.
 String target
          The target of the redirect.
 
Optional Element Summary
 int code
          The HTTP redirect code.
 

Element Detail

name

public abstract String name
The name of the command.

Returns:
the name.

target

public abstract String target
The target of the redirect.

Returns:
the target.

code

public abstract int code
The HTTP redirect code. 302 by default.

Returns:
the redirect code.
Default:
302


Copyright © 2010-2013 anotheria.net. All Rights Reserved.