FrontendRequestHandler implements RequestHandlerInterface
A request handler which can handle web requests.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- RequestHandlerInterface
- The interface for a request handler
Properties
Methods
- __construct() : mixed
- canHandleRequest() : bool
- This request handler can handle any web request.
- getPriority() : int
- 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".
- handleRequest() : ResponseInterface
- Handles the web request. The response will automatically be sent to the client.
Properties
$dispatcher
protected
Dispatcher
$dispatcher
Methods
__construct()
public
__construct(Dispatcher $dispatcher) : mixed
Parameters
- $dispatcher : Dispatcher
canHandleRequest()
This request handler can handle any web request.
public
canHandleRequest(RequestInterface $request) : bool
Parameters
- $request : RequestInterface
Return values
bool —If the request is a web request, TRUE otherwise FALSE
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".
public
getPriority() : int
Return values
int —The priority of the request handler
handleRequest()
Handles the web request. The response will automatically be sent to the client.
public
handleRequest(RequestInterface $request) : ResponseInterface
Parameters
- $request : RequestInterface