railo.runtime.type.scope
Interface Cookie

All Superinterfaces:
Castable, Cloneable, Collection, Dumpable, Iteratorable, Map, Scope, Serializable, Struct
All Known Implementing Classes:
CookieImpl

public interface Cookie
extends Scope

interface for the cookie scope


Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface railo.runtime.type.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_VARIABLES
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 void setCookie(Collection.Key name, Object value, int expires, boolean secure, String path, String domain)
          set a cookie value
 void setCookie(Collection.Key name, Object value, Object expires, boolean secure, String path, String domain)
          set a cookie value
 void setCookie(String name, Object value, int expires, boolean secure, String path, String domain)
          Deprecated. replaced with setCookie(Collection.Key name, Object value, int expires, boolean secure, String path, String domain)
 void setCookie(String name, Object value, Object expires, boolean secure, String path, String domain)
          Deprecated. replaced with setCookie(Collection.Key name, Object value, Object expires, boolean secure, String path, String domain)
 void setCookieEL(Collection.Key name, Object value, int expires, boolean secure, String path, String domain)
          set a cookie value
 void setCookieEL(String name, Object value, int expires, boolean secure, String path, String domain)
          Deprecated. replaced with setCookieEL(Collection.Key name, Object value, int expires, boolean secure, String path, String domain
 
Methods inherited from interface railo.runtime.type.Scope
getType, getTypeAsString, initialize, isInitalized, release
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, keyIterator, valueIterator
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

setCookie

void setCookie(String name,
               Object value,
               Object expires,
               boolean secure,
               String path,
               String domain)
               throws PageException
Deprecated. replaced with setCookie(Collection.Key name, Object value, Object expires, boolean secure, String path, String domain)

set a cookie value

Parameters:
name - name of the cookie
value - value of the cookie
expires - expirs of the cookie (Date, number in seconds or keyword as string )
secure - set secure or not
path - path of the cookie
domain - domain of the cookie
Throws:
PageException

setCookie

void setCookie(Collection.Key name,
               Object value,
               Object expires,
               boolean secure,
               String path,
               String domain)
               throws PageException
set a cookie value

Parameters:
name - name of the cookie
value - value of the cookie
expires - expirs of the cookie (Date, number in seconds or keyword as string )
secure - set secure or not
path - path of the cookie
domain - domain of the cookie
Throws:
PageException

setCookie

void setCookie(String name,
               Object value,
               int expires,
               boolean secure,
               String path,
               String domain)
               throws PageException
Deprecated. replaced with setCookie(Collection.Key name, Object value, int expires, boolean secure, String path, String domain)

set a cookie value

Parameters:
name - Name of the cookie
value - value of the cookie
expires - expires in seconds
secure - secute or not
path - path of the cookie
domain - domain of the cookie
Throws:
PageException

setCookie

void setCookie(Collection.Key name,
               Object value,
               int expires,
               boolean secure,
               String path,
               String domain)
               throws PageException
set a cookie value

Parameters:
name - Name of the cookie
value - value of the cookie
expires - expires in seconds
secure - secute or not
path - path of the cookie
domain - domain of the cookie
Throws:
PageException

setCookieEL

void setCookieEL(String name,
                 Object value,
                 int expires,
                 boolean secure,
                 String path,
                 String domain)
Deprecated. replaced with setCookieEL(Collection.Key name, Object value, int expires, boolean secure, String path, String domain

set a cookie value

Parameters:
name - Name of the cookie
value - value of the cookie
expires - expires in seconds
secure - secute or not
path - path of the cookie
domain - domain of the cookie

setCookieEL

void setCookieEL(Collection.Key name,
                 Object value,
                 int expires,
                 boolean secure,
                 String path,
                 String domain)
set a cookie value

Parameters:
name - Name of the cookie
value - value of the cookie
expires - expires in seconds
secure - secute or not
path - path of the cookie
domain - domain of the cookie


Copyright © 2012 Railo