public class DebugDiskDataStore
extends org.apache.wicket.pageStore.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
| Constructor and Description |
|---|
DebugDiskDataStore(String applicationName,
File fileStoreFolder,
org.apache.wicket.util.lang.Bytes maxSizePerSession)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.wicket.pageStore.PageWindowManager.PageWindow> |
getLastPageWindows(String sessionId,
int count) |
File |
getStoreFolder() |
static void |
register(org.apache.wicket.Application application)
Configures the page manager provider and mounts the page at
wicket/internal/debug/diskDataStore
|
public List<org.apache.wicket.pageStore.PageWindowManager.PageWindow> getLastPageWindows(String sessionId, int count)
sessionId - count - public File getStoreFolder()
getStoreFolder in class org.apache.wicket.pageStore.DiskDataStorepublic static void register(org.apache.wicket.Application application)
application - Copyright © 2006–2017 Apache Software Foundation. All rights reserved.