Namespaces

  • 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

  • Context
  • FileUpload
  • Request
  • RequestFactory
  • Response
  • Session
  • SessionSection
  • Url
  • UrlScript
  • UserStorage

Interfaces

  • IRequest
  • IResponse
  • ISessionStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Context

HTTP-specific tasks.

Nette\Object
Extended by Nette\Http\Context
Namespace: Nette\Http
Author: David Grudl
Located at Http/Context.php
Methods summary
public
# __construct( Nette\Http\IRequest $request, Nette\Http\IResponse $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 Nette\Http\IRequest
# getRequest( )

Returns

Nette\Http\IRequest
public Nette\Http\IResponse
# getResponse( )

Returns

Nette\Http\IResponse
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties summary
public read-only boolean $modified
#
public read-only Nette\Http\IRequest $request
#
public read-only Nette\Http\IResponse $response
#
Magic properties inherited from Nette\Object
$reflection
Nette 2.0 API documentation generated by ApiGen 2.8.0