Interface IPageRequestHandler

All Superinterfaces:
IPageClassRequestHandler, org.apache.wicket.request.IRequestHandler
All Known Subinterfaces:
AjaxRequestTarget, IPartialPageRequestHandler
All Known Implementing Classes:
AbstractPartialPageRequestHandler, AjaxRequestHandler, BookmarkableListenerRequestHandler, ListenerRequestHandler, RenderPageRequestHandler

Request handler that works with a page instance.
Author:
Matej Knopp
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the page.
    static Page
    getPage(org.apache.wicket.request.IRequestHandler handler)
    Resolves a page instance from the request handler iff the page instance is already created
    Returns the page id.
    Returns the number of times this page has been rendered.
    boolean
    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 Details

    • getPage

      Returns the page. Be aware that the page can be instantiated if this wasn't the case already.
      Returns:
      page instance
    • getPageId

      Returns the page id.
      Returns:
      page id
    • 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

      Returns the number of times this page has been rendered.
      Returns:
      the number of times this page has been rendered.
      See Also:
    • getPage

      static Page getPage(org.apache.wicket.request.IRequestHandler handler)
      Resolves a page instance from the request handler iff the page instance is already created
      Parameters:
      handler - The request handler
      Returns:
      page or null if none