dextuploadjk.engine
Enum FilterAction
- Minimum version
- 1.0.0
- Minimum environment
- Java 17, Jakarta EE 9+
- Description
-
Indicates how to handle restricted files.
Constant Description Flushing If the flushing target is limited, change to an empty file. Error Error If the target is restricted, an exception is raised. How to set FilterAction is as follows.
# When setting directly to the Environment object Environment env = new Environment(); env.setFilterAction(FilterAction.Flushing); # When setting in Spring's DispatcherServlet context XML <property name="filterAction" value="Flushing"/>
In Extensin file-upload environment, it is always handled as FilterAction.Error.