lucee.Component coldbox.system.web.services.BaseService coldbox.system.web.services.RequestService
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This service takes care of preparing and creating request contexts. Facades to FORM and URL
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
RequestService
|
buildFlashScope()
Build's the Flash RAM Scope as defined in the application spec. |
boolean
|
contextExists()
Does the request context exist in request scope. |
any
|
createContext([string classPath='coldbox.system.web.context.RequestContext'])
Creates a new request context object. |
RequestService
|
eventCachingTest(any context, [boolean fwCache='false'])
Tests if the incoming context is an event cache. |
any
|
getContext([string classPath='coldbox.system.web.context.RequestContext'])
Get the Request context from request scope or create a new one. |
any
|
getFlashScope()
Does the request context exist in request scope. |
any
|
onConfigurationLoad()
Once configuration loads. |
RequestService
|
rebuildFlashScope()
Rebuild's the Flash RAM Scope if the application spec has changed, else it ignores it. |
RequestService
|
removeContext()
Remove the context from scope. |
any
|
requestCapture()
I capture an incoming request. |
RequestService
|
setContext(any context)
Set the request context into the request scope. |
Methods inherited from class coldbox.system.web.services.BaseService |
---|
getController, onShutdown, setController |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
controller
Method Detail |
---|
Build's the Flash RAM Scope as defined in the application spec.
Does the request context exist in request scope
Creates a new request context object
classPath
Tests if the incoming context is an event cache
context
- The request context to test for event cachingfwCache
- Flag to hard purge the cache if neededGet the Request context from request scope or create a new one.
classPath
Does the request context exist in request scope
Once configuration loads
onConfigurationLoad
in class
BaseService
Rebuild's the Flash RAM Scope if the application spec has changed, else it ignores it
Remove the context from scope
I capture an incoming request. Returns: coldbox.system.web.context.RequestContext
Set the request context into the request scope
context
- Request Context object