Package ortus.boxlang.web.interceptors
Class WebRequest
java.lang.Object
ortus.boxlang.web.interceptors.WebRequest
Web request based interceptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ortus.boxlang.runtime.services.ComponentServiceThe component service helperprotected ortus.boxlang.runtime.BoxRuntimeThe runtime instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonComponentInvocation(ortus.boxlang.runtime.types.IStruct data) Listens for the file component actions around web uploaadsvoidonFileComponentAction(ortus.boxlang.runtime.types.IStruct data) Listens for the file component actions around web uploaadsvoidwriteToBrowser(ortus.boxlang.runtime.types.IStruct data) Writes content to the browser
-
Field Details
-
runtime
protected ortus.boxlang.runtime.BoxRuntime runtimeThe runtime instance -
componentService
protected ortus.boxlang.runtime.services.ComponentService componentServiceThe 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
-