ColdBox Platform Version 2.6.3

coldbox.system.services
Class RequestService

WEB-INF.cftags.component
        extended by coldbox.system.services.BaseService
            extended by coldbox.system.services.RequestService

public class RequestService
extends BaseService

This service takes care of preparing and creating request contexts. Facades to FORM and URL


Constructor Summary
init(any controller)
          Constructor
 
Method Summary
 void EventCachingTest(any context)
          Tests if the incoming context is an event cache
 boolean contextExists()
          Does the request context exist
private any createContext()
          Creates a new request context object
 any getContext()
          Get the Request Context from request scope or create a new one.
 struct getContextProperties()
          Get ContextProperties
private void initFORMURL()
          param form/url
private void loadProperties()
          Load the context properties
 any requestCapture()
          I capture an incoming request. Returns: coldbox.system.beans.requestContext
 void setContext(any Context)
          Set the Request Context
 
Methods inherited from class coldbox.system.services.BaseService
debug, getColdboxOCM, getUtil, getcontroller, setcontroller
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any controller)

Method Detail

EventCachingTest

public void EventCachingTest(any context)
Tests if the incoming context is an event cache

Parameters:
context - The request context to test for event caching.

contextExists

public boolean contextExists()
Does the request context exist


createContext

private any createContext()
Creates a new request context object


getContext

public any getContext()
Get the Request Context from request scope or create a new one.


getContextProperties

public struct getContextProperties()
Get ContextProperties


initFORMURL

private void initFORMURL()
param form/url


loadProperties

private void loadProperties()
Load the context properties


requestCapture

public any requestCapture()
I capture an incoming request. Returns: coldbox.system.beans.requestContext


setContext

public void setContext(any Context)
Set the Request Context

Parameters:
Context

ColdBox Platform Version 2.6.3