public class SlingLogPanel
extends javax.servlet.http.HttpServlet
SlingLogPanel
is a Felix Web Console plugin to display the
current active log bundle configuration.
In future revisions of this plugin, the configuration may probably even be
modified through this panel.Constructor and Description |
---|
SlingLogPanel(LogbackManager logbackManager,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected URL |
getResource(String path)
Called internally by AbstractWebConsolePlugin to load resources.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public SlingLogPanel(LogbackManager logbackManager, org.osgi.framework.BundleContext bundleContext)
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
doGet
in class javax.servlet.http.HttpServlet
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected URL getResource(String path)
/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.Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.