PHP 클래스 Neos\Flow\Http\RequestHandler

상속: implements Neos\Flow\Http\HttpRequestHandlerInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 프로퍼티들

프로퍼티 타입 설명
$exit Closure Make exit() a closure so it can be manipulated during tests

보호된 프로퍼티들

프로퍼티 타입 설명
$baseComponentChain Neos\Flow\Http\Component\ComponentChain
$bootstrap Neos\Flow\Core\Bootstrap
$componentContext Neos\Flow\Http\Component\ComponentContext
$settings array The "http" settings

공개 메소드들

메소드 설명
__construct ( Bootstrap $bootstrap )
canHandleRequest ( ) : boolean This request handler can handle any web request.
getHttpRequest ( ) : Request Returns the currently handled HTTP request
getHttpResponse ( ) : Response Returns the HTTP response corresponding to the currently handled request
getPriority ( ) : integer Returns the priority - how eager the handler is to actually handle the request.
handleRequest ( ) : void Handles a HTTP request

보호된 메소드들

메소드 설명
addPoweredByHeader ( Response $response ) : void Adds an HTTP header to the Response which indicates that the application is powered by Flow.
boot ( ) : void Boots up Flow to runtime
renderMajorVersion ( string $version ) : string Renders a major version out of a full version string
renderMinorVersion ( string $version ) : string Renders a minor version out of a full version string
resolveDependencies ( ) : void Resolves a few dependencies of this request handler which can't be resolved automatically due to the early stage of the boot process this request handler is invoked at.

메소드 상세

__construct() 공개 메소드

public __construct ( Bootstrap $bootstrap )
$bootstrap Neos\Flow\Core\Bootstrap

addPoweredByHeader() 보호된 메소드

Adds an HTTP header to the Response which indicates that the application is powered by Flow.
protected addPoweredByHeader ( Response $response ) : void
$response Response
리턴 void

boot() 보호된 메소드

Boots up Flow to runtime
protected boot ( ) : void
리턴 void

canHandleRequest() 공개 메소드

This request handler can handle any web request.
public canHandleRequest ( ) : boolean
리턴 boolean If the request is a web request, TRUE otherwise FALSE

getHttpRequest() 공개 메소드

Returns the currently handled HTTP request
public getHttpRequest ( ) : Request
리턴 Request

getHttpResponse() 공개 메소드

Returns the HTTP response corresponding to the currently handled request
public getHttpResponse ( ) : Response
리턴 Response

getPriority() 공개 메소드

Returns the priority - how eager the handler is to actually handle the request.
public getPriority ( ) : integer
리턴 integer The priority of the request handler.

handleRequest() 공개 메소드

Handles a HTTP request
public handleRequest ( ) : void
리턴 void

renderMajorVersion() 보호된 메소드

Renders a major version out of a full version string
protected renderMajorVersion ( string $version ) : string
$version string For example "2.3.7"
리턴 string For example "2"

renderMinorVersion() 보호된 메소드

Renders a minor version out of a full version string
protected renderMinorVersion ( string $version ) : string
$version string For example "2.3.7"
리턴 string For example "2.3"

resolveDependencies() 보호된 메소드

Resolves a few dependencies of this request handler which can't be resolved automatically due to the early stage of the boot process this request handler is invoked at.
protected resolveDependencies ( ) : void
리턴 void

프로퍼티 상세

$baseComponentChain 보호되어 있는 프로퍼티

protected ComponentChain,Neos\Flow\Http\Component $baseComponentChain
리턴 Neos\Flow\Http\Component\ComponentChain

$bootstrap 보호되어 있는 프로퍼티

protected Bootstrap,Neos\Flow\Core $bootstrap
리턴 Neos\Flow\Core\Bootstrap

$componentContext 보호되어 있는 프로퍼티

protected ComponentContext,Neos\Flow\Http\Component $componentContext
리턴 Neos\Flow\Http\Component\ComponentContext

$exit 공개적으로 프로퍼티

Make exit() a closure so it can be manipulated during tests
public Closure $exit
리턴 Closure

$settings 보호되어 있는 프로퍼티

The "http" settings
protected array $settings
리턴 array