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 |
|