org.apache.karaf.webconsole.gogo
Class GogoPlugin
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.felix.webconsole.AbstractWebConsolePlugin
org.apache.karaf.webconsole.gogo.GogoPlugin
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class GogoPlugin
- extends org.apache.felix.webconsole.AbstractWebConsolePlugin
The GogoPlugin
- See Also:
- Serialized Form
Fields inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin |
ATTR_FILEUPLOAD, GET_RESOURCE_METHOD_NAME |
Method Summary |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.lang.String |
getLabel()
|
protected java.net.URL |
getResource(java.lang.String path)
|
java.lang.String |
getTitle()
|
protected void |
renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
|
void |
setCommandProcessor(org.apache.felix.service.command.CommandProcessor commandProcessor)
|
void |
start()
|
void |
stop()
|
Methods inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin |
activate, deactivate, doGet, endResponse, getBrandingPlugin, getBundle, getBundleContext, getCssReferences, getParameter, getResourceProvider, getServletName, isHtmlRequest, log, log, readTemplateFile, renderTopNavigation, sendRedirect, setBrandingPlugin, setLogLevel, 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 |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
TERM_WIDTH
public static final int TERM_WIDTH
- See Also:
- Constant Field Values
TERM_HEIGHT
public static final int TERM_HEIGHT
- See Also:
- Constant Field Values
GogoPlugin
public GogoPlugin()
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setCommandProcessor
public void setCommandProcessor(org.apache.felix.service.command.CommandProcessor commandProcessor)
start
public void start()
stop
public void stop()
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in class org.apache.felix.webconsole.AbstractWebConsolePlugin
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in class org.apache.felix.webconsole.AbstractWebConsolePlugin
renderContent
protected void renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Specified by:
renderContent
in class org.apache.felix.webconsole.AbstractWebConsolePlugin
- Throws:
java.io.IOException
getResource
protected java.net.URL getResource(java.lang.String path)
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.