|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
The Action
interface defines a service interface for actions
to be plugged into the web console.
NOTE: This interface is just an intermediate solution for making the
web console extensible. Future releases of the web console will remove this
and the Render
interfaces and use the
javax.servlet.Servlet
interface with predefined service
registration properties instead.
Field Summary | |
---|---|
static String |
ATTR_REDIRECT_PARAMETERS
Deprecated. The name of a request attribute, which may be set by performAction if redirecting. |
static String |
SERVICE
Deprecated. |
Method Summary | |
---|---|
String |
getLabel()
Deprecated. |
String |
getName()
Deprecated. |
boolean |
performAction(HttpServletRequest request,
HttpServletResponse response)
Deprecated. Performs the action the request data optionally sending a response to the HTTP Servlet Response. |
Field Detail |
---|
static final String SERVICE
static final String ATTR_REDIRECT_PARAMETERS
Method Detail |
---|
String getName()
String getLabel()
boolean performAction(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
request
- response
-
true
the client should be redirected after the
action has been taken. false
if this method also
provided response to the client and nore more processing is
required.
IOException
- May be thrown if an I/O error occurrs
ServletException
- May be thrown if another error occurrs while
processing the action. The rootCause
of the exception
should contain the cause of the error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |