◆ getContent() [1/2]
static Object org.turro.action.content.ContentContext.getContent |
( |
String |
context | ) |
|
|
static |
Definition at line 47 of file ContentContext.java.
48 SingleContent sc = contexts.get(context);
49 return sc !=
null ? sc.getObject() :
null;
◆ getContent() [2/2]
static Object org.turro.action.content.ContentContext.getContent |
( |
String |
context, |
|
|
Supplier |
onDefault |
|
) |
| |
|
static |
Definition at line 36 of file ContentContext.java.
39 obj = onDefault.get();
static Object getContent(String context, Supplier onDefault)
static void putContent(String context, Object data)
◆ putContent()
static void org.turro.action.content.ContentContext.putContent |
( |
String |
context, |
|
|
Object |
data |
|
) |
| |
|
static |
Definition at line 52 of file ContentContext.java.
53 SingleContent sc =
new SingleContent(
new Date(), data);
54 contexts.put(context, sc);
◆ removeContent()
static void org.turro.action.content.ContentContext.removeContent |
( |
String |
context | ) |
|
|
static |
The documentation for this class was generated from the following file: