org.apache.felix.webconsole.internal.compendium
Class ComponentRenderAction
java.lang.Object
org.apache.felix.webconsole.internal.BaseManagementPlugin
org.apache.felix.webconsole.internal.compendium.AbstractScrPlugin
org.apache.felix.webconsole.internal.compendium.ComponentRenderAction
- All Implemented Interfaces:
- Action, Render
public class ComponentRenderAction
- extends AbstractScrPlugin
- implements Render, Action
Fields inherited from interface org.apache.felix.webconsole.Render |
SERVICE |
Method Summary |
protected long |
getComponentId(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
boolean |
performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs the action the request data optionally sending a response to
the HTTP Servlet Response. |
void |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
COMPONENT_ID
public static final java.lang.String COMPONENT_ID
- See Also:
- Constant Field Values
OPERATION
public static final java.lang.String OPERATION
- See Also:
- Constant Field Values
OPERATION_DETAILS
public static final java.lang.String OPERATION_DETAILS
- See Also:
- Constant Field Values
OPERATION_ENABLE
public static final java.lang.String OPERATION_ENABLE
- See Also:
- Constant Field Values
OPERATION_DISABLE
public static final java.lang.String OPERATION_DISABLE
- See Also:
- Constant Field Values
ComponentRenderAction
public ComponentRenderAction()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Action
- Specified by:
getName
in interface Render
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface Action
- Specified by:
getLabel
in interface Render
performAction
public boolean performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Description copied from interface:
Action
- Performs the action the request data optionally sending a response to
the HTTP Servlet Response.
- Specified by:
performAction
in interface Action
- Returns:
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.
- Throws:
java.io.IOException
- May be thrown if an I/O error occurrs
render
public void render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Specified by:
render
in interface Render
- Throws:
java.io.IOException
getComponentId
protected long getComponentId(javax.servlet.http.HttpServletRequest request)