Package ortus.boxlang.web.bifs
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 -
Method Summary
Modifier and TypeMethodDescription_invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.scopes.ArgumentsScope arguments) Processes file uploads from the requestbooleanprocessUploadSecurity(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 settingsMethods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
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:
_invokein classortus.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:
-