public final class FormImpl extends ScopeSupport implements Form, 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 |
---|
FormImpl()
standart class Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRaw(ApplicationContext ac,
URLItem[] raw) |
String |
getEncoding() |
FormItem[] |
getFileItems() |
org.apache.commons.fileupload.disk.DiskFileItem |
getFileUpload(String key) |
PageException |
getInitException() |
javax.servlet.ServletInputStream |
getInputStream() |
URLItem[] |
getRaw() |
FormItem |
getUploadResource(String key) |
void |
initialize(PageContext pc)
Initalize Scope
|
boolean |
isScriptProtected() |
void |
reinitialize(ApplicationContext ac) |
void |
release()
release scope for reuse
|
void |
release(PageContext pc)
release scope for reuse
|
void |
setEncoding(ApplicationContext ac,
String encoding) |
void |
setScriptProtecting(ApplicationContext ac,
boolean scriptProtected)
transform the string values of the scope do a script protecting way
|
_getId, getType, getTypeAsString, isInitalized, sizeOf, toDumpData, toDumpData
clear, containsKey, containsValue, copy, duplicate, entryIterator, equals, g, g, get, get, hashCode, keyIterator, keys, keysAsStringIterator, remove, remove, removeEL, set, setEL, size, 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, toString
getType, getTypeAsString, isInitalized
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
toDumpData
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public FormImpl()
public String getEncoding()
getEncoding
in interface Form
public void setEncoding(ApplicationContext ac, String encoding) throws UnsupportedEncodingException
setEncoding
in interface Form
ac
- current ApplicationContextencoding
- The encoding to set.UnsupportedEncodingException
public void initialize(PageContext pc)
Scope
initialize
in interface Scope
initialize
in class ScopeSupport
pc
- Page Contextpublic void release()
Scope
release
in interface Scope
release
in class ScopeSupport
public void release(PageContext pc)
Scope
release
in interface Scope
release
in class ScopeSupport
public FormItem[] getFileItems()
getFileItems
in interface Form
public org.apache.commons.fileupload.disk.DiskFileItem getFileUpload(String key)
public FormItem getUploadResource(String key)
getUploadResource
in interface Form
public PageException getInitException()
getInitException
in interface Form
public void setScriptProtecting(ApplicationContext ac, boolean scriptProtected)
ScriptProtected
setScriptProtecting
in interface Form
setScriptProtecting
in interface ScriptProtected
public void reinitialize(ApplicationContext ac)
public boolean isScriptProtected()
isScriptProtected
in interface ScriptProtected
public void addRaw(ApplicationContext ac, URLItem[] raw)
public javax.servlet.ServletInputStream getInputStream()
getInputStream
in interface Form
Copyright © 2015 Lucee