play.mvc
Class Scope.Flash

java.lang.Object
  extended by play.mvc.Scope.Flash
Enclosing class:
Scope

public static class Scope.Flash
extends java.lang.Object

Flash scope


Field Summary
static java.lang.ThreadLocal<Scope.Flash> current
           
 
Constructor Summary
Scope.Flash()
           
 
Method Summary
 void clear()
           
 boolean contains(java.lang.String key)
           
static Scope.Flash current()
           
 void discard()
           
 void discard(java.lang.String key)
           
 void error(java.lang.String value, java.lang.Object... args)
           
 java.lang.String get(java.lang.String key)
           
 void keep()
           
 void keep(java.lang.String key)
           
 void now(java.lang.String key, java.lang.String value)
           
 void put(java.lang.String key, java.lang.Object value)
           
 void put(java.lang.String key, java.lang.String value)
           
 boolean remove(java.lang.String key)
           
 void success(java.lang.String value, java.lang.Object... args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

current

public static java.lang.ThreadLocal<Scope.Flash> current
Constructor Detail

Scope.Flash

public Scope.Flash()
Method Detail

current

public static Scope.Flash current()

put

public void put(java.lang.String key,
                java.lang.String value)

put

public void put(java.lang.String key,
                java.lang.Object value)

now

public void now(java.lang.String key,
                java.lang.String value)

error

public void error(java.lang.String value,
                  java.lang.Object... args)

success

public void success(java.lang.String value,
                    java.lang.Object... args)

discard

public void discard(java.lang.String key)

discard

public void discard()

keep

public void keep(java.lang.String key)

keep

public void keep()

get

public java.lang.String get(java.lang.String key)

remove

public boolean remove(java.lang.String key)

clear

public void clear()

contains

public boolean contains(java.lang.String key)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly