railo.runtime.type.scope
Interface Cookie
- All Superinterfaces:
- Castable, Cloneable, Collection, Dumpable, ForEachIteratorable, Iteratorable, Map, Objects, Scope, Serializable, SharedScope, Sizeable, Struct, UserScope
- All Known Implementing Classes:
- CookieImpl
public interface Cookie
- extends Scope, UserScope
interface for the cookie scope
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface railo.runtime.type.scope.Scope |
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VAR, SCOPE_VARIABLES |
Method Summary |
void |
setCookie(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain)
Deprecated. |
void |
setCookie(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
set a cookie value |
void |
setCookie(Collection.Key name,
Object value,
Object expires,
boolean secure,
String path,
String domain)
Deprecated. |
void |
setCookie(Collection.Key name,
Object value,
Object expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
set a cookie value |
void |
setCookieEL(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain)
Deprecated. |
void |
setCookieEL(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
set a cookie value |
Methods inherited from interface railo.runtime.type.Collection |
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
setCookie
void setCookie(Collection.Key name,
Object value,
Object expires,
boolean secure,
String path,
String domain)
throws PageException
- Deprecated.
- set a cookie value
- Parameters:
name
- name of the cookievalue
- value of the cookieexpires
- expirs of the cookie (Date, number in seconds or keyword as string )secure
- set secure or notpath
- path of the cookiedomain
- domain of the cookie
- Throws:
PageException
setCookie
void setCookie(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain)
throws PageException
- Deprecated.
- set a cookie value
- Parameters:
name
- Name of the cookievalue
- value of the cookieexpires
- expires in secondssecure
- secute or notpath
- path of the cookiedomain
- domain of the cookie
- Throws:
PageException
setCookieEL
void setCookieEL(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain)
- Deprecated.
- set a cookie value
- Parameters:
name
- Name of the cookievalue
- value of the cookieexpires
- expires in secondssecure
- secute or notpath
- path of the cookiedomain
- domain of the cookie
setCookie
void setCookie(Collection.Key name,
Object value,
Object expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
throws PageException
- set a cookie value
- Parameters:
name
- name of the cookievalue
- value of the cookieexpires
- expirs of the cookie (Date, number in seconds or keyword as string )secure
- set secure or notpath
- path of the cookiedomain
- domain of the cookiehttpOnly
- if true, sets cookie as httponly so that it cannot be accessed using JavaScripts. Note that the browser must have httponly compatibility.preserveCase
- if true, keep the case of the name as it isencode
- if true, url encode the name and the value
- Throws:
PageException
setCookie
void setCookie(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
throws PageException
- set a cookie value
- Parameters:
name
- Name of the cookievalue
- value of the cookieexpires
- expires in secondssecure
- secute or notpath
- path of the cookiedomain
- domain of the cookiehttpOnly
- if true, sets cookie as httponly so that it cannot be accessed using JavaScripts. Note that the browser must have httponly compatibility.preserveCase
- if true, keep the case of the name as it isencode
- if true, url encode the name and the value
- Throws:
PageException
setCookieEL
void setCookieEL(Collection.Key name,
Object value,
int expires,
boolean secure,
String path,
String domain,
boolean httpOnly,
boolean preserveCase,
boolean encode)
- set a cookie value
- Parameters:
name
- Name of the cookievalue
- value of the cookieexpires
- expires in secondssecure
- secute or notpath
- path of the cookiedomain
- domain of the cookiehttpOnly
- if true, sets cookie as httponly so that it cannot be accessed using JavaScripts. Note that the browser must have httponly compatibility.preserveCase
- if true, keep the case of the name as it isencode
- if true, url encode the name and the value
Copyright © 2012 Railo