Class WebRequest

java.lang.Object
ortus.boxlang.runtime.events.BaseInterceptor
ortus.boxlang.web.interceptors.WebRequest
All Implemented Interfaces:
ortus.boxlang.runtime.events.IInterceptor

public class WebRequest extends ortus.boxlang.runtime.events.BaseInterceptor
Web request based interceptions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ortus.boxlang.runtime.services.ComponentService
    The component service helper
    protected ortus.boxlang.runtime.BoxRuntime
    The runtime instance

    Fields inherited from class ortus.boxlang.runtime.events.BaseInterceptor

    logger, properties
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onComponentInvocation(ortus.boxlang.runtime.types.IStruct data)
    Listens for the file component actions around web uploaads
    void
    onFileComponentAction(ortus.boxlang.runtime.types.IStruct data)
    Listens for the file component actions around web uploaads
    void
    writeToBrowser(ortus.boxlang.runtime.types.IStruct data)
    Writes content to the browser

    Methods inherited from class ortus.boxlang.runtime.events.BaseInterceptor

    configure, configure, getLogger, getProperties, getProperty, getProperty, getRuntime, hasProperty, setProperty, unregister

    Methods inherited from class java.lang.Object

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

    • runtime

      protected ortus.boxlang.runtime.BoxRuntime runtime
      The runtime instance
    • componentService

      protected ortus.boxlang.runtime.services.ComponentService componentService
      The component service helper
  • Constructor Details

    • WebRequest

      public WebRequest()
  • Method Details

    • writeToBrowser

      @InterceptionPoint public void writeToBrowser(ortus.boxlang.runtime.types.IStruct data)
      Writes content to the browser
      Parameters:
      data - The struct of data determining how the content should be written
    • onFileComponentAction

      @InterceptionPoint public void onFileComponentAction(ortus.boxlang.runtime.types.IStruct data)
      Listens for the file component actions around web uploaads
      Parameters:
      data - The data to be intercepted
    • onComponentInvocation

      @InterceptionPoint public void onComponentInvocation(ortus.boxlang.runtime.types.IStruct data)
      Listens for the file component actions around web uploaads
      Parameters:
      data - The data to be intercepted