A

IResponse::addHeader() — Method in class IResponse

Adds HTTP header.

$ Request#ajaxProperty in class Request
Response::addHeader() — Method in class Response

Adds HTTP header.

$ Url#absoluteUrlProperty in class Url
$ Url#authorityProperty in class Url
Url::appendQuery() — Method in class Url

Appends the query part of URI.

B

$ Url#basePathProperty in class Url
$ Url#baseUrlProperty in class Url

C

ContextClass in namespace Nette\Http

HTTP-specific tasks.

$ FileUpload#contentTypeProperty in class FileUpload
$ FileUpload#contentsProperty in class FileUpload
ISessionStorage::close() — Method in class ISessionStorage
ISessionStorage::clean() — Method in class ISessionStorage
$ Request#cookiesProperty in class Request
RequestFactory::createHttpRequest() — Method in class RequestFactory

Creates current HttpRequest object.

$ Response#cookieDomainProperty in class Response
$ Response#cookiePathProperty in class Response
$ Response#cookieSecureProperty in class Response
$ Response#cookieHttpOnlyProperty in class Response
Session::close() — Method in class Session

Ends the current session and store session data.

Session::clean() — Method in class Session

Cleans and minimizes meta structures. This method is called automatically on shutdown, do not call it directly.

Url::canonicalize() — Method in class Url

Transforms URL to canonical form.

D

IResponse::deleteCookie() — Method in class IResponse

Deletes a cookie.

Request::detectLanguage() — Method in class Request

Parse Accept-Language header and returns preferred language.

Response::date() — Method in class Response

Returns HTTP valid date format.

Response::deleteCookie() — Method in class Response

Deletes a cookie.

Session::destroy() — Method in class Session

Destroys all data registered to a session.

$ Url#defaultPortsProperty in class Url

E

$ FileUpload#errorProperty in class FileUpload
Session::exists() — Method in class Session

Does session exists for the current request?

F

FileUploadClass in namespace Nette\Http

Provides access to individual files that have been uploaded by a client.

$ Request#filesProperty in class Request
$ Url#fragmentProperty in class Url

G

SessionPanel::getTab() — Method in class SessionPanel

Renders tab.

SessionPanel::getPanel() — Method in class SessionPanel

Renders panel.

Context::getRequest() — Method in class Context
Context::getResponse() — Method in class Context
FileUpload::getName() — Method in class FileUpload

Returns the file name.

FileUpload::getSanitizedName() — Method in class FileUpload

Returns the sanitized file name.

FileUpload::getContentType() — Method in class FileUpload

Returns the MIME content type of an uploaded file.

FileUpload::getSize() — Method in class FileUpload

Returns the size of an uploaded file.

FileUpload::getTemporaryFile() — Method in class FileUpload

Returns the path to an uploaded file.

FileUpload::getError() — Method in class FileUpload

Returns the error code. http://php.net/manual/en/features.file-upload.errors.php

FileUpload::getImageSize() — Method in class FileUpload

Returns the dimensions of an uploaded image as array.

FileUpload::getContents() — Method in class FileUpload

Get file contents.

IRequest::getUrl() — Method in class IRequest

Returns URL object.

IRequest::getQuery() — Method in class IRequest

Returns variable provided to the script via URL query ($_GET).

IRequest::getPost() — Method in class IRequest

Returns variable provided to the script via POST method ($_POST).

IRequest::getFile() — Method in class IRequest

Returns uploaded file.

IRequest::getFiles() — Method in class IRequest

Returns uploaded files.

IRequest::getCookie() — Method in class IRequest

Returns variable provided to the script via HTTP cookies.

IRequest::getCookies() — Method in class IRequest

Returns variables provided to the script via HTTP cookies.

IRequest::getMethod() — Method in class IRequest

Returns HTTP request method (GET, POST, HEAD, PUT, ...). The method is case-sensitive.

IRequest::getHeader() — Method in class IRequest

Return the value of the HTTP header. Pass the header name as the plain, HTTP-specified header name (e.g. 'Accept-Encoding').

IRequest::getHeaders() — Method in class IRequest

Returns all HTTP headers.

IRequest::getRemoteAddress() — Method in class IRequest

Returns the IP address of the remote client.

IRequest::getRemoteHost() — Method in class IRequest

