|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.felix.webconsole.AbstractWebConsolePlugin
org.apache.felix.ipojo.webconsole.IPOJOPlugin
public class IPOJOPlugin
iPOJO Web Console plugin.
Field Summary | |
---|---|
protected String[] |
m_css
CSS files used by the plugin. |
Fields inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin |
---|
ATTR_FILEUPLOAD, GET_RESOURCE_METHOD_NAME |
Constructor Summary | |
---|---|
IPOJOPlugin()
Instantiates the plugin. |
Method Summary | |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Endpoint dealing with JSON requests. |
protected String[] |
getCssReferences()
Get the CSS used by the plugin. |
String |
getLabel()
Gets the plugin label. |
URL |
getResource(String path)
Allows loading the 'ui' folder as web resource. |
String |
getTitle()
Gets the plugin title. |
protected void |
renderContent(HttpServletRequest request,
HttpServletResponse response)
This methods is called by the web console when the plugin is required. |
Methods inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin |
---|
activate, deactivate, endResponse, getBrandingPlugin, getBundle, getBundleContext, getParameter, getResourceProvider, getServletName, isHtmlRequest, log, log, readTemplateFile, renderTopNavigation, sendRedirect, setBrandingPlugin, setLogLevel, startResponse |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPost, 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 |
Field Detail |
---|
protected String[] m_css
Constructor Detail |
---|
public IPOJOPlugin()
Method Detail |
---|
protected void renderContent(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
renderContent
in class AbstractWebConsolePlugin
request
- the requestresponse
- the response
ServletException
- something bad happened
IOException
- something bad happenedAbstractWebConsolePlugin.renderContent(
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class AbstractWebConsolePlugin
request
- the requestresponse
- the response
ServletException
- if an error occurred
IOException
- if an error occurred(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public URL getResource(String path)
path
- the resource path
public String getLabel()
getLabel
in class AbstractWebConsolePlugin
AbstractWebConsolePlugin.getLabel()
public String getTitle()
getTitle
in class AbstractWebConsolePlugin
AbstractWebConsolePlugin.getTitle()
protected String[] getCssReferences()
getCssReferences
in class AbstractWebConsolePlugin
AbstractWebConsolePlugin.getCssReferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |