public final class CGIImplReadOnly extends ReadOnlyStruct implements CGI, ScriptProtected
Collection.Key
TYPE_UNDEFINED
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
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
NO, UNDEFINED, YES
Constructor and Description |
---|
CGIImplReadOnly() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Collection.Key key)
contains this key
|
boolean |
containsValue(Object value) |
void |
disconnect() |
Collection |
duplicate(boolean deepCopy) |
Iterator<Map.Entry<Collection.Key,Object>> |
entryIterator() |
Object |
get(Collection.Key key)
return a value from the collection
|
Object |
get(Collection.Key key,
Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null
|
static String |
getDomain(javax.servlet.http.HttpServletRequest req) |
int |
getType() |
String |
getTypeAsString() |
void |
initialize(PageContext pc)
Initalize Scope
|
boolean |
isInitalized()
return if the scope is Initialiesd
|
boolean |
isScriptProtected() |
Iterator<Collection.Key> |
keyIterator() |
Collection.Key[] |
keys() |
Iterator<String> |
keysAsStringIterator() |
void |
release()
release scope for reuse
|
void |
release(PageContext pc)
release scope for reuse
|
void |
setScriptProtecting(ApplicationContext ac,
boolean scriptProtecting)
transform the string values of the scope do a script protecting way
|
int |
size() |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML
|
clear, remove, removeAll, removeEL, set, setEL, setReadOnly
copy, equals, g, g, hashCode, remove, valueIterator, values
call, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clone, compareTo, compareTo, compareTo, compareTo, containsKey, containsKey, entrySet, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, sizeOf, toString
clear, clone, containsKey, get, get, remove, removeEL, set, set, setEL, setEL
valueIterator
getIterator
clear, containsKey, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, values
call, callWithNamedValues, get, get, set, setEL
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public CGIImplReadOnly()
public void disconnect()
public boolean containsKey(Collection.Key key)
Collection
containsKey
in interface Collection
containsKey
in class StructImpl
public boolean containsValue(Object value)
containsValue
in interface Map
containsValue
in class StructImpl
public Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
duplicate
in class ReadOnlyStruct
public int size()
size
in interface Map
size
in interface Collection
size
in class StructImpl
public Collection.Key[] keys()
keys
in interface Collection
keys
in class StructImpl
public Object get(Collection.Key key, Object defaultValue)
Collection
get
in interface Collection
get
in class StructImpl
key
- key of the value to getpublic Object get(Collection.Key key)
Collection
get
in interface Collection
get
in class StructImpl
key
- key of the value to get must be lower casepublic Iterator<Collection.Key> keyIterator()
keyIterator
in interface Iteratorable
keyIterator
in class StructImpl
public Iterator<String> keysAsStringIterator()
keysAsStringIterator
in interface Iteratorable
keysAsStringIterator
in class StructImpl
public Iterator<Map.Entry<Collection.Key,Object>> entryIterator()
entryIterator
in interface Iteratorable
entryIterator
in class StructImpl
public boolean isInitalized()
Scope
isInitalized
in interface Scope
public void initialize(PageContext pc)
Scope
initialize
in interface Scope
pc
- Page Contextpublic void release(PageContext pc)
Scope
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
toDumpData
in class StructSupport
public int getType()
getType
in interface Scope
getType
in class StructImpl
public String getTypeAsString()
getTypeAsString
in interface Scope
public boolean isScriptProtected()
isScriptProtected
in interface ScriptProtected
public void setScriptProtecting(ApplicationContext ac, boolean scriptProtecting)
ScriptProtected
setScriptProtecting
in interface ScriptProtected
Copyright © 2015 Lucee