Class HttpContext (namespace Nette\Web)


HTTP-specific tasks.

Object
   |
   --HttpContext
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Web/HttpContext.php (line 21)
Public Method Summary
IHttpRequest
IHttpResponse
bool
isModified ([string|int|DateTime $lastModified = NULL], [string $etag = NULL])
Attempts to cache the sent entity by its last modification date
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 86

getRequest

public IHttpRequest getRequest ()

Output
IHttpRequest  

line 96

getResponse

public IHttpResponse getResponse ()

Output
IHttpResponse  

line 31

isModified

public bool isModified ([string|int|DateTime $lastModified = NULL], [string $etag = NULL])

Attempts to cache the sent entity by its last modification date

Input
string|int|DateTime $lastModified last modified time
string $etag strong entity tag validator
Output
bool