org.apache.felix.webconsole.internal.misc
Class ShellServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.felix.webconsole.AbstractWebConsolePlugin
              extended by org.apache.felix.webconsole.internal.misc.ShellServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig, OsgiManagerPlugin

public class ShellServlet
extends AbstractWebConsolePlugin
implements OsgiManagerPlugin

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin
ATTR_FILEUPLOAD
 
Constructor Summary
ShellServlet()
           
 
Method Summary
 void activate(BundleContext bundleContext)
           
 void deactivate()
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
protected  String escapeHtml(String text)
           
 String getLabel()
           
protected  ShellService getShellService()
           
 String getTitle()
           
protected  void renderContent(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin
doGet, endResponse, getBundleContext, getParameter, getServletName, renderTopNavigation, sendRedirect, startResponse
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellServlet

public ShellServlet()
Method Detail

getLabel

public String getLabel()
Specified by:
getLabel in class AbstractWebConsolePlugin

getTitle

public String getTitle()
Specified by:
getTitle in class AbstractWebConsolePlugin

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

renderContent

protected void renderContent(HttpServletRequest request,
                             HttpServletResponse response)
                      throws ServletException,
                             IOException
Specified by:
renderContent in class AbstractWebConsolePlugin
Throws:
ServletException
IOException

getShellService

protected ShellService getShellService()

activate

public void activate(BundleContext bundleContext)
Specified by:
activate in interface OsgiManagerPlugin
Overrides:
activate in class AbstractWebConsolePlugin

deactivate

public void deactivate()
Specified by:
deactivate in interface OsgiManagerPlugin
Overrides:
deactivate in class AbstractWebConsolePlugin

escapeHtml

protected String escapeHtml(String text)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.