com.atlassian.confluence.xwork
Class FlashScope

java.lang.Object
  extended by com.atlassian.confluence.xwork.FlashScope

public class FlashScope
extends Object

Flash Scope allows one request to pass data to the next request if it's a redirect. FlashScope only becomes available if the redirect action result is specified as "redirectwithflash" (check xwork.xml)


Constructor Summary
FlashScope()
           
 
Method Summary
static Object get(String key)
          Retrieves FlashScope items stored in the previous request
static boolean has(String key)
           
static void put(String key, Object value)
          Adds things to the FlashScope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashScope

public FlashScope()
Method Detail

put

public static void put(String key,
                       Object value)
Adds things to the FlashScope. They will be available to the request after the current one.


get

public static Object get(String key)
Retrieves FlashScope items stored in the previous request


has

public static boolean has(String key)
Returns:
true if FlashScope item was stored in the previous request


Copyright © 2003-2013 Atlassian. All Rights Reserved.