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,
Bytes maxSizePerSession)
Construct.
|
Modifier and Type | Method and Description |
---|---|
List<PageWindowManager.PageWindow> |
getLastPageWindows(String sessionId,
int count) |
File |
getStoreFolder()
This folder contains sub-folders named as the session id for which they hold the data.
|
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, storeData
public List<PageWindowManager.PageWindow> getLastPageWindows(String sessionId, int count)
sessionId
- count
- public File getStoreFolder()
DiskDataStore
getStoreFolder
in class DiskDataStore
public static void register(Application application)
application
- Copyright © 2006–2022 Apache Software Foundation. All rights reserved.