|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.PageContext
railo.runtime.PageContext
railo.runtime.PageContextImpl
public final class PageContextImpl
page context for every page object. the PageContext is a jsp page context expanded by CFML functionality. for example you have the method getSession to get jsp combatible session object (HTTPSession) and with sessionScope() you get CFML combatible session object (Struct,Scope).
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.PageContext |
---|
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE |
Constructor Summary | |
---|---|
PageContextImpl(ScopeContext scopeContext,
ConfigWebImpl config,
QueryCache queryCache,
int id,
javax.servlet.http.HttpServlet servlet)
default Constructor |
Method Summary | |
---|---|
DatasourceConnection |
_getConnection(DataSource ds,
String user,
String pass)
|
DatasourceConnection |
_getConnection(String datasource,
String user,
String pass)
|
void |
addPageSource(PageSource ps,
boolean alsoInclude)
adds a PageSource |
void |
addPageSource(PageSource ps,
PageSource psInc)
|
void |
addUDF(UDF udf)
|
Application |
applicationScope()
|
Argument |
argumentsScope()
|
Argument |
argumentsScope(boolean bind)
return the argument scope |
CGI |
cgiScope()
|
void |
clear()
clear the actuell output buffer |
void |
clearCatch()
clear all catches |
void |
clearRemoteUser()
clear the remote user |
Client |
clientScope()
|
Client |
clientScopeEL()
|
void |
close()
Close the response stream. |
Cluster |
clusterScope()
|
Cluster |
clusterScope(boolean create)
cluster scope |
void |
compile(PageSource pageSource)
compile a CFML Template |
void |
compile(String realPath)
compile a CFML Template |
Cookie |
cookieScope()
|
void |
copyStateTo(PageContextImpl other)
|
void |
doInclude(PageSource source)
includes a path from a absolute path |
void |
doInclude(PageSource[] sources,
boolean runOnce)
includes a path from a absolute path |
void |
doInclude(String realPath)
includes a path from a absolute path |
void |
doInclude(String realPath,
boolean runOnce)
includes a path from a absolute path |
Object |
evaluate(String expression)
evaluate given expression |
void |
execute(String realPath,
boolean throwExcpetion)
execute a request n the pageConext |
void |
execute(String realPath,
boolean throwExcpetion,
boolean onlyTopLevel)
|
void |
executeRest(String realPath,
boolean throwExcpetion)
|
void |
exeLogEnd(int position,
String id)
|
void |
exeLogStart(int position,
String id)
|
Object |
findAttribute(String name)
|
void |
flush()
Flush Content of buffer to the response stream of the Socket. |
void |
forceWrite(String str)
Writes a String to the Response Buffer,also when cfoutputonly is true and execution is outside of a cfoutput |
Form |
formScope()
|
void |
forward(String realPath)
|
Object |
get(Object coll,
Collection.Key key)
|
Object |
get(Object coll,
Collection.Key key,
Object defaultValue)
|
Object |
get(Object coll,
String key)
|
Object |
get(Object coll,
String key,
Object defaultValue)
|
Component |
getActiveComponent()
|
ActiveLock[] |
getActiveLocks()
|
ActiveQuery[] |
getActiveQueries()
|
UDF |
getActiveUDF()
|
ApplicationContext |
getApplicationContext()
|
Object |
getAttribute(String name)
|
Object |
getAttribute(String name,
int scope)
|
Enumeration |
getAttributeNamesInScope(int scope)
|
int |
getAttributesScope(String name)
|
PageSource |
getBase()
|
PageSource |
getBasePageSource()
|
PageException |
getCatch()
|
String |
getCFID()
|
CFMLFactory |
getCFMLFactory()
|
String |
getCFToken()
|
ClassLoader |
getClassLoader()
|
ClassLoader |
getClassLoader(Resource[] reses)
|
Object |
getCollection(Object coll,
Collection.Key key)
same like getProperty but return a collection object (QueryColumn) if return object is a Query |
Object |
getCollection(Object coll,
Collection.Key key,
Object defaultValue)
same like getProperty but return a collection object (QueryColumn) if return object is a Query |
Object |
getCollection(Object coll,
String key)
same like getProperty but return a collection object (QueryColumn) if return object is a Query |
Object |
getCollection(Object coll,
String key,
Object defaultValue)
same like getProperty but return a collection object (QueryColumn) if return object is a Query |
ConfigWeb |
getConfig()
|
int |
getCurrentLevel()
returns the current level, how deep is the page stack |
PageSource |
getCurrentPageSource()
|
javax.servlet.jsp.tagext.Tag |
getCurrentTag()
returns the tag that is in use |
PageSource |
getCurrentTemplatePageSource()
|
DataSource |
getDataSource(String datasource)
|
DataSource |
getDataSource(String datasource,
DataSource defaultValue)
|
DataSourceManager |
getDataSourceManager()
|
Debugger |
getDebugger()
return debugger of the page Context |
Exception |
getException()
|
int |
getExecutionTime()
|
FTPPool |
getFTPPool()
|
Object |
getFunction(Object coll,
Collection.Key key,
Object[] args)
call a UDF Function and return "return value" of the function |
Object |
getFunction(Object coll,
String key,
Object[] args)
call a UDF Function and return "return value" of the function |
Object |
getFunctionWithNamedValues(Object coll,
Collection.Key key,
Object[] args)
call a UDF Function and return "return value" of the function |
Object |
getFunctionWithNamedValues(Object coll,
String key,
Object[] args)
call a UDF Function and return "return value" of the function |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
return HttpServletRequest, getRequest only returns ServletRequest |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
return HttpServletResponse, getResponse only returns ServletResponse |
int |
getId()
|
Iterator |
getIterator(String key)
get variable from string definition and cast it to a Iterator Object |
String |
getJSessionId()
|
Locale |
getLocale()
|
ORMSession |
getORMSession(boolean create)
|
javax.servlet.jsp.JspWriter |
getOut()
|
Object |
getPage()
|
PageException |
getPageException()
|
PageSource |
getPageSource(String realPath)
|
PageSource |
getPageSourceExisting(String realPath)
|
List<PageSource> |
getPageSourceList()
|
PageSource[] |
getPageSources(String realPath)
|
PageContext |
getParentPageContext()
|
Resource |
getPhysical(String realPath,
boolean alsoDefaultMapping)
|
boolean |
getPsq()
returns if single quotes will be preserved inside a query tag (psq=preserve single quote) |
Query |
getQuery(Object value)
|
Query |
getQuery(String key)
get variable from string definition and cast it to a Query Object |
QueryCache |
getQueryCache()
|
Reference |
getReference(Object coll,
Collection.Key key)
|
Reference |
getReference(Object coll,
String key)
|
PageSource |
getRelativePageSource(String realPath)
|
PageSource |
getRelativePageSourceExisting(String realPath)
|
PageSource[] |
getRelativePageSources(String realPath)
|
Credential |
getRemoteUser()
|
javax.servlet.ServletRequest |
getRequest()
|
int |
getRequestId()
|
long |
getRequestTimeout()
|
javax.servlet.ServletResponse |
getResponse()
|
OutputStream |
getResponseStream()
|
CFMLWriter |
getRootOut()
|
Resource |
getRootTemplateDirectory()
|
javax.servlet.jsp.JspWriter |
getRootWriter()
|
ClassLoader |
getRPCClassLoader(boolean reload)
|
ScopeFactory |
getScopeFactory()
|
String |
getServerPassword()
|
javax.servlet.http.HttpServlet |
getServlet()
|
javax.servlet.ServletConfig |
getServletConfig()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSession |
getSession()
|
short |
getSessionType()
|
long |
getStartTime()
|
Array |
getTemplatePath()
array of current template stack |
Thread |
getThread()
|
Threads |
getThreadScope(Collection.Key name)
|
Object |
getThreadScope(Collection.Key name,
Object defaultValue)
|
Threads |
getThreadScope(String name)
|
Object |
getThreadScope(String name,
Object defaultValue)
|
String[] |
getThreadScopeNames()
|
TimeZone |
getTimeZone()
|
UDF[] |
getUDFs()
|
String |
getURLToken()
|
Object |
getVariable(String var)
|
VariableReference |
getVariableReference(String var)
a variable reference, references to variable, to modifed it, with global effect. |
VariableUtil |
getVariableUtil()
|
void |
handlePageException(Exception e)
|
void |
handlePageException(PageException pe)
specialised method for handlePageException with argument Exception or Throwable |
void |
handlePageException(Throwable t)
|
boolean |
hasFamily()
|
void |
include(PageSource ps)
|
void |
include(String realPath)
|
boolean |
initApplicationContext(ApplicationListener listener)
|
void |
initBody(javax.servlet.jsp.tagext.BodyTag bodyTag,
int state)
init body of a tag |
PageContextImpl |
initialize(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush,
boolean isChild)
initialize a existing page context |
void |
initialize(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse rsp,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
|
void |
invalidateUserScopes(boolean migrateSessionData,
boolean migrateClientData)
|
boolean |
isCFCRequest()
|
boolean |
isGatewayContext()
|
boolean |
isTrusted(Page page)
|
Component |
loadComponent(String compPath)
|
Object |
localGet()
|
Object |
localGet(boolean bind)
|
Local |
localScope()
|
Local |
localScope(boolean bind)
|
Object |
localTouch()
|
Object |
localTouch(boolean bind)
|
void |
outputEnd()
ends a cfoutput block |
void |
outputStart()
starts a cfoutput block |
void |
param(String type,
String name,
Object defaultValue)
|
void |
param(String type,
String name,
Object defaultValue,
double min,
double max)
|
void |
param(String type,
String name,
Object defaultValue,
int maxLength)
|
void |
param(String type,
String name,
Object defaultValue,
String regex)
|
javax.servlet.jsp.JspWriter |
popBody()
|
javax.servlet.jsp.tagext.BodyContent |
pushBody()
|
void |
release()
|
ActiveLock |
releaseActiveLock()
|
ActiveQuery |
releaseActiveQuery()
|
void |
releaseBody(javax.servlet.jsp.tagext.BodyTag bodyTag,
int state)
release body of a tag |
void |
removeAttribute(String name)
|
void |
removeAttribute(String name,
int scope)
|
void |
removeLastPageSource(boolean alsoInclude)
remove the last PageSource |
void |
removeUDF()
|
Object |
removeVariable(String var)
|
Request |
requestScope()
|
void |
reset()
|
void |
resetIdAndToken()
|
void |
resetSession()
|
void |
reuse(javax.servlet.jsp.tagext.Tag tag)
puts a tag back to pool |
Scope |
scope(int type)
returns matching scope |
Scope |
scope(String strScope,
Scope defaultValue)
|
String |
serialize(Object expression)
|
Server |
serverScope()
|
Session |
sessionScope()
|
Session |
sessionScope(boolean checkExpires)
|
Object |
set(Object coll,
Collection.Key key,
Object value)
set property at a collection object |
Object |
set(Object coll,
String key,
Object value)
set property at a collection object |
void |
setActiveLock(ActiveLock activeLock)
|
void |
setActiveQuery(ActiveQuery activeQuery)
|
void |
setActiveUDF(UDF activeUDF)
|
void |
setApplicationContext(ApplicationContext applicationContext)
|
void |
setAttribute(String name,
Object value)
|
void |
setAttribute(String name,
Object value,
int scope)
|
void |
setBase(PageSource base)
|
void |
setCatch(PageException pe)
|
void |
setCatch(PageException pe,
boolean caught,
boolean store)
|
PageException |
setCatch(Throwable t)
sets a excption |
void |
setCFOutputOnly(boolean boolEnablecfoutputonly)
sets state of cfoutput only |
void |
setCFOutputOnly(short enablecfoutputonly)
sets state of cfoutput only |
void |
setErrorPage(ErrorPage ep)
sets the error page |
void |
setExecutionTime(int executionTime)
|
void |
setFunctionScopes(Local local,
Argument argument)
|
void |
setGatewayContext(boolean gatewayContext)
|
void |
setHeader(String name,
String value)
write a value to the header of the response |
void |
setLocale(Locale locale)
|
void |
setLocale(String strLocale)
|
void |
setPageUsed(Page page)
|
void |
setPsq(boolean psq)
sets if inside a query tag single quote will be preserved (preserve single quote) |
void |
setRemoteUser(Credential remoteUser)
|
void |
setRequestTimeout(long requestTimeout)
|
void |
setServerPassword(String serverPassword)
|
boolean |
setSilent()
sets the pagecontext silent |
void |
setThread(Thread thread)
|
void |
setThreadScope(Collection.Key name,
Threads ct)
|
void |
setThreadScope(String name,
Threads ct)
set a thread to the context |
void |
setTimeZone(TimeZone timeZone)
|
Object |
setVariable(String var,
Object value)
sets a value by string syntax ("scopename.key.key" -> "url.name") |
void |
setVariablesScope(Variables variables)
set a other variable scope |
long |
sizeOf()
return the size of the object |
Scope |
SymTab_findBuiltinScope(String name)
|
Object |
thisGet()
|
Object |
thisTouch()
|
void |
throwCatch()
return throwed exception |
PageSource |
toPageSource(Resource res,
PageSource defaultValue)
|
Object |
touch(Object coll,
Collection.Key key)
touch a new property, if property doesn't existset a Struct, otherwise do nothing |
Object |
touch(Object coll,
String key)
touch a new property, if property doesn't existset a Struct, otherwise do nothing |
Undefined |
undefinedScope()
|
boolean |
unsetSilent()
unsets the pagecontext silent |
URLForm |
urlFormScope()
|
URL |
urlScope()
|
Undefined |
us()
|
javax.servlet.jsp.tagext.Tag |
use(Class clazz)
returns a tag from tag handler pool |
javax.servlet.jsp.tagext.Tag |
use(String tagClassName)
returns a tag from tag handler pool |
boolean |
useSpecialMappings()
|
boolean |
useSpecialMappings(boolean useTagMappings)
|
Variables |
variablesScope()
|
void |
write(String str)
Writes a String to the Response Buffer |
void |
writePSQ(Object o)
Writes a String to the Response Buffer,also when cfoutputonly is true and execution is outside of a cfoutput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageContextImpl(ScopeContext scopeContext, ConfigWebImpl config, QueryCache queryCache, int id, javax.servlet.http.HttpServlet servlet)
factoryImpl
- scopeContext
- config
- Configuration of the CFML Containercompiler
- CFML CompilerqueryCache
- Query Cache Objectid
- identity of the pageContextMethod Detail |
---|
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
public void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest req, javax.servlet.ServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException
initialize
in class javax.servlet.jsp.PageContext
IOException
IllegalStateException
IllegalArgumentException
public PageContextImpl initialize(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush, boolean isChild)
servlet
- req
- rsp
- errorPageURL
- needsSession
- bufferSize
- autoFlush
- public void release()
release
in class javax.servlet.jsp.PageContext
public void write(String str) throws IOException
PageContext
write
in class PageContext
IOException
public void forceWrite(String str) throws IOException
PageContext
forceWrite
in class PageContext
IOException
public void writePSQ(Object o) throws IOException, PageException
PageContext
writePSQ
in class PageContext
IOException
PageException
public void flush()
PageContext
flush
in class PageContext
public void close()
PageContext
close
in class PageContext
public PageSource getRelativePageSource(String realPath)
public PageSource getRelativePageSourceExisting(String realPath)
public PageSource[] getRelativePageSources(String realPath)
public PageSource getPageSource(String realPath)
public PageSource[] getPageSources(String realPath)
public PageSource getPageSourceExisting(String realPath)
public boolean useSpecialMappings(boolean useTagMappings)
public boolean useSpecialMappings()
public Resource getPhysical(String realPath, boolean alsoDefaultMapping)
public PageSource toPageSource(Resource res, PageSource defaultValue)
toPageSource
in class PageContext
public void doInclude(String realPath) throws PageException
PageContext
doInclude
in class PageContext
realPath
- absolute path as file object
PageException
public void doInclude(String realPath, boolean runOnce) throws PageException
PageContext
doInclude
in class PageContext
realPath
- absolute path as file objectrunOnce
- include only once per request
PageException
public void doInclude(PageSource source) throws PageException
PageContext
doInclude
in class PageContext
source
- absolute path as file object
PageException
public void doInclude(PageSource[] sources, boolean runOnce) throws PageException
PageContext
doInclude
in class PageContext
sources
- absolute path as file objectrunOnce
- include only once per request
PageException
public Array getTemplatePath() throws PageException
PageContext
getTemplatePath
in class PageContext
PageException
public List<PageSource> getPageSourceList()
public void copyStateTo(PageContextImpl other)
public int getCurrentLevel()
PageContext
getCurrentLevel
in class PageContext
public PageSource getCurrentPageSource()
getCurrentPageSource
in class PageContext
public PageSource getCurrentTemplatePageSource()
getCurrentTemplatePageSource
in class PageContext
public PageSource getBasePageSource()
getBasePageSource
in class PageContext
public Resource getRootTemplateDirectory()
getRootTemplateDirectory
in class PageContext
public Scope scope(int type) throws PageException
PageContext
scope
in class PageContext
type
- type of scope (Scope.xx)
PageException
public Scope scope(String strScope, Scope defaultValue) throws PageException
PageException
public Undefined undefinedScope()
undefinedScope
in class PageContext
public Undefined us()
us
in class PageContext
public Variables variablesScope()
variablesScope
in class PageContext
public URL urlScope()
urlScope
in class PageContext
public Form formScope()
formScope
in class PageContext
public URLForm urlFormScope()
urlFormScope
in class PageContext
public Request requestScope()
requestScope
in class PageContext
public CGI cgiScope()
cgiScope
in class PageContext
public Application applicationScope() throws PageException
applicationScope
in class PageContext
PageException
public Argument argumentsScope()
argumentsScope
in class PageContext
public Argument argumentsScope(boolean bind)
PageContext
argumentsScope
in class PageContext
bind
- indicate that the Argument Scope is binded for using outsite of the udf
public Local localScope()
localScope
in class PageContext
public Local localScope(boolean bind)
localScope
in class PageContext
public Object localGet() throws PageException
localGet
in class PageContext
PageException
public Object localGet(boolean bind) throws PageException
localGet
in class PageContext
PageException
public Object localTouch() throws PageException
localTouch
in class PageContext
PageException
public Object localTouch(boolean bind) throws PageException
localTouch
in class PageContext
PageException
public Object thisGet() throws PageException
PageException
public Object thisTouch() throws PageException
PageException
public void setFunctionScopes(Local local, Argument argument)
setFunctionScopes
in class PageContext
local
- sets the current local scopeargument
- sets the current argument scopepublic Session sessionScope() throws PageException
sessionScope
in class PageContext
PageException
public Session sessionScope(boolean checkExpires) throws PageException
PageException
public void invalidateUserScopes(boolean migrateSessionData, boolean migrateClientData) throws PageException
PageException
public Server serverScope()
serverScope
in class PageContext
public void reset()
public Cluster clusterScope() throws PageException
clusterScope
in class PageContext
PageException
public Cluster clusterScope(boolean create) throws PageException
PageContext
clusterScope
in class PageContext
create
- return null when false and scope does not exist
PageException
public Cookie cookieScope()
cookieScope
in class PageContext
public Client clientScope() throws PageException
clientScope
in class PageContext
PageException
public Client clientScopeEL()
clientScopeEL
in class PageContext
public Object set(Object coll, String key, Object value) throws PageException
PageContext
set
in class PageContext
coll
- Collection Object (Collection, HashMap aso.)key
- key of the new valuevalue
- new Value
PageException
public Object set(Object coll, Collection.Key key, Object value) throws PageException
PageContext
set
in class PageContext
coll
- Collection Object (Collection, HashMap aso.)key
- key of the new valuevalue
- new Value
PageException
public Object touch(Object coll, String key) throws PageException
PageContext
touch
in class PageContext
coll
- Collection Objectkey
- key to touch
PageException
public Object touch(Object coll, Collection.Key key) throws PageException
PageContext
touch
in class PageContext
coll
- Collection Objectkey
- key to touch
PageException
public Object getCollection(Object coll, String key) throws PageException
PageContext
getCollection
in class PageContext
coll
- Collection Objectkey
- key to touch
PageException
public Object getCollection(Object coll, Collection.Key key) throws PageException
PageContext
getCollection
in class PageContext
coll
- Collection Objectkey
- key to touch
PageException
public Object getCollection(Object coll, String key, Object defaultValue)
PageContext
getCollection
in class PageContext
coll
- Collection Objectkey
- key to touch
public Object getCollection(Object coll, Collection.Key key, Object defaultValue)
PageContext
getCollection
in class PageContext
coll
- Collection Objectkey
- key to touch
public Object get(Object coll, String key) throws PageException
get
in class PageContext
coll
- Collection to get valuekey
- key of the value
PageException
public Object get(Object coll, Collection.Key key) throws PageException
get
in class PageContext
coll
- Collection to get valuekey
- key of the value
PageException
public Reference getReference(Object coll, String key) throws PageException
getReference
in class PageContext
coll
- Collection to get valuekey
- key of the value
PageException
public Reference getReference(Object coll, Collection.Key key) throws PageException
getReference
in class PageContext
coll
- Collection to get valuekey
- key of the value
PageException
public Object get(Object coll, String key, Object defaultValue)
get
in class PageContext
coll
- Collection to get valuekey
- key of the value
public Object get(Object coll, Collection.Key key, Object defaultValue)
get
in class PageContext
coll
- Collection to get valuekey
- key of the value
public Object setVariable(String var, Object value) throws PageException
PageContext
setVariable
in class PageContext
var
- Variable String name to setvalue
- value to set
PageException
public Object getVariable(String var) throws PageException
getVariable
in class PageContext
var
- variable name to get
PageException
public void param(String type, String name, Object defaultValue, String regex) throws PageException
param
in class PageContext
PageException
public void param(String type, String name, Object defaultValue, double min, double max) throws PageException
param
in class PageContext
PageException
public void param(String type, String name, Object defaultValue, int maxLength) throws PageException
param
in class PageContext
PageException
public void param(String type, String name, Object defaultValue) throws PageException
param
in class PageContext
PageException
public Object removeVariable(String var) throws PageException
removeVariable
in class PageContext
var
- variable name to get
PageException
public VariableReference getVariableReference(String var) throws PageException
var
- variable name to get
PageException
public Object getFunction(Object coll, String key, Object[] args) throws PageException
PageContext
getFunction
in class PageContext
coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the function
PageException
public Object getFunction(Object coll, Collection.Key key, Object[] args) throws PageException
PageContext
getFunction
in class PageContext
coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the function
PageException
public Object getFunctionWithNamedValues(Object coll, String key, Object[] args) throws PageException
PageContext
getFunctionWithNamedValues
in class PageContext
coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the function
PageException
public Object getFunctionWithNamedValues(Object coll, Collection.Key key, Object[] args) throws PageException
PageContext
getFunctionWithNamedValues
in class PageContext
coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the function
PageException
public ConfigWeb getConfig()
getConfig
in class PageContext
public Iterator getIterator(String key) throws PageException
PageContext
getIterator
in class PageContext
key
- Variable Name to get
PageException
public Query getQuery(String key) throws PageException
PageContext
getQuery
in class PageContext
key
- Variable Name to get
PageException
public Query getQuery(Object value) throws PageException
getQuery
in class PageContext
PageException
public void setAttribute(String name, Object value)
setAttribute
in class javax.servlet.jsp.PageContext
public void setAttribute(String name, Object value, int scope)
setAttribute
in class javax.servlet.jsp.PageContext
public Object getAttribute(String name)
getAttribute
in class javax.servlet.jsp.PageContext
public Object getAttribute(String name, int scope)
getAttribute
in class javax.servlet.jsp.PageContext
public Object findAttribute(String name)
findAttribute
in class javax.servlet.jsp.PageContext
public void removeAttribute(String name)
removeAttribute
in class javax.servlet.jsp.PageContext
public void removeAttribute(String name, int scope)
removeAttribute
in class javax.servlet.jsp.PageContext
public int getAttributesScope(String name)
getAttributesScope
in class javax.servlet.jsp.PageContext
public Enumeration getAttributeNamesInScope(int scope)
getAttributeNamesInScope
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.JspWriter getOut()
getOut
in class javax.servlet.jsp.PageContext
public javax.servlet.http.HttpSession getSession()
getSession
in class javax.servlet.jsp.PageContext
public Object getPage()
getPage
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.jsp.PageContext
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
PageContext
getHttpServletRequest
in class PageContext
public javax.servlet.ServletResponse getResponse()
getResponse
in class javax.servlet.jsp.PageContext
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
PageContext
getHttpServletResponse
in class PageContext
public OutputStream getResponseStream() throws IOException
getResponseStream
in class PageContext
IOException
public Exception getException()
getException
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletContext getServletContext()
getServletContext
in class javax.servlet.jsp.PageContext
public void handlePageException(PageException pe)
PageContext
handlePageException
in class PageContext
pe
- Page Exceptionpublic void handlePageException(Exception e)
handlePageException
in class javax.servlet.jsp.PageContext
public void handlePageException(Throwable t)
handlePageException
in class javax.servlet.jsp.PageContext
public void setHeader(String name, String value)
PageContext
setHeader
in class PageContext
name
- name of the value to setvalue
- value to setpublic javax.servlet.jsp.tagext.BodyContent pushBody()
pushBody
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.JspWriter popBody()
popBody
in class javax.servlet.jsp.PageContext
public void outputStart()
PageContext
outputStart
in class PageContext
public void outputEnd()
PageContext
outputEnd
in class PageContext
public void setCFOutputOnly(boolean boolEnablecfoutputonly)
PageContext
setCFOutputOnly
in class PageContext
public void setCFOutputOnly(short enablecfoutputonly)
PageContext
setCFOutputOnly
in class PageContext
public boolean setSilent()
PageContext
setSilent
in class PageContext
public boolean unsetSilent()
PageContext
unsetSilent
in class PageContext
public Debugger getDebugger()
PageContext
getDebugger
in class PageContext
public void executeRest(String realPath, boolean throwExcpetion) throws PageException
executeRest
in class PageContext
PageException
public void execute(String realPath, boolean throwExcpetion) throws PageException
PageContext
execute
in class PageContext
PageException
public void execute(String realPath, boolean throwExcpetion, boolean onlyTopLevel) throws PageException
PageException
public void include(String realPath) throws javax.servlet.ServletException, IOException
include
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void forward(String realPath) throws javax.servlet.ServletException, IOException
forward
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void include(PageSource ps) throws javax.servlet.ServletException
javax.servlet.ServletException
public void clear()
PageContext
clear
in class PageContext
public long getRequestTimeout()
getRequestTimeout
in class PageContext
public void setRequestTimeout(long requestTimeout)
setRequestTimeout
in class PageContext
requestTimeout
- The requestTimeout to set.public String getCFID()
getCFID
in class PageContext
public String getCFToken()
getCFToken
in class PageContext
public String getURLToken()
getURLToken
in class PageContext
public String getJSessionId()
getJSessionId
in class PageContext
public void resetIdAndToken()
public int getId()
getId
in class PageContext
public CFMLWriter getRootOut()
public javax.servlet.jsp.JspWriter getRootWriter()
getRootWriter
in class PageContext
public Locale getLocale()
getLocale
in class PageContext
public void setPsq(boolean psq)
PageContext
setPsq
in class PageContext
psq
- sets preserve single quote for querypublic boolean getPsq()
PageContext
getPsq
in class PageContext
public void setLocale(Locale locale)
setLocale
in class PageContext
public void setLocale(String strLocale) throws ExpressionException
setLocale
in class PageContext
strLocale
- The locale to set as String.
ExpressionException
public void setErrorPage(ErrorPage ep)
PageContext
setErrorPage
in class PageContext
public javax.servlet.jsp.tagext.Tag use(String tagClassName) throws PageException
PageContext
use
in class PageContext
PageException
public javax.servlet.jsp.tagext.Tag use(Class clazz) throws PageException
PageContext
use
in class PageContext
clazz
- class to load from ta handler pool
PageException
public void reuse(javax.servlet.jsp.tagext.Tag tag) throws PageException
PageContext
reuse
in class PageContext
tag
- tags to puts back
PageException
public QueryCache getQueryCache()
getQueryCache
in class PageContext
public void initBody(javax.servlet.jsp.tagext.BodyTag bodyTag, int state) throws javax.servlet.jsp.JspException
PageContext
initBody
in class PageContext
javax.servlet.jsp.JspException
public void releaseBody(javax.servlet.jsp.tagext.BodyTag bodyTag, int state)
PageContext
releaseBody
in class PageContext
public void setVariablesScope(Variables variables)
PageContext
setVariablesScope
in class PageContext
public Component getActiveComponent()
getActiveComponent
in class PageContext
public Credential getRemoteUser() throws PageException
getRemoteUser
in class PageContext
PageException
public void clearRemoteUser()
PageContext
clearRemoteUser
in class PageContext
public void setRemoteUser(Credential remoteUser)
setRemoteUser
in class PageContext
remoteUser
- The remoteUser to set.public VariableUtil getVariableUtil()
getVariableUtil
in class PageContext
public void throwCatch() throws PageException
PageContext
throwCatch
in class PageContext
PageException
public PageException setCatch(Throwable t)
PageContext
setCatch
in class PageContext
public void setCatch(PageException pe)
setCatch
in class PageContext
public void setCatch(PageException pe, boolean caught, boolean store)
setCatch
in class PageContext
public PageException getCatch()
getCatch
in class PageContext
public void clearCatch()
PageContext
clearCatch
in class PageContext
public void addPageSource(PageSource ps, boolean alsoInclude)
PageContext
addPageSource
in class PageContext
public void addPageSource(PageSource ps, PageSource psInc)
public void removeLastPageSource(boolean alsoInclude)
PageContext
removeLastPageSource
in class PageContext
public UDF[] getUDFs()
public void addUDF(UDF udf)
public void removeUDF()
public FTPPool getFTPPool()
getFTPPool
in class PageContext
public ApplicationContext getApplicationContext()
getApplicationContext
in class PageContext
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext
in class PageContext
applicationContext
- The applicationContext to set.public boolean initApplicationContext(ApplicationListener listener) throws PageException
PageException
public ScopeFactory getScopeFactory()
public javax.servlet.jsp.tagext.Tag getCurrentTag()
PageContext
getCurrentTag
in class PageContext
public long getStartTime()
getStartTime
in class PageContext
public Thread getThread()
getThread
in class PageContext
public void setThread(Thread thread)
public int getExecutionTime()
getExecutionTime
in class PageContext
public void setExecutionTime(int executionTime)
setExecutionTime
in class PageContext
executionTime
- The executionTime to set.public void compile(PageSource pageSource) throws PageException
PageContext
compile
in class PageContext
PageException
public void compile(String realPath) throws PageException
PageContext
compile
in class PageContext
PageException
public javax.servlet.http.HttpServlet getServlet()
public Component loadComponent(String compPath) throws PageException
loadComponent
in class PageContext
PageException
public PageSource getBase()
public void setBase(PageSource base)
base
- the base to setpublic boolean isCFCRequest()
isCFCRequest
in class PageContext
public DataSourceManager getDataSourceManager()
getDataSourceManager
in class PageContext
public Object evaluate(String expression) throws PageException
PageContext
evaluate
in class PageContext
expression
- expression to evaluate
PageException
public String serialize(Object expression) throws PageException
serialize
in class PageContext
PageException
public UDF getActiveUDF()
getActiveUDF
in class PageContext
public void setActiveUDF(UDF activeUDF)
activeUDF
- the activeUDF to setpublic CFMLFactory getCFMLFactory()
getCFMLFactory
in class PageContext
public PageContext getParentPageContext()
getParentPageContext
in class PageContext
public String[] getThreadScopeNames()
getThreadScopeNames
in class PageContext
public Threads getThreadScope(String name)
getThreadScope
in class PageContext
public Threads getThreadScope(Collection.Key name)
getThreadScope
in class PageContext
public Object getThreadScope(Collection.Key name, Object defaultValue)
public Object getThreadScope(String name, Object defaultValue)
public void setThreadScope(String name, Threads ct)
PageContext
setThreadScope
in class PageContext
public void setThreadScope(Collection.Key name, Threads ct)
setThreadScope
in class PageContext
public boolean hasFamily()
hasFamily
in class PageContext
public DatasourceConnection _getConnection(String datasource, String user, String pass) throws PageException
PageException
public DatasourceConnection _getConnection(DataSource ds, String user, String pass) throws PageException
PageException
public TimeZone getTimeZone()
getTimeZone
in class PageContext
public void setTimeZone(TimeZone timeZone)
setTimeZone
in class PageContext
public int getRequestId()
public boolean isTrusted(Page page)
public void setPageUsed(Page page)
public void exeLogStart(int position, String id)
exeLogStart
in class PageContext
public void exeLogEnd(int position, String id)
exeLogEnd
in class PageContext
public ORMSession getORMSession(boolean create) throws PageException
create
- if set to true, railo creates a session when not exist
PageException
public ClassLoader getClassLoader() throws IOException
IOException
public ClassLoader getClassLoader(Resource[] reses) throws IOException
IOException
public ClassLoader getRPCClassLoader(boolean reload) throws IOException
IOException
public void resetSession()
public boolean isGatewayContext()
public void setGatewayContext(boolean gatewayContext)
gatewayContext
- the gatewayContext to setpublic void setServerPassword(String serverPassword)
public String getServerPassword()
public short getSessionType()
getSessionType
in class PageContext
public Scope SymTab_findBuiltinScope(String name) throws PageException
PageException
public DataSource getDataSource(String datasource) throws PageException
PageException
public DataSource getDataSource(String datasource, DataSource defaultValue)
public void setActiveQuery(ActiveQuery activeQuery)
public ActiveQuery[] getActiveQueries()
public ActiveQuery releaseActiveQuery()
public void setActiveLock(ActiveLock activeLock)
public ActiveLock[] getActiveLocks()
public ActiveLock releaseActiveLock()
public PageException getPageException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |