Index
A
- IResponse::addHeader() — Method in class IResponse
Adds an HTTP header without replacing a previously sent header with the same name.
- $ Request#ajax — Property in class Request
- Response::addHeader() — Method in class Response
Adds an HTTP header without replacing a previously sent header with the same name.
- Session::autoStart() — Method in class Session
- $ Url#absoluteUrl — Property in class Url
- $ Url#authority — Property in class Url
- Url::appendQuery() — Method in class Url
Merges query parameters into the existing query. Array values use union (existing keys are preserved); string values are appended and reparsed.
- $ UrlImmutable#absoluteUrl — Property in class UrlImmutable
- $ UrlImmutable#authority — Property in class UrlImmutable
- UrlValidator::allows() — Method in class UrlValidator
Returns true if URL passes the entire policy: parseable, allowed scheme/port, userinfo policy, host allow/blocklist, and (for hostname hosts) every DNS-resolved A/AAAA address passes the IP-range policy. DNS lookup is skipped when host is an IP literal. Null URL returns false.
- UrlValidator::allowsWithoutDns() — Method in class UrlValidator
Same as allows() without DNS resolution and IP-range checks. Useful as a fast pre-filter, or when DNS validation is delegated to the fetch layer (e.g. CURLOPT_RESOLVE).
B
- $ Url#basePath — Property in class Url
- $ Url#baseUrl — Property in class Url
- $ UrlScript#basePath — Property in class UrlScript
- $ UrlScript#baseUrl — Property in class UrlScript
C
- Context — Class in namespace Nette\Http
HTTP-specific tasks.
- $ FileUpload#contentType — Property in class FileUpload
- $ FileUpload#contents — Property in class FileUpload
- $ Request#cookies — Property in class Request
- RequestFactory::createHttpRequest() — Method in class RequestFactory
- $ Response#cookieDomain — Property in class Response
The domain in which the cookie will be available
- $ Response#cookiePath — Property in class Response
The path in which the cookie will be available
- $ Response#cookieSecure — Property in class Response
Whether the cookie is available only through HTTPS
- Session::close() — Method in class Session
Ends the current session and store session data.
- Url::canonicalize() — Method in class Url
Normalizes the URL to canonical form: percent-encodes path, lowercases and trims the host, and converts IDN ASCII to Unicode.
D
- IResponse::deleteCookie() — Method in class IResponse
Deletes a cookie.
- IResponse::deleteHeader() — Method in class IResponse
- Request::detectLanguage() — Method in class Request
Returns the most preferred language from the Accept-Language header that matches one of the supported languages, or null if no match is found.
- Response::deleteHeader() — Method in class Response
Deletes a previously sent HTTP header.
- Response::deleteCookie() — Method in class Response
Deletes a cookie.
- Session::destroy() — Method in class Session
Destroys all data registered to a session.
- $ Url#defaultPorts — Property in class Url
E
- $ FileUpload#error — Property in class FileUpload
- Helpers::expirationToSeconds() — Method in class Helpers
Converts an expiration value to the number of seconds from now (may be negative for the past).
- Session::exists() — Method in class Session
Does session exist for the current request?
- Url::export() — Method in class Url
- UrlImmutable::export() — Method in class UrlImmutable
F
- FileUpload — Class in namespace Nette\Http
Provides access to individual files that have been uploaded by a client.
- Helpers::formatDate() — Method in class Helpers
Formats a date and time in the HTTP date format (RFC 7231), e.g. 'Mon, 23 Jan 1978 10:00:00 GMT'.
- $ Request#files — Property in class Request
- RequestFactory::fromGlobals() — Method in class RequestFactory
Returns new Request instance, using values from superglobals.
- $ Url#fragment — Property in class Url
- $ UrlImmutable#fragment — Property in class UrlImmutable
G
- HttpExtension::getConfigSchema() — Method in class HttpExtension
- SessionExtension::getConfigSchema() — Method in class SessionExtension
- 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
- FileUpload::getUntrustedName() — Method in class FileUpload
Returns the original file name as submitted by the browser. Do not trust the value returned by this method.
- FileUpload::getSanitizedName() — Method in class FileUpload
Returns the sanitized file name. The resulting name contains only ASCII characters [a-zA-Z0-9.-].
- FileUpload::getUntrustedFullPath() — Method in class FileUpload
Returns the original full path as submitted by the browser during directory upload. Do not trust the value returned by this method. A client could send a malicious directory structure with the intention to corrupt or hack your application.
- FileUpload::getContentType() — Method in class FileUpload
Detects the MIME content type of the uploaded file based on its signature. Requires PHP extension fileinfo.
- FileUpload::getSuggestedExtension() — Method in class FileUpload
Returns the appropriate file extension (without the period) corresponding to the detected MIME type. Requires the PHP extension fileinfo.
- FileUpload::getSize() — Method in class FileUpload
Returns the size of the uploaded file in bytes.
- FileUpload::getTemporaryFile() — Method in class FileUpload
Returns the path of the temporary location of the uploaded file.
- FileUpload::getError() — Method in class FileUpload
Returns the upload error code (one of the UPLOAD_ERR_XXX constants).
- FileUpload::getImageSize() — Method in class FileUpload
Returns the [width, height] dimensions of the uploaded image, or null if it is not a valid image.
- FileUpload::getImageFileExtension() — Method in class FileUpload
Returns image file extension based on detected content type (without dot).
- FileUpload::getContents() — Method in class FileUpload
Returns the contents of the uploaded file. If the upload was not successful, it returns null.
- IRequest::getUrl() — Method in class IRequest
Returns the request URL.
- IRequest::getQuery() — Method in class IRequest
Returns a URL query parameter, or all parameters as an array if no key is given.
- IRequest::getPost() — Method in class IRequest
Returns a POST parameter, or all POST parameters as an array if no key is given.
- IRequest::getFile() — Method in class IRequest
Returns the uploaded file for the given key, or null if not present.
- IRequest::getFiles() — Method in class IRequest
Returns the tree of uploaded files, with each leaf being a FileUpload instance.
- IRequest::getCookie() — Method in class IRequest
Returns a cookie value, or null if it does not exist.
- IRequest::getCookies() — Method in class IRequest
Returns all cookies.
- IRequest::getMethod() — Method in class IRequest
Returns the HTTP request method (GET, POST, HEAD, PUT, ...).
- IRequest::getHeader() — Method in class IRequest
Returns the value of an HTTP header, or null if it does not exist. The name is case-insensitive.
- 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::getRawBody() — Method in class IRequest
Returns raw content of HTTP request body.
- IResponse::getCode() — Method in class IResponse
Returns HTTP response code.
- IResponse::getHeader() — Method in class IResponse
Returns the value of a sent HTTP header, or null if it does not exist.
- IResponse::getHeaders() — Method in class IResponse
Returns all sent HTTP headers as an associative array.
- Request::getUrl() — Method in class Request
Returns the URL of the request.
- Request::getQuery() — Method in class Request
Returns a URL query parameter, or all parameters as an array if no key is given.
- Request::getPost() — Method in class Request
Returns a POST parameter, or all POST parameters as an array if no key is given.
- Request::getFile() — Method in class Request
Returns the uploaded file for the given key, or null if not present.
- Request::getFiles() — Method in class Request
Returns the tree of uploaded files, with each leaf being a FileUpload instance.
- Request::getCookie() — Method in class Request
Returns a cookie or
nullif it does not exist.- Request::getCookies() — Method in class Request
Returns all cookies.
- Request::getMethod() — Method in class Request
Returns the HTTP method with which the request was made (GET, POST, HEAD, PUT, ...).
- Request::getHeader() — Method in class Request
Returns an HTTP header or
nullif it does not exist. The parameter is case-insensitive.- Request::getHeaders() — Method in class Request
Returns all HTTP headers as associative array.
- Request::getReferer() — Method in class Request
- Request::getOrigin() — Method in class Request
Returns the request origin (scheme + host + port) from the Origin header, or null if absent or invalid.
- Request::getRemoteAddress() — Method in class Request
Returns the IP address of the remote client.
- Request::getRawBody() — Method in class Request
Returns raw content of HTTP request body.
- Request::getBasicCredentials() — Method in class Request
Returns basic HTTP authentication credentials.
- Response::getCode() — Method in class Response
Returns HTTP response code.
- Response::getHeader() — Method in class Response
Returns the sent HTTP header, or
nullif it does not exist. The parameter is case-insensitive.- Response::getHeaders() — Method in class Response
Returns all sent HTTP headers as associative array.
- Session::getId() — Method in class Session
Returns the current session ID. Avoid relying on the value - it may change between requests.
- Session::getName() — Method in class Session
Gets the session name.
- Session::getSection() — Method in class Session
Returns specified session section.
- Session::getSectionNames() — Method in class Session
Returns the names of all existing session sections.
- Session::getOptions() — Method in class Session
Returns all session options.
- SessionSection::getIterator() — Method in class SessionSection
Returns an iterator over all section variables.
- SessionSection::get() — Method in class SessionSection
Gets a variable from this session section.
- Url::getScheme() — Method in class Url
- Url::getUser() — Method in class Url
- Url::getPassword() — Method in class Url
- Url::getHost() — Method in class Url
- Url::getDomain() — Method in class Url
Returns the specified number of rightmost domain labels (e.g. level 2 of 'www.nette.org' -> 'nette.org').
- Url::getPort() — Method in class Url
Returns the port number, falling back to the default port for the scheme if not explicitly set.
- Url::getDefaultPort() — Method in class Url
Returns the default port for the current scheme, or null if the scheme is not recognized.
- Url::getPath() — Method in class Url
- Url::getQuery() — Method in class Url
- Url::getQueryParameters() — Method in class Url
- Url::getQueryParameter() — Method in class Url
- Url::getFragment() — Method in class Url
- Url::getAbsoluteUrl() — Method in class Url
- 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
- Url::getBaseUrl() — Method in class Url
- Url::getRelativeUrl() — Method in class Url
- UrlImmutable::getScheme() — Method in class UrlImmutable
- UrlImmutable::getUser() — Method in class UrlImmutable
- UrlImmutable::getPassword() — Method in class UrlImmutable
- UrlImmutable::getHost() — Method in class UrlImmutable
- UrlImmutable::getDomain() — Method in class UrlImmutable
Returns the specified number of rightmost domain labels (e.g. level 2 of 'www.nette.org' -> 'nette.org').
- UrlImmutable::getPort() — Method in class UrlImmutable
Returns the port number, falling back to the default port for the scheme if not explicitly set.
- UrlImmutable::getDefaultPort() — Method in class UrlImmutable
Returns the default port for the current scheme, or null if the scheme is not recognized.
- UrlImmutable::getPath() — Method in class UrlImmutable
- UrlImmutable::getQuery() — Method in class UrlImmutable
- UrlImmutable::getQueryParameters() — Method in class UrlImmutable
- UrlImmutable::getQueryParameter() — Method in class UrlImmutable
- UrlImmutable::getFragment() — Method in class UrlImmutable
- UrlImmutable::getAbsoluteUrl() — Method in class UrlImmutable
- UrlImmutable::getAuthority() — Method in class UrlImmutable
Returns the [user[:pass]@]host[:port] part of URI.
- UrlImmutable::getHostUrl() — Method in class UrlImmutable
Returns the scheme and authority part of URI.
- UrlScript::getScriptPath() — Method in class UrlScript
- UrlScript::getBasePath() — Method in class UrlScript
- UrlScript::getRelativePath() — Method in class UrlScript
- UrlScript::getBaseUrl() — Method in class UrlScript
- UrlScript::getRelativeUrl() — Method in class UrlScript
- UrlScript::getPathInfo() — Method in class UrlScript
Returns the path segment after the script name (PATH_INFO), or an empty string if not present.
- UrlValidator::getResolvedIPs() — Method in class UrlValidator
Returns DNS-resolved IPs that passed the full policy, or [] on any failure.
H
- HttpExtension — Class in namespace Nette\Bridges\HttpDI
HTTP extension for Nette DI.
- FileUpload::hasFile() — Method in class FileUpload
Returns true if the user has uploaded a file.
- Helpers — Class in namespace Nette\Http
Helper functions for HTTP requests, responses and headers.
- $ Request#headers — Property in class Request
- $ Response#headers — Property in class Response
- Session::hasSection() — Method in class Session
Checks if a session section exist and is not empty.
- $ Url#host — Property in class Url
- $ Url#hostUrl — Property in class Url
- $ UrlImmutable#host — Property in class UrlImmutable
- $ UrlImmutable#hostUrl — Property in class UrlImmutable
I
- Context::isModified() — Method in class Context
Checks whether the response has been modified since the client's cached version.
- FileUpload::isOk() — Method in class FileUpload
Returns true if the file was uploaded successfully.
- FileUpload::isImage() — Method in class FileUpload
Checks whether the uploaded file is an image in a format supported by PHP (detectable via fileinfo, loadable via GD).
- Helpers::ipMatch() — Method in class Helpers
Checks whether an IP address falls within a CIDR block (e.g. '192.168.1.0/24').
- IPAddress — Class in namespace Nette\Http
Immutable IPv4/IPv6 address with predicates for range membership and address class.
- IPAddress::isValid() — Method in class IPAddress
Returns true for any syntactically valid IPv4 or IPv6 address, including IPv4-mapped IPv6 (::ffff:1.2.3.4).
- IPAddress::isIPv4() — Method in class IPAddress
Returns true for IPv4 dotted-quad form. IPv4-mapped IPv6 returns false; see isIPv4Mapped().
- IPAddress::isIPv6() — Method in class IPAddress
Returns true for IPv6 form, including IPv4-mapped (::ffff:1.2.3.4).
- IPAddress::isIPv4Mapped() — Method in class IPAddress
Returns true for IPv4-mapped IPv6 (::ffff:a.b.c.d). Range predicates below normalize these — ::ffff:127.0.0.1 evaluates as loopback.
- IPAddress::isInRange() — Method in class IPAddress
Tests whether this IP falls within the given CIDR block.
- IPAddress::isPublic() — Method in class IPAddress
Returns true if address is publicly routable (not in any private, loopback, link-local, multicast or reserved range).
- IPAddress::isPrivate() — Method in class IPAddress
Tests RFC 1918 / RFC 4193 private ranges (10/8, 172.16/12, 192.168/16, fc00::/7).
- IPAddress::isLoopback() — Method in class IPAddress
Tests loopback ranges (127.0.0.0/8, ::1/128).
- IPAddress::isLinkLocal() — Method in class IPAddress
Tests link-local ranges (169.254.0.0/16 incl. cloud metadata 169.254.169.254, fe80::/10).
- IPAddress::isMulticast() — Method in class IPAddress
Tests multicast ranges (224.0.0.0/4, ff00::/8).
- IPAddress::isReserved() — Method in class IPAddress
Tests IANA-reserved ranges not covered by other predicates: documentation prefixes (192.0.2.0/24, 2001:db8::/32), CGNAT (100.64.0.0/10), benchmarking, future-use, unspecified (0.0.0.0/8, ::/128) and similar.
- IRequest — Class in namespace Nette\Http
HTTP request contract providing access to URL, headers, cookies, uploaded files, and body.
- IRequest::isMethod() — Method in class IRequest
Checks the HTTP request method. The comparison is case-insensitive.
- IRequest::isSecured() — Method in class IRequest
Checks whether the request was sent via a secure channel (HTTPS).
- IRequest::isAjax() — Method in class IRequest
Checks whether the request was made via AJAX (X-Requested-With: XMLHttpRequest).
- IRequest::isFrom() — Method in class IRequest
- IResponse — Class in namespace Nette\Http
HTTP response contract for setting status code, headers, cookies, and redirects.
- IResponse::isSent() — Method in class IResponse
Checks whether HTTP headers have already been sent.
- Request::isMethod() — Method in class Request
Checks the HTTP method with which the request was made. The parameter is case-insensitive.
- Request::isSecured() — Method in class Request
Checks whether the request was sent via a secure channel (HTTPS).
- Request::isSameSite() — Method in class Request
Checks whether the request originated from your own site (same-site), i.e. it was not triggered from a foreign website. Serves as a CSRF-like protection for forms and signals.
- Request::isFrom() — Method in class Request
Checks whether the request matches the given Sec-Fetch-Site, Sec-Fetch-Dest and Sec-Fetch-User values.
- Request::isAjax() — Method in class Request
Checks whether the request was made via AJAX (X-Requested-With: XMLHttpRequest).
- Response::isSent() — Method in class Response
Checks whether HTTP headers have already been sent, making it impossible to modify them.
- Session::isStarted() — Method in class Session
Checks whether the session has been started.
- Url::isEqual() — Method in class Url
Checks whether two URLs are equal, ignoring query parameter order and trailing dots in hostnames.
- Url::isAbsolute() — Method in class Url
Checks whether the URL is absolute, i.e. starts with a scheme followed by a colon.
- UrlImmutable::isEqual() — Method in class UrlImmutable
Checks whether two URLs are equal, ignoring query parameter order and trailing dots in hostnames.
J
- Url::jsonSerialize() — Method in class Url
- UrlImmutable::jsonSerialize() — Method in class UrlImmutable
L
- HttpExtension::loadConfiguration() — Method in class HttpExtension
- SessionExtension::loadConfiguration() — Method in class SessionExtension
M
- FileUpload::move() — Method in class FileUpload
Moves an uploaded file to a new location. If the destination file already exists, it will be overwritten.
- $ Request#method — Property in class Request
- UrlImmutable::mergePath() — Method in class UrlImmutable
- UrlScript::mergePath() — Method in class UrlScript
N
- $ FileUpload#name — Property in class FileUpload
O
- $ FileUpload#ok — Property in class FileUpload
- $ Session#onStart — Property in class Session
- $ Session#onBeforeWrite — Property in class Session
- SessionSection::offsetSet() — Method in class SessionSection
- SessionSection::offsetGet() — Method in class SessionSection
- SessionSection::offsetExists() — Method in class SessionSection
- SessionSection::offsetUnset() — Method in class SessionSection
P
- Helpers::parseQualityList() — Method in class Helpers
Parses an HTTP quality-value list such as the Accept, Accept-Language or Accept-Encoding header into tokens mapped to their q-factor, ordered by descending preference. Tokens are lowercased and those explicitly rejected with q=0 are omitted.
- $ Request#post — Property in class Request
- $ Url#password — Property in class Url
- $ Url#port — Property in class Url
- $ Url#path — Property in class Url
- Url::parseQuery() — Method in class Url
Parses query string. Is affected by directive arg_separator.input.
- $ UrlImmutable#password — Property in class UrlImmutable
- $ UrlImmutable#port — Property in class UrlImmutable
- $ UrlImmutable#path — Property in class UrlImmutable
- $ UrlScript#pathInfo — Property in class UrlScript
Q
- $ Request#query — Property in class Request
- $ Url#query — Property in class Url
- $ Url#queryParameters — Property in class Url
- $ UrlImmutable#query — Property in class UrlImmutable
- $ UrlImmutable#queryParameters — Property in class UrlImmutable
R
- IResponse::redirect() — Method in class IResponse
Redirects to a new URL.
- Request — Class in namespace Nette\Http
Immutable representation of an HTTP request with access to URL, headers, cookies, uploaded files, and body.
- $ Request#referer — Property in class Request
- $ Request#remoteAddress — Property in class Request
- $ Request#rawBody — Property in class Request
- RequestFactory — Class in namespace Nette\Http
HTTP request factory.
- Response — Class in namespace Nette\Http
Mutable HTTP response for setting status code, headers, cookies, and redirects.
- Response::redirect() — Method in class Response
Redirects to another URL. Don't forget to quit the script then.
- Session::regenerateId() — Method in class Session
Regenerates the session ID.
- SessionSection::remove() — Method in class SessionSection
Removes a variable or a list of variables from this section. With no argument, removes the entire section.
- SessionSection::removeExpiration() — Method in class SessionSection
Removes the expiration from the whole section or from specific variables.
- $ Url#relativeUrl — Property in class Url
- Url::removeDotSegments() — Method in class Url
Resolves dot segments (. and ..) in a URL path, as per RFC 3986.
- UrlImmutable::resolve() — Method in class UrlImmutable
Resolves a URI reference against this URL the same way a browser would.
- $ UrlScript#relativePath — Property in class UrlScript
- $ UrlScript#relativeUrl — Property in class UrlScript
S
- SessionExtension — Class in namespace Nette\Bridges\HttpDI
Session extension for Nette DI.
- SessionPanel — Class in namespace Nette\Bridges\HttpTracy
Session panel for Debugger Bar.
- $ FileUpload#sanitizedName — Property in class FileUpload
- $ FileUpload#size — Property in class FileUpload
- IResponse::setCode() — Method in class IResponse
Sets HTTP response code.
- IResponse::setHeader() — Method in class IResponse
Sends an HTTP header, replacing any previously sent header with the same name.
- IResponse::setContentType() — Method in class IResponse
Sends a Content-type HTTP header.
- IResponse::setExpiration() — Method in class IResponse
Sets the Cache-Control and Expires headers. Pass a time string (e.g. '20 minutes') to enable caching, or null to disable it.
- IResponse::setCookie() — Method in class IResponse
Sends a cookie.
- $ Request#secured — Property in class Request
- RequestFactory::setBinary() — Method in class RequestFactory
Disables sanitization of request data (GET, POST, cookies, file names) for binary-safe handling.
- RequestFactory::setProxy() — Method in class RequestFactory
Sets the trusted proxy IP addresses or CIDR blocks used to resolve the real client IP and URL scheme.
- RequestFactory::setForceHttps() — Method in class RequestFactory
Forces the request scheme to HTTPS regardless of the server environment.
- Response::setCode() — Method in class Response
Sets HTTP response code.
- Response::setHeader() — Method in class Response
Sends an HTTP header, replacing any previously sent header with the same name.
- Response::setContentType() — Method in class Response
Sends a Content-type HTTP header.
- Response::sendAsFile() — Method in class Response
Triggers a browser download dialog for the response body with the given filename.
- Response::setExpiration() — Method in class Response
Sets the Cache-Control and Expires headers. Pass a time string (e.g. '20 minutes') to enable caching, or null to disable it entirely.
- Response::setCookie() — Method in class Response
Sends a cookie.
- Session — Class 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.
- Session::setOptions() — Method in class Session
Sets session options.
- Session::setExpiration() — Method in class Session
Sets the session lifetime as a time string (e.g. '20 minutes'), or null to revert to the default (a 3-hour server-side idle timeout; the session cookie itself is kept by the browser per its own policy).
- 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::setHandler() — Method in class Session
Sets user session handler.
- SessionSection — Class in namespace Nette\Http
Session section.
- SessionSection::set() — Method in class SessionSection
Sets a variable in this session section. Passing null removes it.
- SessionSection::setExpiration() — Method in class SessionSection
Sets the expiration time for the whole section or for specific variables.
- $ Url#scheme — Property in class Url
- Url::setScheme() — Method in class Url
- Url::setUser() — Method in class Url
- Url::setPassword() — Method in class Url
- Url::setHost() — Method in class Url
- Url::setPort() — Method in class Url
- Url::setPath() — Method in class Url
Sets the path. Automatically prepends a leading slash when a host is set.
- Url::setQuery() — Method in class Url
- Url::setQueryParameter() — Method in class Url
- Url::setFragment() — Method in class Url
- $ UrlImmutable#scheme — Property in class UrlImmutable
- $ UrlScript#scriptPath — Property in class UrlScript
T
- $ FileUpload#temporaryFile — Property in class FileUpload
- FileUpload::toImage() — Method in class FileUpload
Converts uploaded image to Nette\Utils\Image object.
- IPAddress::tryFrom() — Method in class IPAddress
Returns an instance for valid input, null otherwise.
- IPAddress::toIPv4() — Method in class IPAddress
Converts IPv4-mapped IPv6 to IPv4 dotted-quad form. Returns $this for non-mapped.
U
- $ FileUpload#untrustedFullPath — Property in class FileUpload
- $ Request#url — Property in class Request
- $ RequestFactory#urlFilters — Property in class RequestFactory
Regex-based filters applied to the URL before parsing. 'path' filters run on the path component only; 'url' filters run on the full request URI.
- Url — Class in namespace Nette\Http
Mutable representation of a URL.
- $ Url#user — Property in class Url
- Url::unescape() — Method in class Url
Decodes percent-encoded characters, but keeps reserved characters (specified in $reserved) encoded.
- UrlImmutable — Class in namespace Nette\Http
Immutable representation of a URL.
- $ UrlImmutable#user — Property in class UrlImmutable
- UrlScript — Class in namespace Nette\Http
Immutable representation of a URL with application base-path.
- UrlValidator — Class in namespace Nette\Http
Validates URLs against a configurable policy: scheme, port, host allow/blocklist, userinfo, and resolved IP ranges. Used to guard server-side URL fetches against SSRF — set the policy to match your threat model.
W
- Request::withUrl() — Method in class Request
Returns a clone with a different URL.
- $ Response#warnOnBuffer — Property in class Response
Whether to warn when there is data in the output buffer before sending headers
- UrlImmutable::withScheme() — Method in class UrlImmutable
- UrlImmutable::withUser() — Method in class UrlImmutable
- UrlImmutable::withPassword() — Method in class UrlImmutable
- UrlImmutable::withoutUserInfo() — Method in class UrlImmutable
- UrlImmutable::withHost() — Method in class UrlImmutable
- UrlImmutable::withPort() — Method in class UrlImmutable
- UrlImmutable::withPath() — Method in class UrlImmutable
- UrlImmutable::withQuery() — Method in class UrlImmutable
- UrlImmutable::withQueryParameter() — Method in class UrlImmutable
- UrlImmutable::withFragment() — Method in class UrlImmutable
- UrlScript::withPath() — Method in class UrlScript
_
- HttpExtension::__construct() — Method in class HttpExtension
- SessionExtension::__construct() — Method in class SessionExtension
- Context::__construct() — Method in class Context
- FileUpload::__construct() — Method in class FileUpload
- FileUpload::__toString() — Method in class FileUpload
Returns the path of the temporary location of the uploaded file.
- IPAddress::__construct() — Method in class IPAddress
- IPAddress::__toString() — Method in class IPAddress
- Request::__construct() — Method in class Request
- Response::__construct() — Method in class Response
- Session::__construct() — Method in class Session
- Session::__destruct() — Method in class Session
- SessionSection::__construct() — Method in class SessionSection
Do not call directly. Use Session::getSection().
- SessionSection::__set() — Method in class SessionSection
- SessionSection::__get() — Method in class SessionSection
- SessionSection::__isset() — Method in class SessionSection
- SessionSection::__unset() — Method in class SessionSection
- Url::__construct() — Method in class Url
- Url::__toString() — Method in class Url
- UrlImmutable::__construct() — Method in class UrlImmutable
- UrlImmutable::__toString() — Method in class UrlImmutable
- UrlScript::__construct() — Method in class UrlScript
- UrlValidator::__construct() — Method in class UrlValidator
Host patterns: exact ('example.com') or wildcard subdomain ('*.example.com' matches any depth but NOT apex; for apex list both forms). Multicast addresses are always rejected — never opt-in.