Returns the host of the remote client.

IRequest::getRawBody() — Method in class IRequest

Returns raw content of HTTP request body.

IResponse::getCode() — Method in class IResponse

Returns HTTP response code.

IResponse::getHeaders() — Method in class IResponse

Returns a list of headers to sent.

Request::getUrl() — Method in class Request

Returns URL object.

Request::getQuery() — Method in class Request

Returns variable provided to the script via URL query ($_GET).

Request::getPost() — Method in class Request

Returns variable provided to the script via POST method ($_POST).

Request::getFile() — Method in class Request

Returns uploaded file.

Request::getFiles() — Method in class Request

Returns uploaded files.

Request::getCookie() — Method in class Request

Returns variable provided to the script via HTTP cookies.

Request::getCookies() — Method in class Request

Returns variables provided to the script via HTTP cookies.

Request::getMethod() — Method in class Request

Returns HTTP request method (GET, POST, HEAD, PUT, ...). The method is case-sensitive.

Request::getHeader() — Method in class Request

Return the value of the HTTP header. Pass the header name as the plain, HTTP-specified header name (e.g. 'Accept-Encoding').

Request::getHeaders() — Method in class Request

Returns all HTTP headers.

Request::getReferer() — Method in class Request

Returns referrer.

Request::getRemoteAddress() — Method in class Request

Returns the IP address of the remote client.

Request::getRemoteHost() — Method in class Request

Returns the host of the remote client.

Request::getRawBody() — Method in class Request

Returns raw content of HTTP request body.

Response::getCode() — Method in class Response

Returns HTTP response code.

Response::getHeader() — Method in class Response

Returns value of an HTTP header.

Response::getHeaders() — Method in class Response

Returns a list of headers to sent.

Session::getId() — Method in class Session

Returns the current session ID. Don't make dependencies, can be changed for each request.

Session::getName() — Method in class Session

Gets the session name.

Session::getSection() — Method in class Session

Returns specified session section.

Session::getIterator() — Method in class Session

Iteration over all sections.

Session::getOptions() — Method in class Session

Returns all session options.

Session::getCookieParameters() — Method in class Session

Returns the session cookie parameters.

SessionSection::getIterator() — Method in class SessionSection

Returns an iterator over all section variables.

Url::getScheme() — Method in class Url

Returns the scheme part of URI.

Url::getUser() — Method in class Url

Returns the user name part of URI.

Url::getPassword() — Method in class Url

Returns the password part of URI.

Url::getHost() — Method in class Url

Returns the host part of URI.

Url::getPort() — Method in class Url

Returns the port part of URI.

Url::getPath() — Method in class Url

Returns the path part of URI.

Url::getQuery() — Method in class Url

Returns the query part of URI.

Url::getQueryParameter() — Method in class Url
Url::getFragment() — Method in class Url

Returns the fragment part of URI.

Url::getAbsoluteUrl() — Method in class Url

Returns the entire URI including query string and fragment.

Url::getAuthority() — Method in class Url

Returns the [user[:pass]@]host[:port] part of URI.

Url::getHostUrl() — Method in class Url

Returns the scheme and authority part of URI.

Url::getBasePath() — Method in class Url

Returns the base-path.

Url::getBaseUrl() — Method in class Url

Returns the base-URI.

Url::getRelativeUrl() — Method in class Url

Returns the relative-URI.

UrlScript::getScriptPath() — Method in class UrlScript

Returns the script-path part of URI.

UrlScript::getBasePath() — Method in class UrlScript

Returns the base-path.

UrlScript::getPathInfo() — Method in class UrlScript

Returns the additional path information.

UserStorage::getIdentity() — Method in class UserStorage

Returns current user identity, if any.

UserStorage::getNamespace() — Method in class UserStorage

Returns current namespace.

UserStorage::getLogoutReason() — Method in class UserStorage

Why was user logged out?

UserStorage::getSessionSection() — Method in class UserStorage

Returns and initializes $this->sessionSection.

H

HelpersClass in namespace Nette\Http

Rendering helpers for HTTP.

$ Request#headersProperty in class Request
Session::hasSection() — Method in class Session

Checks if a session section exist and is not empty.

$ Url#hostProperty in class Url
$ Url#hostUrlProperty in class Url

I

Context::isModified() — Method in class Context

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

FileUpload::isOk() — Method in class FileUpload

Is there any error?

FileUpload::isImage() — Method in class FileUpload

Is uploaded file GIF, PNG or JPEG?

Helpers::ipMatch() — Method in class Helpers

Is IP address in CIDR block?

IRequestClass in namespace Nette\Http

IHttpRequest provides access scheme for request sent via HTTP.

IRequest::isMethod() — Method in class IRequest

Checks HTTP request method.

IRequest::isSecured() — Method in class IRequest

Is the request is sent via secure channel (https).

IRequest::isAjax() — Method in class IRequest

Is AJAX request?

IResponseClass in namespace Nette\Http

IHttpResponse interface.

IResponse::isSent() — Method in class IResponse

Checks if headers have been sent.

ISessionStorageClass in namespace Nette\Http

User session storage for PHP < 5.4.

Request::isMethod() — Method in class Request

Checks if the request method is the given one.

Request::isPost() — Method in class Request

Checks if the request method is POST.

Request::isSecured() — Method in class Request

Is the request is sent via secure channel (https).

Request::isAjax() — Method in class Request

Is AJAX request?

Response::isSent() — Method in class Response

Checks if headers have been sent.

Session::isStarted() — Method in class Session

Has been session started?

Url::isEqual() — Method in class Url

URL comparison.

UserStorage::isAuthenticated() — Method in class UserStorage

Is this user authenticated?

M

FileUpload::move() — Method in class FileUpload

Move uploaded file to new location.

$ Request#methodProperty in class Request

N

$ FileUpload#nameProperty in class FileUpload

O

$ FileUpload#okProperty in class FileUpload
ISessionStorage::open() — Method in class ISessionStorage
SessionSection::offsetSet() — Method in class SessionSection

Sets a variable in this session section.

SessionSection::offsetGet() — Method in class SessionSection

Gets a variable from this session section.

SessionSection::offsetExists() — Method in class SessionSection

Determines whether a variable in this session section is set.

SessionSection::offsetUnset() — Method in class SessionSection

Unsets a variable in this session section.

P

$ Request#postProperty in class Request
$ Url#passwordProperty in class Url
$ Url#portProperty in class Url
$ Url#pathProperty in class Url
$ UrlScript#pathInfoProperty in class UrlScript

Q

$ Request#queryProperty in class Request
$ Url#queryProperty in class Url

R

IResponse::redirect() — Method in class IResponse

Redirects to a new URL.

ISessionStorage::read() — Method in class ISessionStorage
ISessionStorage::remove() — Method in class ISessionStorage
RequestClass in namespace Nette\Http

HttpRequest provides access scheme for request sent via HTTP.

$ Request#refererProperty in class Request
$ Request#remoteAddressProperty in class Request
$ Request#remoteHostProperty in class Request
$ Request#rawBodyProperty in class Request
RequestFactoryClass in namespace Nette\Http

Current HTTP request factory.

ResponseClass in namespace Nette\Http

HttpResponse class.

Response::redirect() — Method in class Response

Redirects to a new URL. Note: call exit() after it.

Response::removeDuplicateCookies() — Method in class Response

Removes duplicate cookies from response.

Session::regenerateId() — Method in class Session

Regenerates the session ID.

SessionSection::removeExpiration() — Method in class SessionSection

Removes the expiration from the section or specific variables.

SessionSection::remove() — Method in class SessionSection

Cancels the current session section.

$ Url#relativeUrlProperty in class Url

S

SessionPanelClass in namespace Nette\Bridges\HttpTracy

Session panel for Debugger Bar.

$ FileUpload#sanitizedNameProperty in class FileUpload
$ FileUpload#sizeProperty in class FileUpload
IResponse::setCode() — Method in class IResponse

Sets HTTP response code.

IResponse::setHeader() — Method in class IResponse

Sends a HTTP header and replaces a previous one.

IResponse::setContentType() — Method in class IResponse

Sends a Content-type HTTP header.

IResponse::setExpiration() — Method in class IResponse

Sets the number of seconds before a page cached on a browser expires.

IResponse::setCookie() — Method in class IResponse

Sends a cookie.

$ Request#securedProperty in class Request
RequestFactory::setBinary() — Method in class RequestFactory
RequestFactory::setProxy() — Method in class RequestFactory
Response::setCode() — Method in class Response

Sets HTTP response code.

Response::setHeader() — Method in class Response

Sends a HTTP header and replaces a previous one.

Response::setContentType() — Method in class Response

Sends a Content-type HTTP header.

Response::setExpiration() — Method in class Response

Sets the number of seconds before a page cached on a browser expires.

Response::setCookie() — Method in class Response

Sends a cookie.

SessionClass in namespace Nette\Http

Provides access to session sections as well as session settings and management methods.

Session::start() — Method in class Session

Starts and initializes session data.

Session::setName() — Method in class Session

Sets the session name to a specified one.

Session::setOptions() — Method in class Session

Sets session options.

Session::setExpiration() — Method in class Session

Sets the amount of time allowed between requests before the session will be terminated.

Session::setCookieParameters() — Method in class Session

Sets the session cookie parameters.

Session::setSavePath() — Method in class Session

Sets path of the directory used to save session data.

Session::setStorage() — Method in class Session

Sets user session storage for PHP < 5.4. For PHP >= 5.4, use setHandler().

Session::setHandler() — Method in class Session

Sets user session handler.

SessionSectionClass in namespace Nette\Http

Session section.

SessionSection::setExpiration() — Method in class SessionSection

Sets the expiration of the section or specific variables.

$ Url#schemeProperty in class Url
Url::setScheme() — Method in class Url

Sets the scheme part of URI.

Url::setUser() — Method in class Url

Sets the user name part of URI.

Url::setPassword() — Method in class Url

Sets the password part of URI.

Url::setHost() — Method in class Url

Sets the host part of URI.

Url::setPort() — Method in class Url

Sets the port part of URI.

Url::setPath() — Method in class Url

Sets the path part of URI.

Url::setQuery() — Method in class Url

Sets the query part of URI.

Url::setQueryParameter() — Method in class Url
Url::setFragment() — Method in class Url

Sets the fragment part of URI.

$ UrlScript#scriptPathProperty in class UrlScript
UrlScript::setScriptPath() — Method in class UrlScript

Sets the script-path part of URI.

UserStorage::setAuthenticated() — Method in class UserStorage

Sets the authenticated status of this user.

UserStorage::setIdentity() — Method in class UserStorage

Sets the user identity.

UserStorage::setNamespace() — Method in class UserStorage

Changes namespace; allows more users to share a session.

UserStorage::setExpiration() — Method in class UserStorage

Enables log out after inactivity.

T

$ FileUpload#temporaryFileProperty in class FileUpload
FileUpload::toImage() — Method in class FileUpload

Returns the image.

U

$ Request#urlProperty in class Request
$ RequestFactory#urlFiltersProperty in class RequestFactory
UrlClass in namespace Nette\Http

URI Syntax (RFC 3986).

$ Url#userProperty in class Url
Url::unescape() — Method in class Url

Similar to rawurldecode, but preserves reserved chars encoded.

UrlScriptClass in namespace Nette\Http

Extended HTTP URL.

UserStorageClass in namespace Nette\Http

Session storage for user object.

W

ISessionStorage::write() — Method in class ISessionStorage
$ Response#warnOnBufferProperty in class Response
$ SessionSection#warnOnUndefinedProperty in class SessionSection

_

Context::__construct() — Method in class Context
FileUpload::__construct() — Method in class FileUpload
FileUpload::__toString() — Method in class FileUpload

Returns the path to an uploaded file.

Request::__construct() — Method in class Request
Response::__construct() — Method in class Response
Response::__destruct() — Method in class Response
Session::__construct() — Method in class Session
SessionSection::__construct() — Method in class SessionSection

Do not call directly. Use Session::getSection().

SessionSection::__set() — Method in class SessionSection

Sets a variable in this session section.

SessionSection::__get() — Method in class SessionSection

Gets a variable from this session section.

SessionSection::__isset() — Method in class SessionSection

Determines whether a variable in this session section is set.

SessionSection::__unset() — Method in class SessionSection

Unsets a variable in this session section.

Url::__construct() — Method in class Url
Url::__toString() — Method in class Url
UserStorage::__construct() — Method in class UserStorage