Package org.apache.wicket.request
Interface IRequestCycle
-
public interface IRequestCycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestgetRequest()ResponsegetResponse()Get the active response at the request cycle.UrlRenderergetUrlRenderer()ReturnsUrlRendererfor thisIRequestCycle.voidscheduleRequestHandlerAfterCurrent(IRequestHandler handler)Schedule the request handler to be executed after the current one.ResponsesetResponse(Response response)
-
-
-
Method Detail
-
getResponse
Response getResponse()
Get the active response at the request cycle.- Returns:
- response
-
setResponse
Response setResponse(Response response)
Replaces the currentResponsewith newResponseinstance. The original response is always restored after theIRequestHandler.respond(IRequestCycle)method is finished.- Parameters:
response-- Returns:
- Response being replaced.
-
getRequest
Request getRequest()
- Returns:
- the request that originated this cycle
-
scheduleRequestHandlerAfterCurrent
void scheduleRequestHandlerAfterCurrent(IRequestHandler handler)
Schedule the request handler to be executed after the current one.- Parameters:
handler-
-
getUrlRenderer
UrlRenderer getUrlRenderer()
ReturnsUrlRendererfor thisIRequestCycle.- Returns:
- UrlRenderer instance.
-
-