Class HttpDispatcher

Class HttpDispatcher

HttpDispatcher implements HttpDispatcherInterface
Package: Http
Category: System
Implements: HttpDispatcherInterface
Located at Services/System/Http/HttpDispatcher.inc.php

Methods summary

public __construct( HttpContextReaderInterface $httpContextReader, HttpViewControllerFactoryInterface $httpViewControllerFactory )

Initializes the http dispatcher.

public dispatch( HttpContextInterface $httpContext )

Dispatches the current http request. If the http request is valid and can get handled by a controller class, the controllers ::proceed method is invoked by the dispatcher. Otherwise, the method will throw a missing controller name exception.

Properties summary