TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
RequestHandler Class Reference
Inheritance diagram for RequestHandler:
RequestHandlerInterface

Public Member Functions

 __construct (Bootstrap $bootstrap)
 
 handleRequest (ServerRequestInterface $request)
 
 canHandleRequest (ServerRequestInterface $request)
 
 getPriority ()
 
- Public Member Functions inherited from RequestHandlerInterface
 handleRequest (\Psr\Http\Message\ServerRequestInterface $request)
 
 canHandleRequest (\Psr\Http\Message\ServerRequestInterface $request)
 

Protected Attributes

 $bootstrap
 

Detailed Description

Default request handler for all requests inside the TYPO3 Install Tool, which does a simple hardcoded dispatching to a controller based on the get/post variable.

Definition at line 26 of file install/Classes/Http/RequestHandler.php.

Constructor & Destructor Documentation

__construct ( Bootstrap  $bootstrap)

Constructor handing over the bootstrap

Parameters
Bootstrap$bootstrap

Definition at line 39 of file install/Classes/Http/RequestHandler.php.

References RequestHandler\$bootstrap.

Member Function Documentation

canHandleRequest ( ServerRequestInterface  $request)

This request handler can handle any request when not in CLI mode and the install tool flag is set please note that both checks are needed, as when in "failsafe" mode, the TYPO3_REQUESTTYPE is not necessarily set at this point.

Parameters
ServerRequestInterface$request
Returns
bool Returns always TRUE

Definition at line 75 of file install/Classes/Http/RequestHandler.php.

getPriority ( )

Returns the priority - how eager the handler is to actually handle the request.

Returns
int The priority of the request handler.

Implements RequestHandlerInterface.

Definition at line 85 of file install/Classes/Http/RequestHandler.php.

handleRequest ( ServerRequestInterface  $request)

Handles an install tool request Execute 'tool' or 'step' controller depending on install[controller] GET/POST parameter

Parameters
ServerRequestInterface$request
Returns
void

Definition at line 51 of file install/Classes/Http/RequestHandler.php.

References ServerRequestInterface\getParsedBody(), ServerRequestInterface\getQueryParams(), and GeneralUtility\makeInstance().

Member Data Documentation

$bootstrap
protected

Definition at line 32 of file install/Classes/Http/RequestHandler.php.

Referenced by RequestHandler\__construct().