Class BookmarkablePageRequestHandler
- java.lang.Object
-
- org.apache.wicket.core.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 byRenderPageRequestHandler
.- Author:
- Matej Knopp
-
-
Constructor Summary
Constructors Constructor Description BookmarkablePageRequestHandler(IPageProvider pageProvider)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 classPageParameters
getPageParameters()
void
respond(IRequestCycle requestCycle)
Generates a response.String
toString()
-
-
-
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 interfaceIPageClassRequestHandler
- Returns:
- page class
-
getPageParameters
public PageParameters getPageParameters()
- Specified by:
getPageParameters
in interfaceIPageClassRequestHandler
- Returns:
- page parameters
-
respond
public void respond(IRequestCycle requestCycle)
Description copied from interface:IRequestHandler
Generates a response.- Specified by:
respond
in interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle
-
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 interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle
-
getLogData
public PageLogData getLogData()
Description copied from interface:ILoggableRequestHandler
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 interfaceILoggableRequestHandler
- Returns:
- The collected log data.
-
-