public abstract class AbstractWebConsolePlugin
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_FILEUPLOAD
The name of the request attribute containig the map of FileItems from the POST request
|
Constructor and Description |
---|
AbstractWebConsolePlugin() |
Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.framework.BundleContext bundleContext) |
void |
deactivate() |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Renders the web console page for the request.
|
protected void |
endResponse(PrintWriter pw) |
protected org.osgi.framework.BundleContext |
getBundleContext() |
abstract String |
getLabel() |
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
String name) |
String |
getServletName()
Returns the title for this plugin as returned by
getTitle() |
abstract String |
getTitle() |
protected abstract void |
renderContent(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
renderTopNavigation(javax.servlet.http.HttpServletRequest request,
PrintWriter pw) |
protected PrintWriter |
startResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String ATTR_FILEUPLOAD
public String getServletName()
getTitle()
getServletName
in interface javax.servlet.ServletConfig
getServletName
in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void activate(org.osgi.framework.BundleContext bundleContext)
public void deactivate()
public abstract String getTitle()
public abstract String getLabel()
protected abstract void renderContent(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected org.osgi.framework.BundleContext getBundleContext()
protected PrintWriter startResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected void renderTopNavigation(javax.servlet.http.HttpServletRequest request, PrintWriter pw)
protected void endResponse(PrintWriter pw)
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.