Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

Interfaces

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class HttpContext

HTTP-specific tasks.

Object
Extended by HttpContext
Package: Nette\Http
Author: David Grudl
Located at Http/Context.php
Methods summary
public
# __construct( IHttpRequest $request, IHttpResponse $response )
public boolean
# isModified( string|integer|DateTime $lastModified = NULL, string $etag = NULL )

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

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

Parameters

$lastModified
string|integer|DateTime
last modified time
$etag
string
strong entity tag validator

Returns

boolean
public IHttpRequest
# getRequest( )

Returns

IHttpRequest
public IHttpResponse
# getResponse( )

Returns

IHttpResponse
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties summary
public read-only boolean $modified
#
public read-only IHttpRequest $request
#
public read-only IHttpResponse $response
#
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0