public class BufferedContentMgr
extends java.lang.Object
| Constructor and Description |
|---|
BufferedContentMgr() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(IBufferedContent bufferedContent)
Adds buffered content - the key under which the buffered content
is stored in the session contetxt is "bufferedContent_" + the
key of the IBufferedContent instance.
|
static void |
add(IBufferedStreamContent bufferedStreamContent)
Sames as
add(IBufferedContent), just with other paramter type. |
boolean |
checkIfSpecialCrossSessionUsageIsActive() |
static void |
initSpecialCrossSessionUsage()
Initialization for cross session usage.
|
static java.lang.Object |
readBufferedContent(HttpSession session,
java.lang.String id) |
static void |
remove(IBufferedContent bufferedContent)
Removes buffered content from the user's session.
|
static void |
remove(IBufferedContent[] bufferedContents) |
static void |
remove(IBufferedStreamContent bufferedStreamContent)
Removes buffered content from the user's session.
|
static void |
removeAllContentOlderThan(long duration)
When adding a content then the timestamp is registered.
|
public static void initSpecialCrossSessionUsage()
public boolean checkIfSpecialCrossSessionUsageIsActive()
public static void add(IBufferedContent bufferedContent)
public static void add(IBufferedStreamContent bufferedStreamContent)
add(IBufferedContent), just with other paramter type.public static java.lang.Object readBufferedContent(HttpSession session,
java.lang.String id)
IBufferedContent or
an instance of IBufferedStreamContent.public static void remove(IBufferedContent[] bufferedContents)
public static void remove(IBufferedContent bufferedContent)
public static void remove(IBufferedStreamContent bufferedStreamContent)
public static void removeAllContentOlderThan(long duration)
duration - Duration in milliseconds.Copyright © CaptainCasa Gmbh. All Rights Reserved.