|
||||||||||
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 java.lang.String |
ATTR_REDIRECT_PARAMETERS
Deprecated. The name of a request attribute, which may be set by performAction if redirecting. |
static java.lang.String |
SERVICE
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
boolean |
performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. Performs the action the request data optionally sending a response to the HTTP Servlet Response. |
Field Detail |
---|
static final java.lang.String SERVICE
static final java.lang.String ATTR_REDIRECT_PARAMETERS
Method Detail |
---|
java.lang.String getName()
java.lang.String getLabel()
boolean performAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.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.
java.io.IOException
- May be thrown if an I/O error occurrs
javax.servlet.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 |