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 |
CapturingBookmarkablePageRequestTarget
public CapturingBookmarkablePageRequestTarget(Class<C> capturedPageClass,
Class<D> displayedPageClass,
PageParameters pageParameters)
- Construct.
- Type Parameters:
C
- D
- - Parameters:
capturedPageClass
- the bookmarkable page to capture for sending in emaildisplayedPageClass
- the bookmarkable page to display in the browserpageParameters
- the page parameters
CapturingBookmarkablePageRequestTarget
public CapturingBookmarkablePageRequestTarget(Class<C> capturedPageClass,
Class<D> displayedPageClass)
- Construct.
- Type Parameters:
C
- D
- - 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-2011 Apache Software Foundation. All Rights Reserved.