Class Location

java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.web.components.Location

@BoxComponent public class Location extends ortus.boxlang.runtime.components.Component
  • Nested Class Summary

    Nested classes/interfaces inherited from class ortus.boxlang.runtime.components.Component

    ortus.boxlang.runtime.components.Component.BodyResult, ortus.boxlang.runtime.components.Component.ComponentBody
  • Field Summary

    Fields inherited from class ortus.boxlang.runtime.components.Component

    componentService, declaredAttributes, DEFAULT_RETURN, functionService, interceptorService, name, runtime
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ortus.boxlang.runtime.components.Component.BodyResult
    _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.types.IStruct attributes, ortus.boxlang.runtime.components.Component.ComponentBody body, ortus.boxlang.runtime.types.IStruct executionState)
    Generates custom HTTP response headers to return to the client.

    Methods inherited from class ortus.boxlang.runtime.components.Component

    announce, getDeclaredAttributes, getName, invoke, processBody, processBody, setName, validateAttributes

    Methods inherited from class java.lang.Object

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

    • Location

      public Location()
  • Method Details

    • _invoke

      public ortus.boxlang.runtime.components.Component.BodyResult _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.types.IStruct attributes, ortus.boxlang.runtime.components.Component.ComponentBody body, ortus.boxlang.runtime.types.IStruct executionState)
      Generates custom HTTP response headers to return to the client.
      Specified by:
      _invoke in class ortus.boxlang.runtime.components.Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component