Module org.apache.wicket.core
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 by
RenderPageRequestHandler
.- Author:
- Matej Knopp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Returns the collected log data for this request handler and should never throw an exception.Class<? extends IRequestablePage>
Returns the page classvoid
respond
(IRequestCycle requestCycle) Generates a response.toString()
-
Constructor Details
-
BookmarkablePageRequestHandler
Construct.- Parameters:
pageProvider
-
-
-
Method Details
-
getPageClass
Description copied from interface:IPageClassRequestHandler
Returns the page class- Specified by:
getPageClass
in interfaceIPageClassRequestHandler
- Returns:
- page class
-
getPageParameters
- Specified by:
getPageParameters
in interfaceIPageClassRequestHandler
- Returns:
- page parameters
-
respond
Description copied from interface:IRequestHandler
Generates a response.- Specified by:
respond
in interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle
-
detach
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
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.
-
toString
-