public class RestActionSupport extends ActionSupport
ActionSupport
to provides a default implementation of the index method that can be invoked for
unknown actions by the UnknownHandler
.container
Constructor and Description |
---|
RestActionSupport() |
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
createContinue()
By default, return continue.
|
Object |
index()
Default execution.
|
HttpHeaders |
options()
Inspect the implemented methods to know the allowed http methods.
|
HttpHeaders |
updateContinue()
By default, return continue.
|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
public Object index() throws Exception
Exception
- in case of any errorpublic HttpHeaders options()
public HttpHeaders createContinue()
public HttpHeaders updateContinue()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.