public interface IRequestCycle
-
Method Summary
Modifier and TypeMethodDescriptionGet the active response at the request cycle.ReturnsUrlRendererfor thisIRequestCycle.voidSchedule 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 currentResponsewith newResponseinstance. 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
ReturnsUrlRendererfor thisIRequestCycle.- Returns:
- UrlRenderer instance.
-