ServerResponseCheck implements CheckInterface

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

Internal

should only be used from within TYPO3 Core

Table of Contents

Interfaces

CheckInterface
Check system environment status

Constants

WRAP_FLAT  = 1
WRAP_NESTED  = 2

Properties

$assetLocation  : FileLocation
$fileadminLocation  : FileLocation
$fileDeclarations  : array<string|int, FileDeclaration>
$messageQueue  : FlashMessageQueue
$useMarkup  : bool

Methods

__construct()  : mixed
asStatus()  : Status
getStatus()  : FlashMessageQueue
Get all status information as array with status objects
buildFileDeclarations()  : void
createMismatchMessage()  : string
finishMessageQueue()  : void
initializeFileDeclarations()  : array<string|int, mixed>
processFileDeclarations()  : void
processHostCheck()  : void
purgeFileDeclarations()  : void
wrapItems()  : array<string|int, mixed>
wrapList()  : string
wrapValue()  : string
wrapValues()  : array<string|int, mixed>

Constants

WRAP_NESTED

protected mixed WRAP_NESTED = 2

Properties

Methods

__construct()

public __construct([bool $useMarkup = true ]) : mixed
Parameters
$useMarkup : bool = true

buildFileDeclarations()

protected buildFileDeclarations() : void

createMismatchMessage()

protected createMismatchMessage(FileDeclaration $fileDeclaration, ResponseInterface $response) : string
Parameters
$fileDeclaration : FileDeclaration
$response : ResponseInterface
Return values
string

initializeFileDeclarations()

protected initializeFileDeclarations(string $fileName) : array<string|int, mixed>
Parameters
$fileName : string
Return values
array<string|int, mixed>

purgeFileDeclarations()

protected purgeFileDeclarations() : void

wrapItems()

protected wrapItems(array<string|int, mixed> $items, string $before, string $after) : array<string|int, mixed>
Parameters
$items : array<string|int, mixed>
$before : string
$after : string
Return values
array<string|int, mixed>

wrapList()

protected wrapList(array<string|int, mixed> $items, string $label, int $style) : string
Parameters
$items : array<string|int, mixed>
$label : string
$style : int
Return values
string

wrapValue()

protected wrapValue(string $value, string $before, string $after) : string
Parameters
$value : string
$before : string
$after : string
Return values
string

wrapValues()

protected wrapValues(array<string|int, mixed> $values, string $before, string $after) : array<string|int, mixed>
Parameters
$values : array<string|int, mixed>
$before : string
$after : string
Return values
array<string|int, mixed>

        
On this page

Search results