lucee.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Interceptor
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- Base class for all interceptors
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cachebox
|
true
|
false
|
|
any
|
controller
|
true
|
false
|
|
any
|
flash
|
true
|
false
|
|
coldbox.system.services.InterceptorService
|
interceptorService
|
true
|
false
|
|
any
|
log
|
true
|
false
|
|
any
|
logBox
|
true
|
false
|
|
struct
|
properties
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
Constructor Summary | |
---|---|
init(any controller, [struct properties='[runtime expression]'])
Constructor. |
Method Summary | |
---|---|
any
|
cbLoadInterceptorHelpers([any event], [any interceptData])
Internal ColdBox event so all interceptors can load their UDF helpers. |
void
|
configure()
Configuration method for the interceptor. |
string
|
getCachebox()
|
string
|
getFlash()
|
string
|
getInterceptorService()
|
string
|
getLog()
|
string
|
getLogBox()
|
struct
|
getProperties()
Get the struct of properties defined in this interceptor. |
any
|
getProperty(any property, [any defaultValue])
Get an interceptor property. |
string
|
getWirebox()
|
boolean
|
propertyExists(any property)
Verify an interceptor property exists. |
any
|
setCachebox(any cachebox)
|
any
|
setFlash(any flash)
|
any
|
setInterceptorService(coldbox.system.services.InterceptorService interceptorService)
|
any
|
setLog(any log)
|
any
|
setLogBox(any logBox)
|
any
|
setProperties(struct properties)
|
any
|
setProperty(any property, any value)
Store an interceptor property. |
any
|
setWirebox(any wirebox)
|
any
|
unregister(any state)
Unregister the interceptor from the state passed. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
controller
- The ColdBox controllerproperties
- The properties to init the Interceptor withProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Internal ColdBox event so all interceptors can load their UDF helpers DO NOT OVERRIDE or funky things will happen!
event
interceptData
Configuration method for the interceptor
Get the struct of properties defined in this interceptor
Get an interceptor property
property
- The property to retrievedefaultValue
- The default value to return if property does not existVerify an interceptor property exists
property
- The property to checkcachebox
flash
interceptorService
log
logBox
properties
Store an interceptor property
property
- The property to storevalue
- The value to storewirebox
Unregister the interceptor from the state passed
state
- The named state to unregister this interceptor from