|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.target.component.BookmarkablePageRequestTarget
public class BookmarkablePageRequestTarget
Default implementation of IBookmarkablePageRequestTarget
. Target that denotes a page that
is to be created from the provided page class. This is typically used for redirects to
bookmarkable pages or mounted pages.
Constructor Summary | |
---|---|
BookmarkablePageRequestTarget(java.lang.Class pageClass)
Construct. |
|
BookmarkablePageRequestTarget(java.lang.Class pageClass,
PageParameters pageParameters)
Construct. |
|
BookmarkablePageRequestTarget(java.lang.String pageMapName,
java.lang.Class pageClass)
Construct. |
|
BookmarkablePageRequestTarget(java.lang.String pageMapName,
java.lang.Class pageClass,
PageParameters pageParameters)
Construct. |
Method Summary | |
---|---|
void |
detach(RequestCycle 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. |
boolean |
equals(java.lang.Object obj)
|
Page |
getPage()
|
protected Page |
getPage(RequestCycle requestCycle)
Gets a newly constructed page if we are not in a redirect. |
java.lang.Class |
getPageClass()
Gets the page class. |
java.lang.String |
getPageMapName()
Gets the optional page map name. |
PageParameters |
getPageParameters()
Gets the optional page parameters. |
int |
hashCode()
|
protected Page |
newPage(java.lang.Class pageClass,
RequestCycle requestCycle)
Constructs a new instance of a page given its class name |
void |
processEvents(RequestCycle requestCycle)
After a page is restored, this method is responsible for calling any event handling code based on the request. |
void |
respond(RequestCycle requestCycle)
Generates a response. |
protected void |
setPage(Page page)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BookmarkablePageRequestTarget(java.lang.Class pageClass)
pageClass
- the class of the pagepublic BookmarkablePageRequestTarget(java.lang.Class pageClass, PageParameters pageParameters)
pageClass
- the class of the pagepageParameters
- optional page parameterspublic BookmarkablePageRequestTarget(java.lang.String pageMapName, java.lang.Class pageClass)
pageMapName
- optional page map namepageClass
- the class of the pagepublic BookmarkablePageRequestTarget(java.lang.String pageMapName, java.lang.Class pageClass, PageParameters pageParameters)
pageMapName
- optional page map namepageClass
- the class of the pagepageParameters
- optional page parametersMethod Detail |
---|
public void detach(RequestCycle requestCycle)
IRequestTarget
detach
in interface IRequestTarget
requestCycle
- the current request cycleIRequestTarget.detach(org.apache.wicket.RequestCycle)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public final Page getPage()
protected final void setPage(Page page)
public final java.lang.Class getPageClass()
IBookmarkablePageRequestTarget
getPageClass
in interface IBookmarkablePageRequestTarget
IBookmarkablePageRequestTarget.getPageClass()
public final java.lang.String getPageMapName()
IBookmarkablePageRequestTarget
getPageMapName
in interface IBookmarkablePageRequestTarget
IBookmarkablePageRequestTarget.getPageMapName()
public final PageParameters getPageParameters()
IBookmarkablePageRequestTarget
getPageParameters
in interface IBookmarkablePageRequestTarget
IBookmarkablePageRequestTarget.getPageParameters()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void processEvents(RequestCycle requestCycle)
IEventProcessor
processEvents
in interface IEventProcessor
requestCycle
- the current request cycleIEventProcessor.processEvents(org.apache.wicket.RequestCycle)
public void respond(RequestCycle requestCycle)
IRequestTarget
respond
in interface IRequestTarget
requestCycle
- the current request cycleIRequestTarget.respond(org.apache.wicket.RequestCycle)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
protected Page newPage(java.lang.Class pageClass, RequestCycle requestCycle)
pageClass
- class name of the page to be createdrequestCycle
- request cycle
protected final Page getPage(RequestCycle requestCycle)
requestCycle
- the request cycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |