|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface WebResultMapping
A result mapping for a WebActionMapping. Can have 3 types of results. An action returns a map of values, and
| Required Element Summary | |
|---|---|
java.lang.String |
resultValue
The action return value that triggers this result |
| Optional Element Summary | |
|---|---|
java.lang.String |
directData
DIRECT results only. |
java.lang.String |
mimeType
DIRECT results only. |
java.lang.String |
nextAction
CHAIN results only. |
WebResultType |
resultType
The type of result this is. |
java.lang.String |
template
TEMPLATE results only. |
| Element Detail |
|---|
public abstract java.lang.String resultValue
public abstract WebResultType resultType
CHAIN - The nextAction property must be suppliedDIRECT - The mimeType and directData property must be suppliedINDEX - Nothing needs to be suppliedTEMPLATE - The mimeType and template property must be supplied
public abstract java.lang.String template
TEMPLATE results only. The template to send the return data of the action to for rendering
public abstract java.lang.String mimeType
DIRECT results only. The MIME type of the direct data being sent
public abstract java.lang.String directData
DIRECT results only. The key for the direct data to be sent to the browser. This data should be supplied
to an action's return map, and must be an array of bytes
public abstract java.lang.String nextAction
CHAIN results only. The next action in the chain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||