IlRequest

Operations

getCookie(s: String): String
Returns the value of the cookie named s.
getHeader(s: String): String
Returns the value of the request header named s.
getHost(): String
Returns the name of the host serving the request.
getI18n(s: String): String
Returns a localized version of s, depending on getLang().
getLang(): String
Returns the language setting of the browser, or, if overriden by a cookie, the cookie value.
getRequestUrl(): IlUrl
Returns the URL of the original request, without modifications reflecting internal state changes or normalizations.
getUrl(): IlUrl
Returns the URL of the request, including modifications reflecting internal state changes or normalizations.
setCookie(s1: String, s2: String): Void [S]
Sets the cookie s1 to the value s2.