Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.ajax | |
org.apache.wicket.core.request.handler | |
org.apache.wicket.core.request.handler.logger | |
org.apache.wicket.core.request.mapper | |
org.apache.wicket.markup.html |
Base package of HTML markup.
|
org.apache.wicket.markup.html.link |
Link components.
|
org.apache.wicket.markup.html.pages |
Default special purpose pages for error and feedback support.
|
org.apache.wicket.mock | |
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.protocol.https | |
org.apache.wicket.request.component | |
org.apache.wicket.request.cycle | |
org.apache.wicket.request.handler.render | |
org.apache.wicket.session | |
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Class and Description |
---|---|
class |
Page
Abstract base class for pages.
|
Modifier and Type | Method and Description |
---|---|
<C extends IRequestablePage> |
IPageFactory.isBookmarkable(Class<C> pageClass)
Checks whether a page can be instantiated using a bookmarkable URL.
|
<C extends IRequestablePage> |
IPageFactory.newPage(Class<C> pageClass)
Creates a new page using a page class.
|
<C extends IRequestablePage> |
IPageFactory.newPage(Class<C> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Creates a new Page, passing PageParameters to the Page constructor if such a constructor
exists.
|
<C extends IRequestablePage> |
Component.setResponsePage(Class<C> cls)
Sets the page that will respond to this request
|
<C extends IRequestablePage> |
Component.setResponsePage(Class<C> cls,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Sets the page class and its parameters that will respond to this request
|
Modifier and Type | Method and Description |
---|---|
IRequestablePage |
DefaultMapperContext.getPageInstance(int pageId) |
IRequestablePage |
DefaultMapperContext.newPageInstance(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) |
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestablePage> |
DefaultMapperContext.getHomePageClass() |
Modifier and Type | Method and Description |
---|---|
void |
Component.setResponsePage(IRequestablePage page)
Sets the page that will respond to this request
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.wicket.request.IRequestMapper |
SystemMapper.newHomePageMapper(Supplier<Class<? extends IRequestablePage>> homePageProvider) |
IRequestablePage |
DefaultMapperContext.newPageInstance(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) |
Constructor and Description |
---|
RestartResponseException(IRequestablePage page)
Redirects to the specified page
|
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestablePage> |
AjaxRequestHandler.getPageClass() |
Modifier and Type | Method and Description |
---|---|
IRequestablePage |
BookmarkableListenerRequestHandler.getPage() |
IRequestablePage |
ListenerRequestHandler.getPage() |
IRequestablePage |
IPageRequestHandler.getPage()
Returns the page.
|
IRequestablePage |
RenderPageRequestHandler.getPage() |
IRequestablePage |
IPageProvider.getPageInstance()
Returns page instance specified by the constructor.
|
IRequestablePage |
PageProvider.getPageInstance() |
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestablePage> |
BookmarkableListenerRequestHandler.getPageClass() |
Class<? extends IRequestablePage> |
ListenerRequestHandler.getPageClass() |
Class<? extends IRequestablePage> |
IPageProvider.getPageClass()
Returns class of the page.
|
Class<? extends IRequestablePage> |
IPageClassRequestHandler.getPageClass()
Returns the page class
|
Class<? extends IRequestablePage> |
PageProvider.getPageClass() |
Class<? extends IRequestablePage> |
BookmarkablePageRequestHandler.getPageClass() |
Class<? extends IRequestablePage> |
RenderPageRequestHandler.getPageClass() |
Constructor and Description |
---|
PageAndComponentProvider(IRequestablePage page,
IRequestableComponent component) |
PageAndComponentProvider(IRequestablePage page,
IRequestableComponent component,
org.apache.wicket.request.mapper.parameter.PageParameters parameters) |
PageAndComponentProvider(IRequestablePage page,
String componentPath) |
PageProvider(IRequestablePage page)
Creates a new page provider object.
|
RenderPageRequestHandler(IRequestablePage page)
Constructor.
|
Constructor and Description |
---|
PageAndComponentProvider(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters,
String componentPath) |
PageAndComponentProvider(Class<? extends IRequestablePage> pageClass,
String componentPath) |
PageAndComponentProvider(int pageId,
Class<? extends IRequestablePage> pageClass,
Integer renderCount,
String componentPath) |
PageAndComponentProvider(Integer pageId,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters,
Integer renderCount,
String componentPath) |
PageProvider(Class<? extends IRequestablePage> pageClass)
Creates a new page provider object.
|
PageProvider(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates a new page provider object.
|
PageProvider(Integer pageId,
Class<? extends IRequestablePage> pageClass,
Integer renderCount)
Creates a new page provider object.
|
PageProvider(Integer pageId,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters,
Integer renderCount)
Creates a new page provider object.
|
RenderPageRequestHandler(Class<? extends IRequestablePage> pageClass)
Constructor.
|
RenderPageRequestHandler(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestablePage> |
PageLogData.getPageClass() |
Modifier and Type | Method and Description |
---|---|
IRequestablePage |
StalePageException.getPage() |
IRequestablePage |
IPageSource.getPageInstance(int pageId)
Returns existing page instance if the page exists.
|
IRequestablePage |
IPageSource.newPageInstance(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates new page instance of page with given class.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestablePage> |
IMapperContext.getHomePageClass()
Returns the home page class.
|
Class<? extends IRequestablePage> |
AbstractBookmarkableMapper.UrlInfo.getPageClass() |
protected Class<? extends IRequestablePage> |
AbstractComponentMapper.getPageClass(String name)
Loads page class with given name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractBookmarkableMapper.checkPageInstance(IRequestablePage page) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MountedMapper.checkPageClass(Class<? extends IRequestablePage> pageClass) |
protected boolean |
PackageMapper.checkPageClass(Class<? extends IRequestablePage> pageClass) |
protected boolean |
AbstractBookmarkableMapper.checkPageClass(Class<? extends IRequestablePage> pageClass) |
IRequestablePage |
IPageSource.newPageInstance(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates new page instance of page with given class.
|
protected org.apache.wicket.request.IRequestHandler |
AbstractBookmarkableMapper.processBookmarkable(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates a
IRequestHandler that processes a bookmarkable request. |
protected org.apache.wicket.request.IRequestHandler |
AbstractBookmarkableMapper.processHybrid(org.apache.wicket.request.mapper.info.PageInfo pageInfo,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters,
Integer renderCount)
Creates a
IRequestHandler that processes a hybrid request. |
protected org.apache.wicket.request.IRequestHandler |
AbstractBookmarkableMapper.processListener(org.apache.wicket.request.mapper.info.PageComponentInfo pageComponentInfo,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates a
IRequestHandler that notifies an IRequestListener . |
Constructor and Description |
---|
StalePageException(IRequestablePage page)
Construct.
|
Constructor and Description |
---|
HomePageMapper(Class<? extends IRequestablePage> pageClass)
Construct.
|
HomePageMapper(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)
Construct.
|
HomePageMapper(Supplier<Class<? extends IRequestablePage>> pageClassProvider)
Construct.
|
MountedMapper(String mountPath,
Class<? extends IRequestablePage> pageClass)
Construct.
|
MountedMapper(String mountPath,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)
Construct.
|
MountedMapper(String mountPath,
Supplier<Class<? extends IRequestablePage>> pageClassProvider)
Construct.
|
MountedMapper(String mountPath,
Supplier<Class<? extends IRequestablePage>> pageClassProvider,
org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)
Construct.
|
UrlInfo(org.apache.wicket.request.mapper.info.PageComponentInfo pageComponentInfo,
Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericWebPage<T>
A
WebPage with typesafe getters and setters for the model and its underlying object |
class |
WebPage
Base class for HTML pages.
|
Modifier and Type | Class and Description |
---|---|
static class |
PopupCloseLink.ClosePopupPage
ClosePopupPage closes the popup window.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractErrorPage
A parent page for all pages that are used to show an error to the user.
|
class |
AccessDeniedPage
Page expired error page.
|
class |
BrowserInfoPage
This page uses a form post right after the page has loaded in the browser, using JavaScript or
alternative means to detect and pass on settings to the embedded form.
|
class |
ExceptionErrorPage
Shows a runtime exception on a nice HTML page.
|
class |
InternalErrorPage
Internal error display page.
|
class |
PageExpiredErrorPage
Page expired error page.
|
class |
RedirectPage
Page that let the browser redirect.
|
Modifier and Type | Class and Description |
---|---|
class |
MockHomePage
Mock Page
|
Modifier and Type | Method and Description |
---|---|
protected void |
CsrfPreventionRequestCycleListener.abortHandler(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Handles the case where an Origin HTTP header was not present or did not match the request
origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to ABORT . |
protected void |
CsrfPreventionRequestCycleListener.allowHandler(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Handles the case where an Origin HTTP header was not present or did not match the request
origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to ALLOW . |
protected void |
CsrfPreventionRequestCycleListener.checkRequest(javax.servlet.http.HttpServletRequest request,
String sourceUri,
IRequestablePage page)
Performs the check of the
Origin or Referer header that is targeted at the
page . |
protected boolean |
CsrfPreventionRequestCycleListener.isChecked(IRequestablePage targetedPage)
Override to limit whether the request to the specific page should be checked for a possible
CSRF attack.
|
protected void |
CsrfPreventionRequestCycleListener.matchingOrigin(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Handles the case where an origin was checked and matched the request origin.
|
protected void |
CsrfPreventionRequestCycleListener.onAborted(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Override this method to customize the case where an Origin HTTP header was not present or did
not match the request origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to ABORTED . |
protected void |
CsrfPreventionRequestCycleListener.onAllowed(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Override this method to customize the case where an Origin HTTP header was not present or did
not match the request origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to ALLOW . |
protected void |
CsrfPreventionRequestCycleListener.onMatchingOrigin(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Called when the origin HTTP header matched the request.
|
protected void |
CsrfPreventionRequestCycleListener.onSuppressed(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Override this method to customize the case where an Origin HTTP header was not present or did
not match the request origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to SUPPRESSED . |
protected void |
CsrfPreventionRequestCycleListener.onWhitelisted(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Called when the origin was available in the whitelist.
|
protected void |
CsrfPreventionRequestCycleListener.suppressHandler(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Handles the case where an Origin HTTP header was not present or did not match the request
origin, and the corresponding action (
CsrfPreventionRequestCycleListener.noOriginAction or
CsrfPreventionRequestCycleListener.conflictingOriginAction ) is set to SUPPRESS . |
protected void |
CsrfPreventionRequestCycleListener.whitelistedHandler(javax.servlet.http.HttpServletRequest request,
String origin,
IRequestablePage page)
Handles the case where an origin is in the whitelist.
|
Modifier and Type | Method and Description |
---|---|
protected Scheme |
HttpsMapper.getDesiredSchemeFor(Class<? extends IRequestablePage> pageClass)
Determines which
Scheme should be used to access the page |
Modifier and Type | Method and Description |
---|---|
IRequestablePage |
IRequestableComponent.getPage()
Returns page this component belongs to.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestCycle.setResponsePage(IRequestablePage page)
Convenience method for setting next page to be rendered.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestCycle.setResponsePage(Class<? extends IRequestablePage> pageClass)
Convenience method for setting next page to be rendered.
|
void |
RequestCycle.setResponsePage(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Convenience method for setting next page to be rendered.
|
void |
RequestCycle.setResponsePage(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
Convenience method for setting next page to be rendered.
|
void |
RequestCycle.setResponsePage(Class<? extends IRequestablePage> pageClass,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
Convenience method for setting next page to be rendered.
|
Modifier and Type | Method and Description |
---|---|
protected IRequestablePage |
PageRenderer.getPage() |
Modifier and Type | Method and Description |
---|---|
<C extends IRequestablePage> |
DefaultPageFactory.isBookmarkable(Class<C> pageClass) |
<C extends IRequestablePage> |
DefaultPageFactory.newPage(Class<C> pageClass) |
<C extends IRequestablePage> |
DefaultPageFactory.newPage(Class<C> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters parameters) |
Modifier and Type | Class and Description |
---|---|
static class |
BaseWicketTester.StartComponentInPage
A page that is used as the automatically created page for
BaseWicketTester.startComponentInPage(Class) and the other variations. |
class |
DummyHomePage
A dummy home page, as required by
WicketTester . |
class |
DummyPanelPage
A dummy
Panel Component. |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.