Class Content

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

@BoxComponent public class Content 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)
    Does either or both of the following: - Sets the MIME content encoding header for the current page - Sends the contents of a file from the server as the page output

    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

    • Content

      public Content()
  • 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)
      Does either or both of the following: - Sets the MIME content encoding header for the current page - Sends the contents of a file from the server as the page output
      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