WEB-INF.cftags.component coldbox.system.FrameworkSupertype coldbox.system.Interceptor
This is the base Interceptor class
Constructor Summary | |
---|---|
init(any<Controller> controller, any<struct> properties)
|
Method Summary | |
---|---|
void
|
Configure()
This is the configuration method for your interceptors. |
void
|
appendToBuffer(any str)
Append to the interceptor buffer. |
any
|
clearBuffer()
Clear the interceptor buffer. |
any
|
getBufferObject()
Get the request buffer object: coldbox. |
any
|
getBufferString()
Get the string representation of the buffer. |
any<InterceptorService>
|
getInterceptorService()
|
struct
|
getProperties()
Get the entire properties structure. |
any
|
getProperty(any property)
Get an interceptor property, throws exception if not found. |
boolean
|
propertyExists(any property)
Checks wether a given interceptor property exists or not. |
void
|
setProperties(struct properties)
Set the entire properties structure. |
void
|
setProperty(any property, any value)
Set an interceptor property. |
boolean
|
unregister(any state)
Unregister this interceptor from a passed state. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
controller
- The ColdBox controller reference: coldbox.system.web.Controllerproperties
- The Interceptor propertiesMethod Detail |
---|
This is the configuration method for your interceptors. THIS IS EXECUTED BEFORE THE ASPECTS ARE LOADED.
Append to the interceptor buffer.
str
- The string to appendClear the interceptor buffer
Get the request buffer object: coldbox.system.core.util.RequestBuffer
Get the string representation of the buffer
Get the entire properties structure
Get an interceptor property, throws exception if not found.
property
- The key of the property to return.Checks wether a given interceptor property exists or not.
property
- The property nameSet the entire properties structure
properties
Set an interceptor property
property
- The property name to set.value
- The value of the property.Unregister this interceptor from a passed state. If the state does not exists, it returns false
state
- The named state to unregister this interceptor from