The Request Langs extracted from the Accept-Language header and sorted by preference (preferred first).
The Request Langs extracted from the Accept-Language header and sorted by preference (preferred first).
The media types list of the request’s Accept header, sorted by preference (preferred first).
Check if this request accepts a given media type.
Check if this request accepts a given media type.
true if mimeType
matches the Accept header, otherwise false
The body content.
The body content.
Returns the charset of the request for text-based body
Returns the charset of the request for text-based body
Returns the value of the Content-Type header (without the parameters (eg charset))
Returns the value of the Content-Type header (without the parameters (eg charset))
The HTTP cookies.
The HTTP cookies.
Copy the request.
Copy the request.
The HTTP domain
The HTTP domain
Parses the Flash
cookie and returns the Flash
data.
Parses the Flash
cookie and returns the Flash
data.
Helper method to access a queryString parameter.
Helper method to access a queryString parameter.
The HTTP headers.
The HTTP headers.
The HTTP host (domain, optionally port)
The HTTP host (domain, optionally port)
The request ID.
The request ID.
Transform the request body.
Transform the request body.
The media type of this request.
The media type of this request. Same as contentType, except returns a fully parsed media type with parameters.
The HTTP method.
The HTTP method.
The URI path.
The URI path.
The parsed query string.
The parsed query string.
Returns the raw query string.
Returns the raw query string.
The client IP address.
The client IP address.
If the X-Forwarded-For
header is present, then this method will return the value in that header
if either the local address is 127.0.0.1, or if trustxforwarded
is configured to be true in the
application configuration file.
Is the client using SSL?
Is the client using SSL?
If the X-Forwarded-Proto
header is present, then this method will return true
if the value in that header is "https", if either the local address is 127.0.0.1, or if
trustxforwarded
is configured to be true in the application configuration file.
Parses the Session
cookie and returns the Session
data.
Parses the Session
cookie and returns the Session
data.
The request Tags.
The request Tags.
The complete request URI, containing both path and query string.
The complete request URI, containing both path and query string.
The HTTP version.
The HTTP version.
The media types list of the request’s Accept header, not sorted in any particular order.
(Since version 2.1) Use acceptedTypes instead
Wrap an existing request. Useful to extend a request.