Class GetPageContext

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.web.bifs.GetPageContext

@BoxBIF public class GetPageContext extends ortus.boxlang.runtime.bifs.BIF
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    Fake PageContext class to provide common methods since we are NOT in a servlet container
  • Field Summary

    Fields inherited from class ortus.boxlang.runtime.bifs.BIF

    __functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, moduleService, runtime
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.scopes.ArgumentsScope arguments)
    Gets the current java PageContext object that provides access to page attributes and configuration, request and response objects.

    Methods inherited from class ortus.boxlang.runtime.bifs.BIF

    announce, getDeclaredArguments, invoke

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GetPageContext

      public GetPageContext()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.scopes.ArgumentsScope arguments)
      Gets the current java PageContext object that provides access to page attributes and configuration, request and response objects. If not running in a servlet, this will be a fake class attempting to provide most of the common methods.
      Specified by:
      _invoke in class ortus.boxlang.runtime.bifs.BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.