ReactionHandler

readonly class \TYPO3\CMS\Reactions\Http\ReactionHandler

Endpoint for triggering the reaction handler.

Resolves the payload and calls the actual Reaction Type with the request, the payload, and sends the response in return.

At this point, the evaluation etc. all need to have happened.

Table of Contents

Methods

__construct()  : mixed
handleReaction()  : ResponseInterface
buildReactionResponse()  : ResponseInterface
getPayload()  : array

Methods

buildReactionResponse()

protected buildReactionResponse(ResponseInterface $response) : ResponseInterface

Parameters

$response : ResponseInterface

Return values

ResponseInterface

getPayload()

protected getPayload(ServerRequestInterface $request) : array

Parameters

$request : ServerRequestInterface

Return values

array
On this page