Class FileUpload

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

@BoxBIF @BoxBIF(alias="FileUploadAll") public class FileUpload extends ortus.boxlang.runtime.bifs.BIF
  • Field Summary

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

    __functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, logger, moduleService, runtime, schedulerService
  • 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)
    Processes file uploads from the request
    boolean
    processUploadSecurity(IBoxHTTPExchange.FileUpload upload, ortus.boxlang.runtime.types.IStruct arguments, ortus.boxlang.runtime.context.IBoxContext context)
    Determines if the upload is permitted based on the server and request level security settings

    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

    • FileUpload

      public FileUpload()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.scopes.ArgumentsScope arguments)
      Processes file uploads from the request
      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.
    • processUploadSecurity

      public boolean processUploadSecurity(IBoxHTTPExchange.FileUpload upload, ortus.boxlang.runtime.types.IStruct arguments, ortus.boxlang.runtime.context.IBoxContext context)
      Determines if the upload is permitted based on the server and request level security settings
      Parameters:
      upload -
      arguments -
      context -
      Returns: