org.apache.wicket.request
Interface IRequestCycle

All Known Implementing Classes:
RequestCycle, WicketExampleRequestCycle

public interface IRequestCycle

TODO javadoc


Method Summary
 Request getRequest()
           
 Response getResponse()
          Get the active response at the request cycle.
 UrlRenderer getUrlRenderer()
          Returns UrlRenderer for this IRequestCycle.
 void scheduleRequestHandlerAfterCurrent(IRequestHandler handler)
          Schedule the request handler to be executed after the current one.
 Response setResponse(Response response)
          Replaces current Response with new Response instance.
 

Method Detail

getResponse

Response getResponse()
Get the active response at the request cycle.

Returns:
response

setResponse

Response setResponse(Response response)
Replaces current Response with new Response instance. The original response is always restored after the IRequestHandler.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()
Returns UrlRenderer for this IRequestCycle.

Returns:
UrlRenderer instance.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.