public abstract class ExpireBehavior extends AbstractPageBehavior
Constructor and Description |
---|
ExpireBehavior()
Constructs the behavior.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isExpired(org.apache.wicket.markup.html.WebPage aPage)
Must be implemented to determine if a page is expired.
|
void |
onDetach(org.apache.wicket.markup.html.WebPage aPage)
To be called in the {@link Page#onDetach
|
onAfterRender, onBeforeRender, setHeaders
public void onDetach(org.apache.wicket.markup.html.WebPage aPage)
PageBehavior
onDetach
in interface PageBehavior
onDetach
in class AbstractPageBehavior
protected abstract boolean isExpired(org.apache.wicket.markup.html.WebPage aPage)
aPage
- Page to check. If a behavior instance is only used on one page
then this argument is always that page so it can bne ignored
in that case.Copyright © 2022. All rights reserved.