RequestHandlerResolver
Analyzes the raw request and delivers a request handler which can handle it.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Methods
- __construct() : mixed
- resolveRequestHandler() : RequestHandlerInterface
- Analyzes the raw request and tries to find a request handler which can handle it. If none is found, an exception is thrown.
Methods
__construct()
public
__construct(ContainerInterface $container, RequestHandlersConfiguration $requestHandlersConfiguration) : mixed
Parameters
- $container : ContainerInterface
- $requestHandlersConfiguration : RequestHandlersConfiguration
resolveRequestHandler()
Analyzes the raw request and tries to find a request handler which can handle it. If none is found, an exception is thrown.
public
resolveRequestHandler(RequestInterface $request) : RequestHandlerInterface
Parameters
- $request : RequestInterface
-
A request
Tags
Return values
RequestHandlerInterface —A request handler