org.wamblee.wicket.page
Class ExpirePageImmediatelyBehavior

java.lang.Object
  extended by org.wamblee.wicket.page.AbstractPageBehavior
      extended by org.wamblee.wicket.page.ExpirePageImmediatelyBehavior
All Implemented Interfaces:
java.io.Serializable, PageBehavior

public class ExpirePageImmediatelyBehavior
extends AbstractPageBehavior

Page which will be removed from the page map after rendering so it can be viewed only once. Even a refresh of the page will fail.

Author:
Erik Brakkee
See Also:
Serialized Form

Constructor Summary
ExpirePageImmediatelyBehavior()
           
 
Method Summary
 void onDetach(org.apache.wicket.markup.html.WebPage aPage)
          To be called in the {@link Page#onDetach
 
Methods inherited from class org.wamblee.wicket.page.AbstractPageBehavior
onAfterRender, onBeforeRender, setHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpirePageImmediatelyBehavior

public ExpirePageImmediatelyBehavior()
Method Detail

onDetach

public void onDetach(org.apache.wicket.markup.html.WebPage aPage)
Description copied from interface: PageBehavior
To be called in the {@link Page#onDetach

Specified by:
onDetach in interface PageBehavior
Overrides:
onDetach in class AbstractPageBehavior


Copyright © 2022. All Rights Reserved.