Class ContentTypeField
ContentTypeField
Content-Type = "Content-Type" ":" media-type media-type = type "/" subtype *( ";" parameter ) type = token subtype = token parameter = attribute "=" value attribute = token value = token | quoted-string
Content-Type: text/html; charset=ISO-8859-4
Wird ein fehlerhafter MimeType übergeben, so wird \Alvine\Types\Mime\MIMEType::DEFAULT_KEY verwendet und der originale Teil an die Values angehängt:
application/octet-stream; origin-mimetype=content/unknown
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Types\Any
- Alvine\Types\KeyValue
- Alvine\Net\Http\Header\Field
- Alvine\Net\Http\Header\ContentTypeField
Namespace: Alvine\Net\Http\Header
Package: Alvine\Net\Http\Header
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20130525
Link: Alvine
Link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
Located at net/http/header/ContentTypeField.class.php
Package: Alvine\Net\Http\Header
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20130525
Link: Alvine
Link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
Located at net/http/header/ContentTypeField.class.php
protected
|
#
normalizeValue( )
Diese Methode kann von abgeleiteten Klasse überschrieben werden. Beim erstellen eines neuen Objektes sorgt diese Methode dafür, das die zugehörigen Werte gesetzt werden. |
public
|
|
public
string
|
|
public
string
|
__construct(),
__toString(),
createFieldFromString(),
getName()
|
__get(),
__set(),
getKey(),
getValue(),
parse(),
setKey(),
setKeyValueSeparator(),
setValue()
|
__call(),
__clone(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
FIELD_NAME
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
protected
|
$mimetype
Mimetype |
#
null
|
protected
string
|
$charset
Encoding |
#
null
|
$key,
$keyValueSeparator,
$value
|
$hash,
$properties
|