TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Install\Http\RequestHandler Class Reference
Inheritance diagram for TYPO3\CMS\Install\Http\RequestHandler:
TYPO3\CMS\Core\Http\RequestHandlerInterface

Public Member Functions

 __construct (Bootstrap $bootstrap)
 
 handleRequest (ServerRequestInterface $request)
 
 canHandleRequest (ServerRequestInterface $request)
 
 getPriority ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Http\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 RequestHandler.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Http\RequestHandler::__construct ( Bootstrap  $bootstrap)

Constructor handing over the bootstrap

Parameters
Bootstrap$bootstrap

Definition at line 39 of file RequestHandler.php.

References TYPO3\CMS\Install\Http\RequestHandler\$bootstrap.

Member Function Documentation

◆ canHandleRequest()

TYPO3\CMS\Install\Http\RequestHandler::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 RequestHandler.php.

◆ getPriority()

TYPO3\CMS\Install\Http\RequestHandler::getPriority ( )

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

Returns
int The priority of the request handler.

Implements TYPO3\CMS\Core\Http\RequestHandlerInterface.

Definition at line 85 of file RequestHandler.php.

◆ handleRequest()

TYPO3\CMS\Install\Http\RequestHandler::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 RequestHandler.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $bootstrap

TYPO3\CMS\Install\Http\RequestHandler::$bootstrap
protected