|
ColdBox Platform v3.8.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.web.services.BaseService
coldbox.system.web.services.RequestService
public class 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 |
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 |
---|
convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onShutdown, setController
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any controller)
controller
- Coldbox controllerMethod Detail |
---|
public any buildFlashScope()
public boolean contextExists()
private any createContext()
public void eventCachingTest(any<RequestContext> context, [any<boolean> fwCache='false'])
context
- The request context to test for event caching.fwCache
- If the fwCache command was detectedpublic any getContext()
public any getFlashScope()
public void onConfigurationLoad()
onConfigurationLoad
in class
BaseService
public any removeContext()
public any<RequestContext> requestCapture()
public any setContext(any context)
context
|
ColdBox Platform v3.8.0 | ||||
FRAMES |