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.
retrieves the last untrusted proxy from the Forwarded-Headers or the X-Forwarded-*-Headers.
Is the client using SSL?
Is the client using SSL?
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 URI is what was on the status line after the request method. E.g. in "GET /foo/bar?q=s HTTP/1.1" the URI should be /foo/bar?q=s. It could be absolute, some clients send absolute URLs, especially proxies.
The HTTP version.
The HTTP version.
Wrap an existing request. Useful to extend a request.