@Retention(value=RUNTIME)
@Target(value={PARAMETER,FIELD})
public @interface ReadContent
Indicate if the parameter is a file path or resource URL, then read the content of the file into the parameter, otherwise leave the parameter as it is unless #forceRead()
is set to true
Note this assumes the file or URL resource is a text file
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
ATTR_MERCY |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
mercy
If the target does not exists and
mercy is set to true, the framework will try to inject any query or post parameter that matches the model name |
Copyright © 2014–2017 ActFramework. All rights reserved.