Class Body
Body-Klasse
Diese spezialisierte Body-Klasse hält Methoden für die Übergabe eines HTTP-Bodies an die PHP Engine bereit. Vor dem Aufruf der Body::send() Methode sollte mittels Body::prepare() die Ausgabe vorbereitet werden. Ohne den Aufruf von Body::prepare() wird z.B. kein gzip eingeschaltet.
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Net\Http\Body
- Alvine\Net\Http\Environment\Body
Namespace: Alvine\Net\Http\Environment
Package: Alvine\Net\Http\Environment
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20130709
Link: Alvine
Link: http://de.wikipedia.org/wiki/Liste_der_HTTP-Headerfelder
Located at net/http/environment/Body.class.php
Package: Alvine\Net\Http\Environment
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20130709
Link: Alvine
Link: http://de.wikipedia.org/wiki/Liste_der_HTTP-Headerfelder
Located at net/http/environment/Body.class.php
public
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
|
__construct(),
__toString(),
getContent(),
getContentEncoding(),
getMimeType(),
getValueMap(),
initValueMap()
|
__call(),
__clone(),
__get(),
__set(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
integer |
MINIMUMLENGTHFORGZIP
Erst ab dieser Anzahl von Bytes lohnt sich eine Kommprimierung mit GZIP |
#
100
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
protected
string|null
|
$preparedContent
\null bedeutet noch nicht mittels prepare initialisiert |
#
null
|
protected
boolean
|
$gzipEnabled
GZIP-Verwendung |
#
false
|
protected
string
|
$contentType
MimeType und Charset |
#
''
|
$content,
$valueMap
|
$hash,
$properties
|