Package org.apache.wicket.request
Interface IRequestCycle
-
- All Known Implementing Classes:
RequestCycle
public interface IRequestCycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Request
getRequest()
Response
getResponse()
Get the active response at the request cycle.UrlRenderer
getUrlRenderer()
ReturnsUrlRenderer
for thisIRequestCycle
.void
scheduleRequestHandlerAfterCurrent(IRequestHandler handler)
Schedule the request handler to be executed after the current one.Response
setResponse(Response response)
-
-
-
Method Detail
-
getResponse
Response getResponse()
Get the active response at the request cycle.- Returns:
- response
-
setResponse
Response setResponse(Response response)
Replaces the currentResponse
with newResponse
instance. 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()
ReturnsUrlRenderer
for thisIRequestCycle
.- Returns:
- UrlRenderer instance.
-
-