PHP Class AppserverIo\Appserver\ServletEngine\ServletEngine

Inheritance: extends AbstractServletEngine
Mostra file Open project: appserver-io/appserver

Public Methods

Method Description
getModuleName ( ) : string Returns the module name.
init ( AppserverIo\Server\Interfaces\ServerContextInterface $serverContext ) : void Initializes the module.
process ( AppserverIo\Psr\HttpMessage\RequestInterface $request, AppserverIo\Psr\HttpMessage\ResponseInterface $response, AppserverIo\Server\Interfaces\RequestContextInterface $requestContext, integer $hook ) : boolean Process servlet request.

Method Details

getModuleName() public method

Returns the module name.
public getModuleName ( ) : string
return string The module name

init() public method

Initializes the module.
public init ( AppserverIo\Server\Interfaces\ServerContextInterface $serverContext ) : void
$serverContext AppserverIo\Server\Interfaces\ServerContextInterface The servers context instance
return void

process() public method

Process servlet request.
public process ( AppserverIo\Psr\HttpMessage\RequestInterface $request, AppserverIo\Psr\HttpMessage\ResponseInterface $response, AppserverIo\Server\Interfaces\RequestContextInterface $requestContext, integer $hook ) : boolean
$request AppserverIo\Psr\HttpMessage\RequestInterface A request object
$response AppserverIo\Psr\HttpMessage\ResponseInterface A response object
$requestContext AppserverIo\Server\Interfaces\RequestContextInterface A requests context instance
$hook integer The current hook to process logic for
return boolean