|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.system.FrameworkSupertype
coldbox.system.Interceptor
public class Interceptor
This is the base Interceptor class
| Constructor Summary | |
|---|---|
init(any controller, struct properties)
|
|
| Method Summary | |
|---|---|
void |
Configure()
This is the configuration method for your interceptors |
void |
appendToBuffer(string 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 |
InterceptorService |
getInterceptorService()
|
any |
getProperty(string property)
Get a property, throws exception if not found |
struct |
getproperties()
Get properties |
boolean |
propertyExists(string property)
Checks wether a given property exists or not |
void |
setProperty(string property, any value)
Set a property |
void |
setproperties(struct properties)
Set properties |
boolean |
unregister(string state)
Unregister this interceptor from a passed state |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any controller, struct properties)
controller - The ColdBox controller reference: coldbox.system.web.Controllerproperties - The Interceptor properties| Method Detail |
|---|
public void Configure()
public void appendToBuffer(string str)
str - The string to appendpublic any clearBuffer()
public any getBufferObject()
public any getBufferString()
public InterceptorService getInterceptorService()
public any getProperty(string property)
property - The key of the property to return.public struct getproperties()
public boolean propertyExists(string property)
property - The property namepublic void setProperty(string property, any value)
property - The property name to set.value - The value of the property.public void setproperties(struct properties)
propertiespublic boolean unregister(string state)
state - The named state to unregister this interceptor from
|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||