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  : mixed = 1
WRAP_NESTED  : mixed = 2

Properties

$assetLocation  : FileLocation
$fileadminLocation  : FileLocation
$fileDeclarations  : 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
getHttpClientOptions()  : array
initializeFileDeclarations()  : array
processFileDeclarations()  : void
processHostCheck()  : void
purgeFileDeclarations()  : void
wrapItems()  : array
wrapList()  : string
wrapValue()  : string
wrapValues()  : array

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

getHttpClientOptions()

protected getHttpClientOptions() : array
Return values
array

initializeFileDeclarations()

protected initializeFileDeclarations(string $fileName) : array
Parameters
$fileName : string
Return values
array

purgeFileDeclarations()

protected purgeFileDeclarations() : void

wrapItems()

protected wrapItems(array $items, string $before, string $after) : array
Parameters
$items : array
$before : string
$after : string
Return values
array

wrapList()

protected wrapList(array $items, string $label, int $style) : string
Parameters
$items : array
$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 $values, string $before, string $after) : array
Parameters
$values : array
$before : string
$after : string
Return values
array
On this page

Search results