RequestInterface
interface RequestInterface (View source)
Contract for a dispatchable request.
Methods
Sets the dispatched flag
If this request has been dispatched and addressed by the responsible controller and the response is ready to be sent.
Returns the object name of the controller which is supposed to process the request.
Returns the top level Request: the one just below the HTTP request
Checks if this request is the uppermost ActionRequest, just one below the HTTP request.
Details
void
setDispatched(bool $flag)
Sets the dispatched flag
bool
isDispatched()
If this request has been dispatched and addressed by the responsible controller and the response is ready to be sent.
The dispatcher will try to dispatch the request again if it has not been addressed yet.
string
getControllerObjectName()
Returns the object name of the controller which is supposed to process the request.
RequestInterface
getMainRequest()
Returns the top level Request: the one just below the HTTP request
bool
isMainRequest()
Checks if this request is the uppermost ActionRequest, just one below the HTTP request.