‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Mvc\Web\Response Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Web\Response:
TYPO3\CMS\Extbase\Mvc\Response TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait TYPO3\CMS\Extbase\Mvc\ResponseInterface TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Web\Fixture\DummyWebResponse

Public Member Functions

 injectEnvironmentService (EnvironmentService $environmentService)
 
string null shutdown ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Response
 setContent ($content)
 
 appendContent ($content)
 
string getContent ()
 
string __toString ()
 
 setStatus ($code, $message=null)
 
string getStatus ()
 
int getStatusCode ()
 
 setHeader ($name, $value, $replaceExistingHeader=true)
 
string[] getHeaders ()
 
array getUnpreparedHeaders ()
 
 sendHeaders ()
 
 send ()
 
 addAdditionalHeaderData ($additionalHeaderData)
 
array getAdditionalHeaderData ()
 
 setRequest (Request $request)
 
TYPO3 CMS Extbase Mvc Request getRequest ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 

Private Attributes

array $deprecatedPublicProperties
 
TYPO3 CMS Extbase Service EnvironmentService $environmentService
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Response
TypoScriptFrontendController getTypoScriptFrontendController ()
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Response
string $content
 
array $headers = array( )
 
array $additionalHeaderData = array( )
 
int $statusCode
 
string $statusMessage = 'OK'
 
TYPO3 CMS Extbase Mvc Request $request
 
array $statusMessages
 

Detailed Description

A web specific response implementation

Deprecated:
‪since TYPO3 10.2, will be removed in version 11.0.

Definition at line 25 of file Response.php.

Member Function Documentation

◆ injectEnvironmentService()

TYPO3\CMS\Extbase\Mvc\Web\Response::injectEnvironmentService ( EnvironmentService  $environmentService)
Parameters
\TYPO3\CMS\Extbase\Service\EnvironmentService$environmentService

only to be used within Extbase, not part of TYPO3 Core API.

Deprecated:
‪since TYPO3 10.2, will be removed in 11.0

Definition at line 44 of file Response.php.

References TYPO3\CMS\Extbase\Mvc\Web\Response\$environmentService.

◆ shutdown()

string null TYPO3\CMS\Extbase\Mvc\Web\Response::shutdown ( )

Sends additional headers and returns the content

Returns
‪string|null

only to be used within Extbase, not part of TYPO3 Core API.

Reimplemented from TYPO3\CMS\Extbase\Mvc\Response.

Definition at line 55 of file Response.php.

References TYPO3\CMS\Extbase\Mvc\Response\getAdditionalHeaderData(), TYPO3\CMS\Extbase\Mvc\Response\getTypoScriptFrontendController(), and TYPO3\CMS\Extbase\Mvc\Response\sendHeaders().

Member Data Documentation

◆ $deprecatedPublicProperties

array TYPO3\CMS\Extbase\Mvc\Web\Response::$deprecatedPublicProperties
private
Initial value:
= array(
'environmentService' => 'Property \TYPO3\CMS\Extbase\Mvc\Web\Response::$environmentService is deprecated since TYPO3 10.2 and will be removed in TYPO3 11.0'
)

Definition at line 30 of file Response.php.

◆ $environmentService

TYPO3 CMS Extbase Service EnvironmentService TYPO3\CMS\Extbase\Mvc\Web\Response::$environmentService
private