Uses of Class
org.apache.wicket.request.cycle.RequestCycle
Packages that use RequestCycle
Package
Description
The core Wicket package.
Encoding extensions.
Classes related to showing user feedback, generally as the
result of form submission and/or validation.
Default special purpose pages for error and feedback support.
HTTP implementation.
This package contains http (web) protocol dependent implementations of
request processing strategies.
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
-
Uses of RequestCycle in org.apache.wicket
Methods in org.apache.wicket that return RequestCycleModifier and TypeMethodDescriptionfinal RequestCycle
Application.createRequestCycle
(Request request, Response response) final RequestCycle
Component.getRequestCycle()
Gets the active request cycle for this componentstatic RequestCycle
ThreadContext.getRequestCycle()
Methods in org.apache.wicket with parameters of type RequestCycleModifier and TypeMethodDescriptionApplication.fetchCreateAndSetSession
(RequestCycle requestCycle) static void
ThreadContext.setRequestCycle
(RequestCycle requestCycle) Binds theRequestCycle
to current thread. -
Uses of RequestCycle in org.apache.wicket.ajax
Methods in org.apache.wicket.ajax with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected WebClientInfo
AjaxClientInfoBehavior.newWebClientInfo
(RequestCycle requestCycle) protected WebClientInfo
AjaxOnDomReadyClientInfoBehavior.newWebClientInfo
(RequestCycle requestCycle) -
Uses of RequestCycle in org.apache.wicket.cdi
Methods in org.apache.wicket.cdi with parameters of type RequestCycleModifier and TypeMethodDescriptiondefault void
ICdiAwareRequestCycleListener.onAfterConversationActivated
(RequestCycle cycle) Called right after a conversation context for this request is activateddefault void
ICdiAwareRequestCycleListener.onBeforeConversationDeactivated
(RequestCycle cycle) Called right before the current conversation context is deactivatedvoid
ConversationPropagator.onDetach
(RequestCycle cycle) void
DetachEventEmitter.onDetach
(RequestCycle cycle) void
ConversationPropagator.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) void
ConversationPropagator.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) void
DetachEventEmitter.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) void
ConversationPropagator.onUrlMapped
(RequestCycle cycle, IRequestHandler handler, Url url) -
Uses of RequestCycle in org.apache.wicket.coep
Methods in org.apache.wicket.coep with parameters of type RequestCycleModifier and TypeMethodDescriptionvoid
CrossOriginEmbedderPolicyRequestCycleListener.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) void
CrossOriginEmbedderPolicyRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) protected void
CrossOriginEmbedderPolicyRequestCycleListener.protect
(RequestCycle cycle, IRequestHandler handler) -
Uses of RequestCycle in org.apache.wicket.coop
Methods in org.apache.wicket.coop with parameters of type RequestCycleModifier and TypeMethodDescriptionvoid
CrossOriginOpenerPolicyRequestCycleListener.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) void
CrossOriginOpenerPolicyRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) protected void
CrossOriginOpenerPolicyRequestCycleListener.protect
(RequestCycle cycle, IRequestHandler handler) -
Uses of RequestCycle in org.apache.wicket.csp
Methods in org.apache.wicket.csp with parameters of type RequestCycleModifier and TypeMethodDescriptionContentSecurityPolicySettings.getNonce
(RequestCycle cycle) void
CSPRequestCycleListener.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) void
CSPRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) protected void
CSPRequestCycleListener.protect
(RequestCycle cycle, IRequestHandler handler) ClonedCSPValue.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) CSPDirectiveSandboxValue.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) CSPDirectiveSrcValue.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) CSPRenderable.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) Renders the value that should be put in the CSP header.FixedCSPValue.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) RelativeURICSPValue.render
(ContentSecurityPolicySettings settings, RequestCycle cycle) CSPHeaderConfiguration.renderHeaderValue
(ContentSecurityPolicySettings settings, RequestCycle cycle) Renders thisCSPHeaderConfiguration
into an HTTP header. -
Uses of RequestCycle in org.apache.wicket.extensions.ajax.markup.html.autocomplete
Methods in org.apache.wicket.extensions.ajax.markup.html.autocomplete with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected abstract void
AbstractAutoCompleteBehavior.onRequest
(String input, RequestCycle requestCycle) Callback for the ajax event generated by the javascript.protected final void
AutoCompleteBehavior.onRequest
(String val, RequestCycle requestCycle) -
Uses of RequestCycle in org.apache.wicket.extensions.util.encoding
Methods in org.apache.wicket.extensions.util.encoding with parameters of type RequestCycleModifier and TypeMethodDescriptionstatic String
CharSetUtil.getEncoding
(RequestCycle cycle) Based on the Session's locale determine the associated character encoding. -
Uses of RequestCycle in org.apache.wicket.feedback
Methods in org.apache.wicket.feedback with parameters of type RequestCycleModifier and TypeMethodDescriptionstatic Optional<FeedbackDelay>
FeedbackDelay.get
(RequestCycle cycle) Get the current delay.Constructors in org.apache.wicket.feedback with parameters of type RequestCycleModifierConstructorDescriptionFeedbackDelay
(RequestCycle cycle) Delay all feedbacks for the given cycle. -
Uses of RequestCycle in org.apache.wicket.markup.html.internal
Constructors in org.apache.wicket.markup.html.internal with parameters of type RequestCycle -
Uses of RequestCycle in org.apache.wicket.markup.html.pages
Methods in org.apache.wicket.markup.html.pages with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected WebClientInfo
BrowserInfoPage.newWebClientInfo
(RequestCycle requestCycle) -
Uses of RequestCycle in org.apache.wicket.protocol.http
Methods in org.apache.wicket.protocol.http with parameters of type RequestCycleModifier and TypeMethodDescriptionvoid
RequestLoggerRequestCycleListener.onBeginRequest
(RequestCycle cycle) void
ResourceIsolationRequestCycleListener.onBeginRequest
(RequestCycle cycle) void
RequestLoggerRequestCycleListener.onEndRequest
(RequestCycle cycle) void
ResourceIsolationRequestCycleListener.onEndRequest
(RequestCycle cycle) Allow isolation policy to add headers.void
RequestLoggerRequestCycleListener.onExceptionRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler, Exception exception) void
RequestLoggerRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) void
ResourceIsolationRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) void
RequestLoggerRequestCycleListener.onRequestHandlerScheduled
(RequestCycle cycle, IRequestHandler handler) protected boolean
WicketFilter.processRequestCycle
(RequestCycle requestCycle, WebResponse webResponse, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, jakarta.servlet.FilterChain chain) Process the request cycle -
Uses of RequestCycle in org.apache.wicket.protocol.http.request
Methods in org.apache.wicket.protocol.http.request with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected String
WebClientInfo.getRemoteAddr
(RequestCycle requestCycle) Returns the IP address fromHttpServletRequest.getRemoteAddr()
.Constructors in org.apache.wicket.protocol.http.request with parameters of type RequestCycleModifierConstructorDescriptionWebClientInfo
(RequestCycle requestCycle) Construct.WebClientInfo
(RequestCycle requestCycle, String userAgent) Construct.WebClientInfo
(RequestCycle requestCycle, String userAgent, ClientProperties properties) Construct.WebClientInfo
(RequestCycle requestCycle, ClientProperties properties) Construct. -
Uses of RequestCycle in org.apache.wicket.protocol.ws
Methods in org.apache.wicket.protocol.ws with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected boolean
AbstractUpgradeFilter.processRequestCycle
(RequestCycle requestCycle, WebResponse webResponse, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, jakarta.servlet.FilterChain chain) -
Uses of RequestCycle in org.apache.wicket.request.cycle
Methods in org.apache.wicket.request.cycle that return RequestCycleModifier and TypeMethodDescriptionstatic RequestCycle
RequestCycle.get()
Returns request cycle associated with current thread.final <T> RequestCycle
RequestCycle.setMetaData
(MetaDataKey<T> key, T object) Sets the metadata for this request cycle using the given key.Methods in org.apache.wicket.request.cycle with parameters of type RequestCycleModifier and TypeMethodDescriptionstatic IPageRequestHandler
PageRequestHandlerTracker.getFirstHandler
(RequestCycle cycle) retrieves first handler from the request cyclestatic IPageRequestHandler
PageRequestHandlerTracker.getLastHandler
(RequestCycle cycle) retrieves last handler from request cycledefault void
IRequestCycleListener.onBeginRequest
(RequestCycle cycle) Called when the request cycle object is beginning its responsevoid
RequestCycleListenerCollection.onBeginRequest
(RequestCycle cycle) Notifies all registered listeners of the onBeginRequest event in first in first out order, i.e.default void
IRequestCycleListener.onDetach
(RequestCycle cycle) Called after the request cycle has been detachedvoid
RequestCycleListenerCollection.onDetach
(RequestCycle cycle) Notifies all registered listeners of theonDetach
event in first in last out order (i.e.default void
IRequestCycleListener.onEndRequest
(RequestCycle cycle) Called when the request cycle object has finished its responsevoid
RequestCycleListenerCollection.onEndRequest
(RequestCycle cycle) Notifies all registered listeners of theonEndRequest
event in first in last out order (i.e.default IRequestHandler
IRequestCycleListener.onException
(RequestCycle cycle, Exception ex) Called when there is an exception in the request cycle that would normally be handled byhandleException(Exception)
Note that in the event of an exception,IRequestCycleListener.onEndRequest(RequestCycle)
will still be called after these listeners haveIRequestCycleListener.onException(RequestCycle, Exception)
calledRequestCycleListenerCollection.onException
(RequestCycle cycle, Exception ex) Notifies all registered listeners of the exception and calls the first handler that was returned by the listeners.default void
IRequestCycleListener.onExceptionRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler, Exception exception) Called when anIRequestHandler
is resolved for an exception and will be executed.void
RequestCycleListenerCollection.onExceptionRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler, Exception exception) default void
IRequestCycleListener.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) Called after anIRequestHandler
has been executed.void
RequestCycleListenerCollection.onRequestHandlerExecuted
(RequestCycle cycle, IRequestHandler handler) default void
IRequestCycleListener.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) Called when anIRequestHandler
is resolved and will be executed.void
PageRequestHandlerTracker.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) void
RequestCycleListenerCollection.onRequestHandlerResolved
(RequestCycle cycle, IRequestHandler handler) default void
IRequestCycleListener.onRequestHandlerScheduled
(RequestCycle cycle, IRequestHandler handler) Called when aIRequestHandler
has been scheduled.void
RequestCycleListenerCollection.onRequestHandlerScheduled
(RequestCycle cycle, IRequestHandler handler) default void
IRequestCycleListener.onUrlMapped
(RequestCycle cycle, IRequestHandler handler, Url url) Called after a Url is generated for aIRequestHandler
.void
RequestCycleListenerCollection.onUrlMapped
(RequestCycle cycle, IRequestHandler handler, Url url) -
Uses of RequestCycle in org.apache.wicket.request.handler.render
Methods in org.apache.wicket.request.handler.render with parameters of type RequestCycleModifier and TypeMethodDescriptionprotected boolean
WebPageRenderer.isAjax
(RequestCycle requestCycle) protected void
WebPageRenderer.redirectTo
(Url url, RequestCycle requestCycle) protected BufferedWebResponse
WebPageRenderer.renderPage
(Url targetUrl, RequestCycle requestCycle) Renders page to aBufferedWebResponse
.abstract void
PageRenderer.respond
(RequestCycle requestCycle) Render the response using giveRequestCycle
.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. -
Uses of RequestCycle in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester that return RequestCycle