Interface IPageRequestHandler
-
- All Superinterfaces:
IPageClassRequestHandler,org.apache.wicket.request.IRequestHandler
- All Known Subinterfaces:
AjaxRequestTarget,IPartialPageRequestHandler
- All Known Implementing Classes:
AjaxRequestHandler,BookmarkableListenerRequestHandler,ListenerRequestHandler,RenderPageRequestHandler
public interface IPageRequestHandler extends IPageClassRequestHandler
Request handler that works with a page instance.- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRequestablePagegetPage()Returns the page.java.lang.IntegergetPageId()Returns the page id.java.lang.IntegergetRenderCount()Returns the number of times this page has been rendered.booleanisPageInstanceCreated()Checks if the page instance is already created or if it will be created whengetPage()is called-
Methods inherited from interface org.apache.wicket.core.request.handler.IPageClassRequestHandler
getPageClass, getPageParameters
-
-
-
-
Method Detail
-
getPage
IRequestablePage getPage()
Returns the page. Be aware that the page can be instantiated if this wasn't the case already.- Returns:
- page instance
-
getPageId
java.lang.Integer getPageId()
Returns the page id.- Returns:
- page id
-
isPageInstanceCreated
boolean isPageInstanceCreated()
Checks if the page instance is already created or if it will be created whengetPage()is called- Returns:
trueiff page instance is already created
-
getRenderCount
java.lang.Integer getRenderCount()
Returns the number of times this page has been rendered.- Returns:
- the number of times this page has been rendered.
- See Also:
IRequestablePage.getRenderCount()
-
-