org.apache.wicket.request.handler
Class BookmarkablePageRequestHandler

java.lang.Object
  extended by org.apache.wicket.request.handler.BookmarkablePageRequestHandler
All Implemented Interfaces:
IPageClassRequestHandler, ILoggableRequestHandler, IRequestHandler

public class BookmarkablePageRequestHandler
extends Object
implements IPageClassRequestHandler, ILoggableRequestHandler

Request handler for bookmarkable pages. This handler is only used to generate URLs. Rendering is always handled by RenderPageRequestHandler.

Author:
Matej Knopp

Constructor Summary
BookmarkablePageRequestHandler(IPageProvider pageProvider)
          Construct.
 
Method Summary
 void detach(IRequestCycle requestCycle)
          This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.
 PageLogData getLogData()
          Returns the collected log data for this request handler and should never throw an exception.
 Class<? extends IRequestablePage> getPageClass()
          Returns the page class
 PageParameters getPageParameters()
           
 void respond(IRequestCycle requestCycle)
          Generates a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarkablePageRequestHandler

public BookmarkablePageRequestHandler(IPageProvider pageProvider)
Construct.

Parameters:
pageProvider -
Method Detail

getPageClass

public Class<? extends IRequestablePage> getPageClass()
Description copied from interface: IPageClassRequestHandler
Returns the page class

Specified by:
getPageClass in interface IPageClassRequestHandler
Returns:
page class
See Also:
IPageClassRequestHandler.getPageClass()

getPageParameters

public PageParameters getPageParameters()
Specified by:
getPageParameters in interface IPageClassRequestHandler
Returns:
page parameters
See Also:
IPageClassRequestHandler.getPageParameters()

respond

public void respond(IRequestCycle requestCycle)
Description copied from interface: IRequestHandler
Generates a response.

Specified by:
respond in interface IRequestHandler
Parameters:
requestCycle - the current request cycle
See Also:
org.apache.org.apache.wicket.request.IRequestHandler#respond(org.apache.wicket.request.cycle.RequestCycle)

detach

public void detach(IRequestCycle requestCycle)
Description copied from interface: IRequestHandler
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.

Specified by:
detach in interface IRequestHandler
Parameters:
requestCycle - the current request cycle
See Also:
org.apache.org.apache.wicket.request.IRequestHandler#detach(org.apache.wicket.request.cycle.RequestCycle)

getLogData

public PageLogData getLogData()
Returns the collected log data for this request handler and should never throw an exception. This method is never called before the request handler is detached.

Specified by:
getLogData in interface ILoggableRequestHandler
Returns:
The collected log data.


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