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.ComponentService
The component service helperprotected ortus.boxlang.runtime.BoxRuntime
The runtime instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onComponentInvocation
(ortus.boxlang.runtime.types.IStruct data) Listens for the file component actions around web uploaadsvoid
onFileComponentAction
(ortus.boxlang.runtime.types.IStruct data) Listens for the file component actions around web uploaadsvoid
writeToBrowser
(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
-