org.apache.wicket.core.request.handler
Interface IPageRequestHandler

All Superinterfaces:
IPageClassRequestHandler, IRequestHandler
All Known Subinterfaces:
AjaxRequestTarget
All Known Implementing Classes:
AjaxRequestHandler, BookmarkableListenerInterfaceRequestHandler, ListenerInterfaceRequestHandler, RenderPageRequestHandler

public interface IPageRequestHandler
extends IPageClassRequestHandler

Request handler that works with a page instance.

Author:
Matej Knopp

Method Summary
 IRequestablePage getPage()
          Returns the page.
 Integer getPageId()
          Returns the page id.
 Integer getRenderCount()
          Returns the number of times this page has been rendered.
 boolean isPageInstanceCreated()
          Checks if the page instance is already created or if it will be created when getPage() is called
 
Methods inherited from interface org.apache.wicket.core.request.handler.IPageClassRequestHandler
getPageClass, getPageParameters
 
Methods inherited from interface org.apache.wicket.request.IRequestHandler
detach, respond
 

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

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 when getPage() is called

Returns:
true iff page instance is already created

getRenderCount

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()


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.