org.apache.wicket.examples.staticpages
Class CapturingBookmarkablePageRequestTarget
java.lang.Object
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget
org.apache.wicket.examples.staticpages.CapturingBookmarkablePageRequestTarget
- All Implemented Interfaces:
- IRequestTarget, IBookmarkablePageRequestTarget, IEventProcessor
public abstract class CapturingBookmarkablePageRequestTarget
- extends BookmarkablePageRequestTarget
- Author:
- Jean-Baptiste Quenot
Methods inherited from class org.apache.wicket.request.target.component.BookmarkablePageRequestTarget |
detach, equals, getPage, getPage, getPageClass, getPageMapName, getPageParameters, hashCode, newPage, processEvents, setPage, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CapturingBookmarkablePageRequestTarget
public CapturingBookmarkablePageRequestTarget(java.lang.Class capturedPageClass,
java.lang.Class displayedPageClass,
PageParameters pageParameters)
- Construct.
- Parameters:
capturedPageClass
- the bookmarkable page to capture for sending in emaildisplayedPageClass
- the bookmarkable page to display in the browser
CapturingBookmarkablePageRequestTarget
public CapturingBookmarkablePageRequestTarget(java.lang.Class capturedPageClass,
java.lang.Class displayedPageClass)
- Construct.
- Parameters:
capturedPageClass
- the bookmarkable page to capture for sending in emaildisplayedPageClass
- the bookmarkable page to display in the browser
respond
public void respond(RequestCycle requestCycle)
- Description copied from interface:
IRequestTarget
- Generates a response.
- Specified by:
respond
in interface IRequestTarget
- Overrides:
respond
in class BookmarkablePageRequestTarget
- Parameters:
requestCycle
- the current request cycle- See Also:
BookmarkablePageRequestTarget.respond(org.apache.wicket.RequestCycle)
onCapture
protected abstract void onCapture(StringResponse emailResponse)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.