PHP 클래스 AppserverIo\Appserver\ServletEngine\ServletEngine

상속: extends AbstractServletEngine
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
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.

메소드 상세

getModuleName() 공개 메소드

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

init() 공개 메소드

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

process() 공개 메소드

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
리턴 boolean