Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.ajax | |
org.apache.wicket.cdi | |
org.apache.wicket.extensions.ajax.markup.html.autocomplete | |
org.apache.wicket.extensions.util.encoding |
Encoding extensions.
|
org.apache.wicket.markup.html.internal | |
org.apache.wicket.markup.html.pages |
Default special purpose pages for error and feedback support.
|
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.protocol.http.request |
This package contains http (web) protocol dependent implementations of
request processing strategies.
|
org.apache.wicket.protocol.ws | |
org.apache.wicket.request.cycle | |
org.apache.wicket.request.handler.render | |
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 |
---|---|
RequestCycle |
Application.createRequestCycle(Request request,
Response response) |
RequestCycle |
Component.getRequestCycle()
Gets the active request cycle for this component
|
static RequestCycle |
ThreadContext.getRequestCycle() |
Modifier and Type | Method and Description |
---|---|
Session |
Application.fetchCreateAndSetSession(RequestCycle requestCycle) |
static void |
ThreadContext.setRequestCycle(RequestCycle requestCycle)
Binds the
RequestCycle to current thread. |
Modifier and Type | Method and Description |
---|---|
protected WebClientInfo |
AjaxClientInfoBehavior.newWebClientInfo(RequestCycle requestCycle) |
Modifier and Type | Method and Description |
---|---|
void |
CdiContainer.activateConversationalContext(RequestCycle cycle,
String cid)
Activates the conversational context and starts the conversation with the specified cid
|
void |
CdiContainer.deactivateConversationalContext(RequestCycle cycle)
Deactivates conversational context
|
void |
ICdiAwareRequestCycleListener.onAfterConversationActivated(RequestCycle cycle)
Called right after a conversation context for this request is activated
|
void |
ICdiAwareRequestCycleListener.onBeforeConversationDeactivated(RequestCycle cycle)
Called right before the current conversation context is deactivated
|
void |
DetachEventEmitter.onDetach(RequestCycle cycle) |
void |
ConversationPropagator.onDetach(RequestCycle cycle) |
IRequestHandler |
ConversationPropagator.onException(RequestCycle cycle,
Exception ex) |
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) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractAutoCompleteBehavior.onRequest(String input,
RequestCycle requestCycle)
Callback for the ajax event generated by the javascript.
|
protected void |
AutoCompleteBehavior.onRequest(String val,
RequestCycle requestCycle) |
Modifier and Type | Method and Description |
---|---|
static String |
CharSetUtil.getEncoding(RequestCycle cycle)
Based on the Session's locale determine the associated character encoding.
|
Constructor and Description |
---|
ResponseBufferZone(RequestCycle cycle,
MarkupStream stream) |
Modifier and Type | Method and Description |
---|---|
protected WebClientInfo |
BrowserInfoPage.newWebClientInfo(RequestCycle requestCycle) |
Modifier and Type | Method and Description |
---|---|
void |
CsrfPreventionRequestCycleListener.onBeginRequest(RequestCycle cycle) |
void |
RequestLoggerRequestCycleListener.onBeginRequest(RequestCycle cycle) |
void |
RequestLoggerRequestCycleListener.onEndRequest(RequestCycle cycle) |
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) |
protected boolean |
WicketFilter.processRequestCycle(RequestCycle requestCycle,
WebResponse webResponse,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.FilterChain chain)
Process the request cycle
|
Modifier and Type | Method and Description |
---|---|
protected String |
WebClientInfo.getRemoteAddr(RequestCycle requestCycle)
Returns the IP address from
HttpServletRequest.getRemoteAddr() . |
Constructor and Description |
---|
WebClientInfo(RequestCycle requestCycle)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
ClientProperties properties)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent,
ClientProperties properties)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractUpgradeFilter.processRequestCycle(RequestCycle requestCycle,
WebResponse webResponse,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.FilterChain chain) |
Modifier and Type | Method and Description |
---|---|
static RequestCycle |
RequestCycle.get()
Returns request cycle associated with current thread.
|
<T> RequestCycle |
RequestCycle.setMetaData(MetaDataKey<T> key,
T object)
Sets the metadata for this request cycle using the given key.
|
Modifier and Type | Method and Description |
---|---|
static IPageRequestHandler |
PageRequestHandlerTracker.getFirstHandler(RequestCycle cycle)
retrieves first handler from the request cycle
|
static IPageRequestHandler |
PageRequestHandlerTracker.getLastHandler(RequestCycle cycle)
retrieves last handler from requestcycle
|
void |
RequestCycleListenerCollection.onBeginRequest(RequestCycle cycle)
Notifies all registered listeners of the onBeginRequest event in first in first out order,
i.e.
|
void |
IRequestCycleListener.onBeginRequest(RequestCycle cycle)
Called when the request cycle object is beginning its response
|
void |
AbstractRequestCycleListener.onBeginRequest(RequestCycle cycle) |
void |
RequestCycleListenerCollection.onDetach(RequestCycle cycle)
Notifies all registered listeners of the
onDetach event in first in last out order
(i.e. |
void |
IRequestCycleListener.onDetach(RequestCycle cycle)
Called after the request cycle has been detached
|
void |
AbstractRequestCycleListener.onDetach(RequestCycle cycle) |
void |
RequestCycleListenerCollection.onEndRequest(RequestCycle cycle)
Notifies all registered listeners of the
onEndRequest event in first in last out
order (i.e. |
void |
IRequestCycleListener.onEndRequest(RequestCycle cycle)
Called when the request cycle object has finished its response
|
void |
AbstractRequestCycleListener.onEndRequest(RequestCycle cycle) |
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 |
IRequestCycleListener.onException(RequestCycle cycle,
Exception ex)
Called when there is an exception in the request cycle that would normally be handled by
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 |
AbstractRequestCycleListener.onException(RequestCycle cycle,
Exception ex) |
void |
RequestCycleListenerCollection.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
void |
PageRequestHandlerTracker.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
void |
IRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception)
Called when an
IRequestHandler is resolved for an exception and will be executed. |
void |
AbstractRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
void |
RequestCycleListenerCollection.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler) |
void |
IRequestCycleListener.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler)
Called after an
IRequestHandler has been executed. |
void |
AbstractRequestCycleListener.onRequestHandlerExecuted(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
PageRequestHandlerTracker.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
IRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler)
Called when an
IRequestHandler is resolved and will be executed. |
void |
AbstractRequestCycleListener.onRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestCycleListenerCollection.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
PageRequestHandlerTracker.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
IRequestCycleListener.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler)
Called when a
IRequestHandler has been scheduled. |
void |
AbstractRequestCycleListener.onRequestHandlerScheduled(RequestCycle cycle,
IRequestHandler handler) |
void |
RequestCycleListenerCollection.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
void |
IRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url)
Called after a Url is generated for a
IRequestHandler . |
void |
AbstractRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
WebPageRenderer.isAjax(RequestCycle requestCycle) |
protected void |
WebPageRenderer.redirectTo(Url url,
RequestCycle requestCycle) |
protected BufferedWebResponse |
WebPageRenderer.renderPage(Url targetUrl,
RequestCycle requestCycle)
Renders page to a
BufferedWebResponse . |
abstract void |
PageRenderer.respond(RequestCycle requestCycle)
Render the response using give
RequestCycle . |
void |
WebPageRenderer.respond(RequestCycle requestCycle) |
protected boolean |
WebPageRenderer.shouldPreserveClientUrl(RequestCycle requestCycle) |
protected boolean |
WebPageRenderer.shouldRedirectToTargetUrl(RequestCycle cycle,
Url currentUrl,
Url targetUrl)
Should the client be redirected to target url.
|
protected boolean |
WebPageRenderer.shouldRenderPageAndWriteResponse(RequestCycle cycle,
Url currentUrl,
Url targetUrl)
Should the page be rendered immediately.
|
Modifier and Type | Method and Description |
---|---|
RequestCycle |
BaseWicketTester.getRequestCycle() |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.