org.apache.felix.webconsole.internal.compendium
Class ComponentsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.felix.webconsole.AbstractWebConsolePlugin
org.apache.felix.webconsole.internal.BaseWebConsolePlugin
org.apache.felix.webconsole.internal.compendium.ComponentsServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, OsgiManagerPlugin
public class ComponentsServlet
- extends BaseWebConsolePlugin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
LABEL
public static final String LABEL
- See Also:
- Constant Field Values
COMPONENT_ID
public static final String COMPONENT_ID
- See Also:
- Constant Field Values
OPERATION
public static final String OPERATION
- See Also:
- Constant Field Values
OPERATION_ENABLE
public static final String OPERATION_ENABLE
- See Also:
- Constant Field Values
OPERATION_DISABLE
public static final String OPERATION_DISABLE
- See Also:
- Constant Field Values
OPERATION_CONFIGURE
public static final String OPERATION_CONFIGURE
- See Also:
- Constant Field Values
ComponentsServlet
public ComponentsServlet()
getTitle
public String getTitle()
- Specified by:
getTitle
in class AbstractWebConsolePlugin
getLabel
public String getLabel()
- Specified by:
getLabel
in class AbstractWebConsolePlugin
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
IOException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Description copied from class:
AbstractWebConsolePlugin
- Renders the web console page for the request. This consist of the following
four parts called in order:
AbstractWebConsolePlugin.startResponse(HttpServletRequest, HttpServletResponse)
AbstractWebConsolePlugin.renderTopNavigation(HttpServletRequest, PrintWriter)
AbstractWebConsolePlugin.renderContent(HttpServletRequest, HttpServletResponse)
AbstractWebConsolePlugin.endResponse(PrintWriter)
- Overrides:
doGet
in class AbstractWebConsolePlugin
- Throws:
ServletException
IOException
renderContent
protected void renderContent(HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Specified by:
renderContent
in class AbstractWebConsolePlugin
- Throws:
IOException
getConfigurationAdmin
protected ConfigurationAdmin getConfigurationAdmin()
getMetaTypeService
protected MetaTypeService getMetaTypeService()
getRequestInfo
public static org.apache.felix.webconsole.internal.compendium.ComponentsServlet.RequestInfo getRequestInfo(HttpServletRequest request)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.