AbstractFormat.php
serializeValues(Response $response)
Serialize an array of values.
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
deserializeValues(Request $request)
Deserialize an array of values.
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
beforeSerialize(Response $response)
Modify data before serialization.
Definition: AbstractFormat.php:90
serialize(Response $response)
Definition: AbstractFormat.php:43
afterDeserialize(Request $request)
Modify data after deserialization.
Definition: AbstractFormat.php:80
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
BuildDepth values are used to define the depth when loading object trees.
Definition: BuildDepth.php:19
Instances of AttributeDescription describe attributes of PersistentObjects.
Definition: AttributeDescription.php:18
getResponseHeaders(Response $response)
Definition: AbstractFormat.php:52
filterValue($value, AttributeDescription $attribute)
Definition: AbstractFormat.php:140
setValues(array $values)
Set all key value pairs at once.
Format defines the interface for all format classes.
Definition: Format.php:25
deserialize(Request $request)
Definition: AbstractFormat.php:34
getMimeType(Response $response=null)
Get the MIME type of the format.
afterSerialize(Response $response)
Modify data after serialization.
Definition: AbstractFormat.php:107
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
AbstractFormat is used as base class for specialized formats.
Definition: AbstractFormat.php:27
beforeDeserialize(Request $request)
Modify data before deserialization.
Definition: AbstractFormat.php:63