BeforeActionRateLimitResponseEvent

final class \TYPO3\CMS\Extbase\Event\Mvc\BeforeActionRateLimitResponseEvent

Event that is triggered, when an extbase action is rate limitied and before the rate limit response is sent.

Extension developers can use this event to provide an alternative response or to implement a custom logic.

Table of Contents

Methods

__construct()  : mixed
getActionMethodName()  : string
getControllerClassName()  : string
getRateLimit()  : RateLimit
getRequest()  : ServerRequestInterface
getResponse()  : ResponseInterface
setResponse()  : void

Methods

__construct()

public __construct(ServerRequestInterface $request, string $controllerClassName, string $actionMethodName, RateLimit $rateLimit, ResponseInterface $response) : mixed

Parameters

$request : ServerRequestInterface
$controllerClassName : string
$actionMethodName : string
$rateLimit : RateLimit
$response : ResponseInterface

getActionMethodName()

public getActionMethodName() : string

Return values

string

getControllerClassName()

public getControllerClassName() : string

Return values

string

getRequest()

public getRequest() : ServerRequestInterface

Return values

ServerRequestInterface

getResponse()

public getResponse() : ResponseInterface

Return values

ResponseInterface

setResponse()

public setResponse(ResponseInterface $response) : void

Parameters

$response : ResponseInterface
On this page