railo-context.Component coldbox.system.web.services.BaseService coldbox.system.web.services.RequestService
This service takes care of preparing and creating request contexts. Facades to FORM and URL
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
any
|
buildFlashScope()
Build's the Flash RAM Scope as defined in the application spec. |
boolean
|
contextExists()
Does the request context exist. |
private any
|
createContext()
Creates a new request context object. |
void
|
eventCachingTest(any<RequestContext> context, [any<boolean> fwCache='false'])
Tests if the incoming context is an event cache. |
any
|
getContext()
Get the Request context from request scope or create a new one. |
any
|
getFlashScope()
Get the current running Flash Ram Scope of base type:coldbox. |
void
|
onConfigurationLoad()
|
any
|
rebuildFlashScope()
Rebuild's the Flash RAM Scope if the application spec has changed, else it ignores it. |
any
|
removeContext()
Remove the context from scope and return yourself. |
any<RequestContext>
|
requestCapture()
I capture an incoming request. |
any
|
setContext(any context)
Set the Request context. |
Methods inherited from class coldbox.system.web.services.BaseService |
---|
getController, onShutdown, setController |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
controller
- Coldbox controllerMethod Detail |
---|
Build's the Flash RAM Scope as defined in the application spec.
Does the request context exist
Creates a new request context object
Tests if the incoming context is an event cache
context
- The request context to test for event caching.fwCache
- If the fwCache command was detectedGet the Request context from request scope or create a new one.
Get the current running Flash Ram Scope of base type:coldbox.system.web.flash.AbstractFlashScope
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 and return yourself
I capture an incoming request. Returns: coldbox.system.web.context.RequestContext
Set the Request context
context