Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.ajax | |
org.apache.wicket.cdi | |
org.apache.wicket.core.request.handler | |
org.apache.wicket.core.request.mapper | |
org.apache.wicket.examples.frames | |
org.apache.wicket.examples.requestmapper | |
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.protocol.https | |
org.apache.wicket.protocol.ws | |
org.apache.wicket.protocol.ws.api | |
org.apache.wicket.request |
Package for classes that have generic (protocol independent) support for request cycle processing.
|
org.apache.wicket.request.cycle | |
org.apache.wicket.request.flow | |
org.apache.wicket.request.handler | |
org.apache.wicket.request.handler.resource | |
org.apache.wicket.request.http.handler | |
org.apache.wicket.request.mapper | |
org.apache.wicket.request.resource | |
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 | Method and Description |
---|---|
IRequestHandler |
DefaultExceptionMapper.map(Exception e) |
protected IRequestHandler |
DefaultExceptionMapper.mapExpectedExceptions(Exception e,
Application application)
Maps expected exceptions (i.e.
|
IRequestHandler |
UrlResourceReferenceMapper.mapRequest(Request request) |
protected IRequestHandler |
DefaultExceptionMapper.mapUnexpectedExceptions(Exception e,
Application application)
Maps unexpected exceptions to their corresponding
IRequestHandler . |
Modifier and Type | Method and Description |
---|---|
void |
Application.logEventTarget(IRequestHandler target)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
|
void |
Application.logResponseTarget(IRequestHandler requestTarget)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
|
Url |
UrlResourceReferenceMapper.mapHandler(IRequestHandler requestHandler) |
CharSequence |
Component.urlFor(IRequestHandler requestHandler)
Returns a URL that references the given request target.
|
Constructor and Description |
---|
NonResettingRestartException(IRequestHandler handler,
boolean removeAll)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AjaxRequestTarget |
Modifier and Type | Class and Description |
---|---|
class |
AjaxRequestHandler
A request target that produces ajax response envelopes used on the client side to update
component markup as well as evaluate arbitrary javascript.
|
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
ConversationExpiredException.getHandler() |
IRequestHandler |
ConversationPropagator.onException(RequestCycle cycle,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ConversationPropagator.activateForHandler(IRequestHandler handler)
Determines whether or not a conversation should be activated fro the specified handler.
|
protected void |
AutoConversationManager.autoBeginIfNecessary(Page page,
IRequestHandler handler) |
protected void |
ConversationPropagator.autoBeginIfNecessary(Page page,
IRequestHandler handler,
javax.enterprise.context.Conversation conversation) |
protected void |
AutoConversationManager.autoEndIfNecessary(Page page,
IRequestHandler handler) |
protected void |
ConversationPropagator.autoEndIfNecessary(Page page,
IRequestHandler handler,
javax.enterprise.context.Conversation conversation) |
static Page |
ConversationPropagator.getPage(IRequestHandler handler)
Resolves a page instance from the request handler iff the page instance is already created
|
protected PageParameters |
ConversationPropagator.getPageParameters(IRequestHandler handler)
Resolves page parameters from a request handler
|
void |
ConversationPropagator.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler) |
void |
DetachEventEmitter.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
ConversationPropagator.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
ConversationPropagator.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
ConversationPropagator.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
boolean |
IConversationPropagation.propagatesViaPage(Page page,
IRequestHandler handler)
Indicates if the conversation should be propagated via page metadata (on an instance) for the
given page and request handler.
|
boolean |
IConversationPropagation.propagatesViaParameters(IRequestHandler handler)
Indicates if the conversation should be propagated via url-parameters for the given request
handler.
|
Constructor and Description |
---|
ConversationExpiredException(Throwable cause,
String cid,
Page page,
IRequestHandler handler) |
Modifier and Type | Interface and Description |
---|---|
interface |
IComponentRequestHandler
Request handler that works with a component.
|
interface |
IPageClassRequestHandler
Request handler that works with page class.
|
interface |
IPageRequestHandler
Request handler that works with a page instance.
|
interface |
IPartialPageRequestHandler
Request handler that allows partial updates of the current page instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BookmarkableListenerRequestHandler
Request handler for bookmarkable pages with an
IRequestListener . |
class |
BookmarkablePageRequestHandler
Request handler for bookmarkable pages.
|
class |
BufferedResponseRequestHandler
Handler that renders a
BufferedWebResponse . |
class |
ComponentRenderingRequestHandler
Request handler that renders a component
|
class |
EmptyAjaxRequestHandler
The empty AJAX request target does output an empty AJAX response.
|
class |
ListenerRequestHandler
Request handler that invokes an
IRequestListener on component or behavior and renders page afterwards. |
class |
RenderPageRequestHandler
IRequestHandler that renders page instance. |
class |
RequestSettingRequestHandler
A
IRequestHandler that sets the current Request before delegating the responding
to a wrapped request handler. |
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
RequestSettingRequestHandler.getDelegateHandler()
Returns the request handler to which responding will be delegated.
|
Constructor and Description |
---|
RequestSettingRequestHandler(Request request,
IRequestHandler delegate)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
PageInstanceMapper.mapRequest(Request request) |
IRequestHandler |
ResourceMapper.mapRequest(Request request) |
IRequestHandler |
CryptoMapper.mapRequest(Request request) |
IRequestHandler |
AbstractBookmarkableMapper.mapRequest(Request request) |
IRequestHandler |
BasicResourceReferenceMapper.mapRequest(Request request) |
IRequestHandler |
BufferedResponseMapper.mapRequest(Request request) |
protected IRequestHandler |
AbstractBookmarkableMapper.processBookmarkable(Class<? extends IRequestablePage> pageClass,
PageParameters pageParameters)
Creates a
IRequestHandler that processes a bookmarkable request. |
protected IRequestHandler |
AbstractBookmarkableMapper.processHybrid(PageInfo pageInfo,
Class<? extends IRequestablePage> pageClass,
PageParameters pageParameters,
Integer renderCount)
Creates a
IRequestHandler that processes a hybrid request. |
protected IRequestHandler |
AbstractBookmarkableMapper.processListener(PageComponentInfo pageComponentInfo,
Class<? extends IRequestablePage> pageClass,
PageParameters pageParameters)
Creates a
IRequestHandler that notifies an IRequestListener . |
Modifier and Type | Method and Description |
---|---|
Url |
PageInstanceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
ResourceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
CryptoMapper.mapHandler(IRequestHandler requestHandler) |
Url |
AbstractBookmarkableMapper.mapHandler(IRequestHandler requestHandler) |
Url |
BasicResourceReferenceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
MountedMapper.mapHandler(IRequestHandler requestHandler) |
Url |
BufferedResponseMapper.mapHandler(IRequestHandler requestHandler) |
Constructor and Description |
---|
ExampleFrame(String id,
IRequestHandler requestHandler) |
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
CustomHomeMapper.mapRequest(Request request)
Removes the leading segment if it a valid Locale
|
IRequestHandler |
LocaleFirstMapper.mapRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
Url |
CustomHomeMapper.mapHandler(IRequestHandler requestHandler)
Sets the current session Locale as first segment in the Url.
|
Url |
LocaleFirstMapper.mapHandler(IRequestHandler handler) |
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
IRequestLogger.RequestData.getEventTarget() |
IRequestHandler |
IRequestLogger.RequestData.getResponseTarget() |
protected IRequestHandler |
CsrfPreventionRequestCycleListener.unwrap(IRequestHandler handler)
Unwraps the handler if it is a
IRequestHandlerDelegate down to the deepest nested
handler. |
Modifier and Type | Method and Description |
---|---|
Class<? extends IRequestHandler> |
IRequestLogger.RequestData.getEventTargetClass() |
Class<? extends IRequestHandler> |
IRequestLogger.RequestData.getResponseTargetClass() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
CsrfPreventionRequestCycleListener.isChecked(IRequestHandler handler)
Override to change the request handler types that are checked.
|
void |
AbstractRequestLogger.logEventTarget(IRequestHandler requestHandler) |
void |
IRequestLogger.logEventTarget(IRequestHandler target)
Sets the target that was the event target for the current request
|
void |
WebApplication.logEventTarget(IRequestHandler target) |
void |
AbstractRequestLogger.logResponseTarget(IRequestHandler requestHandler) |
void |
IRequestLogger.logResponseTarget(IRequestHandler target)
Sets the target that was the response target for the current request
|
void |
WebApplication.logResponseTarget(IRequestHandler target) |
void |
RequestLoggerRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
void |
CsrfPreventionRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestLoggerRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestLoggerRequestCycleListener.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
IRequestLogger.RequestData.setEventTarget(IRequestHandler target) |
void |
IRequestLogger.RequestData.setResponseTarget(IRequestHandler target) |
protected IRequestHandler |
CsrfPreventionRequestCycleListener.unwrap(IRequestHandler handler)
Unwraps the handler if it is a
IRequestHandlerDelegate down to the deepest nested
handler. |
Modifier and Type | Class and Description |
---|---|
static class |
HttpsMapper.RedirectHandler
Handler that takes care of redirecting
|
Modifier and Type | Method and Description |
---|---|
protected IRequestHandler |
HttpsMapper.createRedirectHandler(String url)
Creates the
IRequestHandler that will be responsible for the redirect |
IRequestHandler |
HttpsMapper.mapRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
protected String |
HttpsMapper.createRedirectUrl(IRequestHandler handler,
Request request,
Scheme scheme)
Constructs a redirect url that should switch the user to the specified
scheme |
protected Scheme |
HttpsMapper.getDesiredSchemeFor(IRequestHandler handler)
Figures out which
Scheme should be used to access the request handler |
Url |
HttpsMapper.mapHandler(IRequestHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
WebSocketAwareCsrfPreventionRequestCycleListener.isChecked(IRequestHandler handler) |
Modifier and Type | Interface and Description |
---|---|
interface |
IWebSocketRequestHandler
An interface for outbound communication with web socket clients
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketMessageBroadcastHandler
An
IRequestHandler that broadcasts the payload to the
page/resource |
class |
WebSocketRequestHandler
A handler of WebSocket requests.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ILoggableRequestHandler
A loggable request handler is a
IRequestHandler that is capable of delivering log data. |
interface |
IRequestHandlerDelegate
A
IRequestHandler that delegates the actual work to another IRequestHandler . |
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
RequestHandlerExecutor.execute(IRequestHandler handler)
Execute the given handler.
|
IRequestHandler |
RequestHandlerExecutor.getActive()
Get the handler currently executed.
|
IRequestHandler |
IRequestHandlerDelegate.getDelegateHandler() |
IRequestHandler |
RequestHandlerExecutor.ReplaceHandlerException.getReplacementRequestHandler() |
IRequestHandler |
IExceptionMapper.map(Exception e) |
IRequestHandler |
IRequestMapper.mapRequest(Request request)
|
IRequestHandler |
RequestHandlerExecutor.next() |
IRequestHandler |
RequestHandlerExecutor.resolveHandler(RuntimeException exception)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
RequestHandlerExecutor.detach(IRequestHandler handler)
Allows the request handler to detach
|
IRequestHandler |
RequestHandlerExecutor.execute(IRequestHandler handler)
Execute the given handler.
|
Url |
IRequestMapper.mapHandler(IRequestHandler requestHandler)
|
void |
RequestHandlerExecutor.replaceAll(IRequestHandler handler)
Replaces all request handlers on the stack with the specified one and executes it.
|
protected abstract void |
RequestHandlerExecutor.respond(IRequestHandler handler)
Allows the request handler to respond to the request
|
void |
RequestHandlerExecutor.schedule(IRequestHandler handler)
Schedules the handler after the current one
|
void |
IRequestCycle.scheduleRequestHandlerAfterCurrent(IRequestHandler handler)
Schedule the request handler to be executed after the current one.
|
Constructor and Description |
---|
ReplaceHandlerException(IRequestHandler replacementRequestHandler,
boolean removeScheduled)
Construct.
|
Modifier and Type | Method and Description |
---|---|
<T extends IRequestHandler> |
RequestCycle.find(Class<T> type)
Finds a IRequestHandler which is either the currently executing handler or is scheduled to be
executed.
|
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
RequestCycle.getActiveRequestHandler() |
IRequestHandler |
RequestCycle.getRequestHandlerScheduledAfterCurrent() |
protected IRequestHandler |
RequestCycle.handleException(Exception e)
Return
IRequestHandler for the given exception. |
default IRequestHandler |
IRequestCycleListener.onException(RequestCycle cycle,
Exception ex)
Called when there is an exception in the request cycle that would normally be handled by
RequestCycle.handleException(Exception)
Note that in the event of an exception, IRequestCycleListener.onEndRequest(RequestCycle) will still be called after
these listeners have IRequestCycleListener.onException(RequestCycle, Exception) called |
IRequestHandler |
RequestCycleListenerCollection.onException(RequestCycle cycle,
Exception ex)
Notifies all registered listeners of the exception and calls the first handler that was
returned by the listeners.
|
IRequestHandler |
AbstractRequestCycleListener.onException(RequestCycle cycle,
Exception ex)
Deprecated.
|
protected IRequestHandler |
RequestCycle.resolveRequestHandler()
Resolves current request to a
IRequestHandler . |
Modifier and Type | Method and Description |
---|---|
Url |
RequestCycle.mapUrlFor(IRequestHandler handler)
Returns URL for the request handler or
null if the handler couldn't have been
encoded. |
default void |
IRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception)
Called when an
IRequestHandler is resolved for an exception and will be executed. |
void |
RequestCycleListenerCollection.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
void |
AbstractRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception)
Deprecated.
|
default void |
IRequestCycleListener.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler)
Called after an
IRequestHandler has been executed. |
void |
RequestCycleListenerCollection.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler) |
void |
AbstractRequestCycleListener.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler)
Deprecated.
|
default void |
IRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler)
Called when an
IRequestHandler is resolved and will be executed. |
void |
PageRequestHandlerTracker.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
AbstractRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler)
Deprecated.
|
default void |
IRequestCycleListener.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler)
Called when a
IRequestHandler has been scheduled. |
void |
RequestCycleListenerCollection.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
AbstractRequestCycleListener.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler)
Deprecated.
|
default void |
IRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url)
Called after a Url is generated for a
IRequestHandler . |
void |
RequestCycleListenerCollection.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
void |
AbstractRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url)
Deprecated.
|
void |
RequestCycle.replaceAllRequestHandlers(IRequestHandler handler) |
void |
RequestCycle.scheduleRequestHandlerAfterCurrent(IRequestHandler handler)
Schedule the request handler to be executed after the current one.
|
CharSequence |
RequestCycle.urlFor(IRequestHandler handler)
Returns the rendered URL for the request handler or
null if the handler couldn't
have been rendered. |
Constructor and Description |
---|
ResetResponseException(IRequestHandler handler)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
EmptyRequestHandler
Request handler that performs no work
|
class |
TextRequestHandler
Request target that responds by sending its string property.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceReferenceRequestHandler
Request handler for
ResourceReference . |
class |
ResourceRequestHandler
Request handler that renders a resource.
|
class |
ResourceStreamRequestHandler
Request target that responds by sending its resource stream.
|
class |
WebExternalResourceRequestHandler
Request target that is not a Wicket resource.
|
Modifier and Type | Class and Description |
---|---|
class |
ErrorCodeRequestHandler
Response target that is to be used in a servlet environment to send an error code and optionally
a message.
|
class |
RedirectRequestHandler
A request handler that redirects to the given url.
|
Modifier and Type | Method and Description |
---|---|
IRequestHandler |
CompoundRequestMapper.mapRequest(Request request)
Searches the registered
IRequestMapper s to find one that can map the Request . |
IRequestHandler |
ParentPathReferenceRewriter.mapRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
Url |
CompoundRequestMapper.mapHandler(IRequestHandler handler)
Searches the registered
IRequestMapper s to find one that can map the
IRequestHandler . |
Url |
ParentPathReferenceRewriter.mapHandler(IRequestHandler requestHandler)
|
Modifier and Type | Method and Description |
---|---|
Url |
MetaInfStaticResourceReference.mapHandler(IRequestHandler requestHandler)
Returns the
Url for given IRequestHandler if "/META-INF/resources" Servlet
3.0 feature is supported or null if not (so standard url mapping can take
place). |
Modifier and Type | Method and Description |
---|---|
boolean |
BaseWicketTester.processRequest(IRequestHandler forcedRequestHandler) |
boolean |
BaseWicketTester.processRequest(MockHttpServletRequest request,
IRequestHandler forcedRequestHandler)
Processes the request in mocked Wicket environment.
|
protected boolean |
BaseWicketTester.processRequest(MockHttpServletRequest forcedRequest,
IRequestHandler forcedRequestHandler,
boolean redirect)
Process the request.
|
Url |
BaseWicketTester.urlFor(IRequestHandler handler)
Encodes the
IRequestHandler to Url . |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.