|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Requests with incomplete, outdated or unknown request parameters are passed to this.
Concrete DialogRequestParameters implement the strategy how to handle these
requests. An implementation has to be registrated at the ConfigManager
with the key DIALOG_PARAMETER_HANDLER_CONFIG_KEY.
| Field Summary | |
static java.lang.String |
DIALOG_PARAMETER_HANDLER_CONFIG_KEY
The key that is used for retrieving the name of the implementation of this interface to be used. |
| Method Summary | |
boolean |
checkIsAjaxRequest(HttpServletRequest request,
ServletResponse response)
The indication of an AJAX request depends on the concrete ajax framework. |
boolean |
handleInvalidSequenceNumber(HttpServletRequest request,
ServletResponse response,
DialogControl sessionDialogControl,
DialogInstanceId dialogInstanceId,
java.lang.String url,
DialogParameterHandlerCallback callback)
This method is called when the sequence number is invalid. |
boolean |
handleMissingDialogParameters(HttpServletRequest request,
ServletResponse response,
DialogControl sessionDialogControl,
DialogParameterHandlerCallback callback)
This method is called when the dialog parameters, i.e. the dialog id or the dialog instance id, are incomplete. |
| Field Detail |
public static final java.lang.String DIALOG_PARAMETER_HANDLER_CONFIG_KEY
| Method Detail |
public boolean handleMissingDialogParameters(HttpServletRequest request,
ServletResponse response,
DialogControl sessionDialogControl,
DialogParameterHandlerCallback callback)
public boolean handleInvalidSequenceNumber(HttpServletRequest request,
ServletResponse response,
DialogControl sessionDialogControl,
DialogInstanceId dialogInstanceId,
java.lang.String url,
DialogParameterHandlerCallback callback)
dialogInstanceId - DialogInstanceId of the dialog that is out of sequenceurl - an URL for the corresponding dialog in its actual state
public boolean checkIsAjaxRequest(HttpServletRequest request,
ServletResponse response)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||