public class ServiceUserWebConsolePlugin
extends org.apache.felix.webconsole.AbstractWebConsolePlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_NAME |
static String |
LABEL |
static String |
PN_ACTION |
static String |
PN_ALERT |
static String |
PN_APP_PATH |
static String |
PN_BUNDLE |
static String |
PN_NAME |
static String |
PN_SUB_SERVICE |
static String |
PN_USER |
static String |
PN_USER_PATH |
static String |
TITLE |
| Constructor and Description |
|---|
ServiceUserWebConsolePlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
getLabel() |
protected URL |
getResource(String path)
Called internally by
AbstractWebConsolePlugin to load resources. |
String |
getTitle() |
protected void |
init(org.osgi.service.component.ComponentContext context) |
protected void |
renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
activate, deactivate, doGet, endResponse, getBrandingPlugin, getBundle, getBundleContext, getCategory, getCssReferences, getParameter, getResourceProvider, getServletName, isHtmlRequest, log, log, readTemplateFile, renderMenu, renderTopNavigation, sendRedirect, setBrandingPlugin, setLogLevel, startResponsedoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String COMPONENT_NAME
public static final String LABEL
public static final String TITLE
public static final String PN_ACTION
public static final String PN_ALERT
public static final String PN_APP_PATH
public static final String PN_BUNDLE
public static final String PN_NAME
public static final String PN_SUB_SERVICE
public static final String PN_USER
public static final String PN_USER_PATH
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic String getLabel()
getLabel in class org.apache.felix.webconsole.AbstractWebConsolePluginprotected URL getResource(String path)
AbstractWebConsolePlugin to load resources.
This particular implementation depends on the label. As example, if the
plugin is accessed as /system/console/abc, and the plugin
resources are accessed like
/system/console/abc/res/logo.gif, the code here will try
load resource /res/logo.gif from the bundle, providing the
plugin.path - the path to read.null if not found.public String getTitle()
getTitle in class org.apache.felix.webconsole.AbstractWebConsolePluginprotected void init(org.osgi.service.component.ComponentContext context)
protected void renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
renderContent in class org.apache.felix.webconsole.AbstractWebConsolePluginjavax.servlet.ServletExceptionIOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.