class Context extends Object

HTTP-specific tasks.

Methods

__construct(IRequest $request, IResponse $response)

No description

bool
isModified($lastModified = NULL, $etag = NULL)

Attempts to cache the sent entity by its last modification date.

getRequest()

No description

getResponse()

No description

Details

at line 27
__construct(IRequest $request, IResponse $response)

No description

Parameters

IRequest $request
IResponse $response

at line 40
bool isModified($lastModified = NULL, $etag = NULL)

Attempts to cache the sent entity by its last modification date.

Parameters

$lastModified
$etag

Return Value

bool

at line 87
IRequest getRequest()

No description

Return Value

IRequest

at line 96
IResponse getResponse()

No description

Return Value

IResponse