ColdBox Platform Version 2.6.3

coldbox.system
Class testcontroller

WEB-INF.cftags.component
        extended by coldbox.system.controller
            extended by coldbox.system.testcontroller

public class testcontroller
extends controller

This is the ColdBox Unit Test Front Controller.


Method Summary
 void setNextEvent([string event='[runtime expression]'], [string queryString=''], [boolean addToken='false'], [string persist=''], [struct varStruct='[runtime expression]'], [boolean ssl='false'], [string baseURL=''])
          I Set the next event to run and relocate the browser to that event.
 void setNextRoute(string route, [string persist=''], [struct varStruct='[runtime expression]'], [boolean addToken='false'], [boolean ssl='false'])
          I Set the next ses route to relocate to. This method pre-pends the baseURL
 
Methods inherited from class coldbox.system.controller
getAppHash, getAppRootPath, getAppStartHandlerFired, getAspectsInitiated, getColdboxInitiated, getColdboxOCM, getColdboxSettings, getConfigSettings, getDebuggerService, getExceptionService, getHandlerService, getLoaderService, getPlugin, getPluginService, getRequestService, getService, getSetting, getSettingStructure, getUtil, getinterceptorService, init, persistVariables, pushTimers, runEvent, setAppHash, setAppRootPath, setAppStartHandlerFired, setAspectsInitiated, setColdboxInitiated, setColdboxOCM, setColdboxSettings, setConfigSettings, setDebuggerService, setHandlerService, setLoaderService, setPluginService, setRequestService, setSetting, setinterceptorService, settingExists
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

setNextEvent

Public void setNextEvent([string event='[runtime expression]'], [string queryString=''], [boolean addToken='false'], [string persist=''], [struct varStruct='[runtime expression]'], [boolean ssl='false'], [string baseURL=''])
I Set the next event to run and relocate the browser to that event.

Overrides:
setNextEvent in class controller
Parameters:
event - The name of the event to run.
queryString - The query string to append, if needed.
addToken - Wether to add the tokens or not. Default is false
persist - What request collection keys to persist in the relocation
varStruct - A structure key-value pairs to persist.
ssl - Whether to relocate in SSL or not, only used when in SES mode.
baseURL - Use this baseURL instead of the index.cfm that is used by default. You can use this for ssl or any full base url you would like to use. Ex: https://mysite.com/index.cfm

setNextRoute

Public void setNextRoute(string route, [string persist=''], [struct varStruct='[runtime expression]'], [boolean addToken='false'], [boolean ssl='false'])
I Set the next ses route to relocate to. This method pre-pends the baseURL

Overrides:
setNextRoute in class controller
Parameters:
route - The route to relocate to, do not prepend the baseURL or /.
persist - What request collection keys to persist in the relocation
varStruct - A structure key-value pairs to persist.
addToken - Wether to add the tokens or not. Default is false
ssl - Whether to relocate in SSL or not

ColdBox Platform Version 2.6.3