railo.runtime.type.scope
Class URLImpl
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.type.StructImpl
railo.runtime.type.scope.ScopeSupport
railo.runtime.type.scope.URLImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, Scope, ScriptProtected, URL, Sizeable, Struct
public final class URLImpl
- extends ScopeSupport
- implements URL, ScriptProtected
Implements URL Scope
- See Also:
- Serialized Form
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 |
Constructor Summary |
URLImpl()
Standart Constructor |
Methods inherited from class railo.runtime.type.StructImpl |
clear, containsKey, containsValue, copy, duplicate, entryIterator, equals, g, g, get, get, hashCode, keyIterator, keys, keysAsStringIterator, remove, removeEL, set, setEL, size, valueIterator, values |
Methods inherited from class railo.runtime.type.util.StructSupport |
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, toString |
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 |
URLImpl
public URLImpl()
- Standart Constructor
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface URL
- Returns:
- Returns the encoding.
setEncoding
public void setEncoding(ApplicationContext ac,
String encoding)
throws UnsupportedEncodingException
- Specified by:
setEncoding
in interface URL
- Parameters:
ac
- current ApplicationContextencoding
- The encoding to set.
- Throws:
UnsupportedEncodingException
initialize
public void initialize(PageContext pc)
- Description copied from interface:
Scope
- Initalize Scope
- Specified by:
initialize
in interface Scope
- Overrides:
initialize
in class ScopeSupport
- Parameters:
pc
- Page Context
release
public void release()
- Description copied from interface:
Scope
- release scope for reuse
- Specified by:
release
in interface Scope
- Overrides:
release
in class ScopeSupport
release
public void release(PageContext pc)
- Description copied from interface:
Scope
- release scope for reuse
- Specified by:
release
in interface Scope
- Overrides:
release
in class ScopeSupport
setScriptProtecting
public void setScriptProtecting(ApplicationContext ac,
boolean scriptProtected)
- Description copied from interface:
ScriptProtected
- transform the string values of the scope do a script protecting way
- Specified by:
setScriptProtecting
in interface ScriptProtected
- Specified by:
setScriptProtecting
in interface URL
isScriptProtected
public boolean isScriptProtected()
- Specified by:
isScriptProtected
in interface ScriptProtected
- Returns:
- returns if the values of the scope are already protected against cross site scripting
getRaw
public URLItem[] getRaw()
- Returns:
- the raw
Copyright © 2012 Railo