As this request handler will be the "active" request handler returned by
the bootstrap's getActiveRequestHandler() method, it also needs some support
for HTTP request testing scenarios. For that reason it features a setRequest()
method which is used by the FunctionalTestCase for setting the current HTTP
request. That way, the request handler acts pretty much like the Http\RequestHandler
from a client code perspective.
The virtual browser's InternalRequestEngine will also set the current request
via the setRequest() method.
getComponentContext()
보호된 메소드
Internal getter to ensure an existing ComponentContext.
protected getComponentContext ( ) : ComponentContext |
리턴 |
Neos\Flow\Http\Component\ComponentContext |
|
setComponentContext()
공개 메소드
Allows to set the currently processed HTTP component chain context by the base functional
test case.
$componentContext 보호되어 있는 프로퍼티
protected ComponentContext,Neos\Flow\Http\Component $componentContext |
리턴 |
Neos\Flow\Http\Component\ComponentContext |
|