public class DebugDiskDataStore extends DiskDataStore
DiskDataStore that is able to browse the content of the file storage.
To enable it add in YourApplication#init():
DebugDiskDataStore.register(this);
The data can be browsed at: /wicket/internal/debug/diskDataStore
DiskDataStore.SessionEntry| Constructor and Description |
|---|
DebugDiskDataStore(String applicationName,
File fileStoreFolder,
org.apache.wicket.util.lang.Bytes maxSizePerSession)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
List<PageWindowManager.PageWindow> |
getLastPageWindows(String sessionId,
int count) |
File |
getStoreFolder() |
static void |
register(Application application)
Configures the page manager provider and mounts the page at
wicket/internal/debug/diskDataStore
|
canBeAsynchronous, destroy, getData, getSessionEntry, getSessionFolder, isReplicated, removeData, removeData, storeDatapublic DebugDiskDataStore(String applicationName, File fileStoreFolder, org.apache.wicket.util.lang.Bytes maxSizePerSession)
applicationName - fileStoreFolder - maxSizePerSession - public List<PageWindowManager.PageWindow> getLastPageWindows(String sessionId, int count)
sessionId - count - public File getStoreFolder()
getStoreFolder in class DiskDataStorepublic static void register(Application application)
application - Copyright © 2006–2016 Apache Software Foundation. All rights reserved.