‪TYPO3CMS  ‪main
TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck Class Reference
Inheritance diagram for TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck:
TYPO3\CMS\Install\SystemEnvironment\CheckInterface

Public Member Functions

 __construct (bool $useMarkup=true)
 
 asStatus ()
 
 getStatus ()
 

Protected Member Functions

 initializeFileDeclarations (string $fileName)
 
 buildFileDeclarations ()
 
 purgeFileDeclarations ()
 
 processHostCheck (FlashMessageQueue $messageQueue)
 
 processFileDeclarations (FlashMessageQueue $messageQueue)
 
 finishMessageQueue (FlashMessageQueue $messageQueue)
 
 createMismatchMessage (FileDeclaration $fileDeclaration, ResponseInterface $response)
 
 wrapList (array $items, string $label, int $style)
 
 wrapItems (array $items, string $before, string $after)
 
 wrapValues (array $values, string $before, string $after)
 
 wrapValue (string $value, string $before, string $after)
 

Protected Attributes

const WRAP_FLAT = 1
 
const WRAP_NESTED = 2
 
bool $useMarkup
 
FlashMessageQueue $messageQueue
 
FileLocation $assetLocation
 
FileLocation $fileadminLocation
 
FileDeclaration[] $fileDeclarations
 

Detailed Description

Checks how use web server is interpreting static files concerning their content-type and evaluated content in HTTP responses.

should only be used from within TYPO3 Core

Definition at line 42 of file ServerResponseCheck.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::__construct ( bool  $useMarkup = true)

Member Function Documentation

◆ asStatus()

◆ buildFileDeclarations()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::buildFileDeclarations ( )
protected

◆ createMismatchMessage()

◆ finishMessageQueue()

◆ getStatus()

◆ initializeFileDeclarations()

◆ processFileDeclarations()

◆ processHostCheck()

◆ purgeFileDeclarations()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::purgeFileDeclarations ( )
protected

◆ wrapItems()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::wrapItems ( array  $items,
string  $before,
string  $after 
)
protected

◆ wrapList()

◆ wrapValue()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::wrapValue ( string  $value,
string  $before,
string  $after 
)
protected

◆ wrapValues()

TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::wrapValues ( array  $values,
string  $before,
string  $after 
)
protected

Member Data Documentation

◆ $assetLocation

FileLocation TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::$assetLocation
protected

Definition at line 57 of file ServerResponseCheck.php.

◆ $fileadminLocation

FileLocation TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::$fileadminLocation
protected

Definition at line 61 of file ServerResponseCheck.php.

◆ $fileDeclarations

FileDeclaration [] TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::$fileDeclarations
protected

Definition at line 65 of file ServerResponseCheck.php.

◆ $messageQueue

◆ $useMarkup

bool TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::$useMarkup
protected

◆ WRAP_FLAT

const TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::WRAP_FLAT = 1
protected

Definition at line 44 of file ServerResponseCheck.php.

◆ WRAP_NESTED

const TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ServerResponseCheck::WRAP_NESTED = 2
protected

Definition at line 45 of file ServerResponseCheck.php.