|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.frameworkSupertype
coldbox.system.interceptor
coldbox.system.interceptors.ses
public class ses
This is a ses support internceptor
Method Summary | |
---|---|
void |
Configure()
This is where the ses plugin configures itself. |
any |
addCourse(string pattern, [string handler], [string action], [boolean packageResolverExempt='false'], [string matchVariables])
Adds a route to dispatch |
private void |
checkForInvalidURL(any course, any script_name, any event)
Check for invalid URL's |
private Struct |
findCourse(any action, any event)
Figures out which course matches this request |
string |
getBaseURL()
Get BaseURL |
private string |
getCGIElement(string cgielement)
The cgi element facade method |
private string |
getDefaultFrameworkAction()
Get the default framework action |
boolean |
getUniqueURLs()
Get uniqueURLs |
Array |
get_courses()
Get _courses |
boolean |
getenabled()
Get enabled |
private any |
packageResolver(any routingString, any routeParams)
Resolve handler packages |
void |
preProcess(any event, struct interceptData)
This is the course dispatch |
private any |
routeToDestination(any course, any event)
Route to destination |
private string |
serializeURL([string formVars=''], any event)
Serialize a URL |
void |
setBaseURL(string baseURL)
Set the base URL for the application. |
void |
setEnabled(boolean enabled)
Set whether the interceptor is enabled or not. |
void |
setUniqueURLs(boolean uniqueURLs)
Set the uniqueURLs property |
void |
set_courses(Array _courses)
Set _courses |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Method Detail |
---|
public void Configure()
Configure
in class
interceptor
public any addCourse(string pattern, [string handler], [string action], [boolean packageResolverExempt='false'], [string matchVariables])
pattern
- The pattern to match against the URL.handler
- The handler to path to execute if passed.action
- The action to assign if passed.packageResolverExempt
- If this is set to true, then the interceptor will not try to do handler package resolving. Else a package will always be resolved.matchVariables
- A string of name-value pair variables to add to the request collection when this pattern matches. This is a comma delimmitted list. Ex: spaceFound=true,missingAction=onTestprivate void checkForInvalidURL(any course, any script_name, any event)
course
script_name
event
- The event object.private Struct findCourse(any action, any event)
action
- The action evaluated by the path_infoevent
- The event object.public string getBaseURL()
private string getCGIElement(string cgielement)
cgielement
- private string getDefaultFrameworkAction()
public boolean getUniqueURLs()
public Array get_courses()
public boolean getenabled()
private any packageResolver(any routingString, any routeParams)
routingString
- The routing stringrouteParams
- The route params arraypublic void preProcess(any event, struct interceptData)
preProcess
in class
interceptor
event
- The event object.interceptData
- interceptData of intercepted info.private any routeToDestination(any course, any event)
course
event
- The event object.private string serializeURL([string formVars=''], any event)
formVars
event
- The event object.public void setBaseURL(string baseURL)
baseURL
public void setEnabled(boolean enabled)
enabled
public void setUniqueURLs(boolean uniqueURLs)
uniqueURLs
public void set_courses(Array _courses)
_courses
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |