| Package | Description |
|---|---|
| org.apache.wicket |
The core Wicket package.
|
| org.apache.wicket.markup.html.internal | |
| 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.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) |
static RequestCycle |
ThreadContext.getRequestCycle() |
RequestCycle |
Component.getRequestCycle()
Gets the active request cycle for this component
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Application.fetchCreateAndSetSession(RequestCycle requestCycle) |
static void |
ThreadContext.setRequestCycle(RequestCycle requestCycle)
Binds the
RequestCycle to current thread. |
| Constructor and Description |
|---|
ResponseBufferZone(RequestCycle cycle,
MarkupStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
RequestLoggerRequestCycleListener.onBeginRequest(RequestCycle cycle) |
void |
RequestLoggerRequestCycleListener.onEndRequest(RequestCycle cycle) |
void |
RequestLoggerRequestCycleListener.onExceptionRequestHandlerResolved(RequestCycle cycle,
IRequestHandler handler,
Exception exception) |
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)
When using ProxyPass, requestCycle().getHttpServletRequest().
|
| Constructor and Description |
|---|
WebClientInfo(RequestCycle requestCycle)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent)
Construct.
|
| 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. |
void |
WebPageRenderer.respond(RequestCycle requestCycle) |
abstract void |
PageRenderer.respond(RequestCycle requestCycle)
Render the response using give
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–2014 Apache Software Foundation. All rights reserved.