TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface:
Tx_Extbase_MVC_RequestHandlerInterface TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler Tx_Extbase_MVC_CLI_RequestHandler Tx_Extbase_MVC_Web_AbstractRequestHandler TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler Tx_Extbase_MVC_Web_BackendRequestHandler Tx_Extbase_MVC_Web_FrontendRequestHandler Tx_Fluid_Core_Widget_WidgetRequestHandler

Public Member Functions

 handleRequest ()
 
 canHandleRequest ()
 
 getPriority ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! The interface for a request handler

Definition at line 21 of file RequestHandlerInterface.php.

Member Function Documentation

◆ canHandleRequest()

TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface::canHandleRequest ( )

Checks if the request handler can handle the current request.

Returns
boolean TRUE if it can handle the request, otherwise FALSE

Implemented in TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler, TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler, TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler, TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler, and TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler.

◆ getPriority()

TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface::getPriority ( )

Returns the priority - how eager the handler is to actually handle the request. An integer > 0 means "I want to handle this request" where "100" is default. "0" means "I am a fallback solution".

Returns
integer The priority of the request handler

Implemented in TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler, TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler, and TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler.

◆ handleRequest()

TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface::handleRequest ( )

Handles a raw request and returns the respsonse.

Returns

Implemented in TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler.