Class WebRequest

java.lang.Object
ortus.boxlang.web.interceptors.WebRequest

public class WebRequest extends Object
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
  • 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 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