java.lang.Object
org.apache.wicket.request.cycle.RequestCycleContext
Represents the context for the request cycle. This class is mainly a grouping parameter for the
RequestCycle
constructor. It is only necessary to future-proof the API by making sure
method signatures do not change if further parameters are introduced at a later time.
NOTE: Once a RequestCycle
is instantiated using an instance of this class, the setters
will have no further effect on the request cycle.
- Author:
- igor.vaynberg
-
Constructor Summary
ConstructorDescriptionRequestCycleContext
(Request request, Response response, IRequestMapper requestMapper, IExceptionMapper exceptionMapper) Construct. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setExceptionMapper
(IExceptionMapper exceptionMapper) void
setRequest
(Request request) void
setRequestMapper
(IRequestMapper requestMapper) void
setResponse
(Response response)
-
Constructor Details
-
RequestCycleContext
public RequestCycleContext(Request request, Response response, IRequestMapper requestMapper, IExceptionMapper exceptionMapper) Construct.- Parameters:
request
-response
-requestMapper
-exceptionMapper
-
-
-
Method Details
-
getRequest
- Returns:
- request
-
getResponse
- Returns:
- response
-
getRequestMapper
- Returns:
- requst mapper
-
getExceptionMapper
- Returns:
- exception mapper
-
setRequest
- Parameters:
request
-
-
setResponse
- Parameters:
response
-
-
setRequestMapper
- Parameters:
requestMapper
-
-
setExceptionMapper
- Parameters:
exceptionMapper
-
-