- All Known Implementing Classes:
RequestCycle
public interface IRequestCycle
-
Method Summary
Modifier and TypeMethodDescriptionGet the active response at the request cycle.ReturnsUrlRenderer
for thisIRequestCycle
.void
Schedule the request handler to be executed after the current one.setResponse
(Response response)
-
Method Details
-
getResponse
Get the active response at the request cycle.- Returns:
- response
-
setResponse
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
- Returns:
- the request that originated this cycle
-
scheduleRequestHandlerAfterCurrent
Schedule the request handler to be executed after the current one.- Parameters:
handler
-
-
getUrlRenderer
ReturnsUrlRenderer
for thisIRequestCycle
.- Returns:
- UrlRenderer instance.
-