Свойство | Тип | Описание | |
---|---|---|---|
$applications | array | Storage with the available applications. | |
$dependencies | array | Storage with the available applications. | |
$handlers | array | Storage handlers registered in the web server. | |
$valves | array | Storage for the servlet engines valves that handles the request. |
Метод | Описание | |
---|---|---|
findRequestedApplication ( AppserverIo\Server\Interfaces\RequestContextInterface $requestContext ) : null | AppserverIo\Psr\Application\ApplicationInterface | Will try to find the application based on the context path taken from the requested filename. | |
getApplications ( ) : array | Returns the initialized applications. | |
getContainer ( ) : AppserverIo\Appserver\Core\Interfaces\ContainerInterface | Returns the container instance. | |
getDependencies ( ) : array | Returns an array of module names which should be executed first. | |
getHandlers ( ) : array | Returns the initialized web server handlers. | |
getServerContext ( ) : AppserverIo\Server\Interfaces\ServerContextInterface | Returns the server context instance. | |
getValves ( ) : array | Returns the initialized valves. | |
initApplications ( ) : void | Initialize the applications. | |
initHandlers ( ) : void | Initialize the web server handlers. | |
initValves ( ) : void | Initialize the valves that handles the requests. | |
logCriticalException ( Exception $e ) : void | Helper method that writes critical system exceptions to the system logger if configured. | |
logDebugException ( Exception $e ) : void | Helper method that writes debug system exceptions to the system logger if configured. | |
logErrorException ( Exception $e ) : void | Helper method that writes system exceptions to the system logger if configured. | |
prepare ( ) : boolean | Prepares the module for upcoming request in specific context |
public findRequestedApplication ( AppserverIo\Server\Interfaces\RequestContextInterface $requestContext ) : null | AppserverIo\Psr\Application\ApplicationInterface | ||
$requestContext | AppserverIo\Server\Interfaces\RequestContextInterface | Context of the current request |
Результат | null | AppserverIo\Psr\Application\ApplicationInterface |
public getApplications ( ) : array | ||
Результат | array | The initialized application instances |
public getContainer ( ) : AppserverIo\Appserver\Core\Interfaces\ContainerInterface | ||
Результат | AppserverIo\Appserver\Core\Interfaces\ContainerInterface | The container instance |
public getDependencies ( ) : array | ||
Результат | array | The module names this module depends on |
public getHandlers ( ) : array | ||
Результат | array | The initialized web server handlers |
public getServerContext ( ) : AppserverIo\Server\Interfaces\ServerContextInterface | ||
Результат | AppserverIo\Server\Interfaces\ServerContextInterface | The actual server context instance |
public initApplications ( ) : void | ||
Результат | void |
public initHandlers ( ) : void | ||
Результат | void |
public initValves ( ) : void | ||
Результат | void |
public logCriticalException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
Результат | void |
public logDebugException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
Результат | void |
public logErrorException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
Результат | void |
protected array $applications | ||
Результат | array |
protected array $dependencies | ||
Результат | array |
protected array $handlers | ||
Результат | array |
protected array $valves | ||
Результат | array |