|
|||||||||
| 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 java.lang.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Endpoint dealing with JSON requests. |
protected java.lang.String[] |
getCssReferences()
Get the CSS used by the plugin. |
java.lang.String |
getLabel()
Gets the plugin label. |
java.net.URL |
getResource(java.lang.String path)
Allows loading the 'ui' folder as web resource. |
java.lang.String |
getTitle()
Gets the plugin title. |
protected void |
renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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 java.lang.String[] m_css
| Constructor Detail |
|---|
public IPOJOPlugin()
| Method Detail |
|---|
protected void renderContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
renderContent in class org.apache.felix.webconsole.AbstractWebConsolePluginrequest - the requestresponse - the response
javax.servlet.ServletException - something bad happened
java.io.IOException - something bad happenedAbstractWebConsolePlugin.renderContent(
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class org.apache.felix.webconsole.AbstractWebConsolePluginrequest - the requestresponse - the response
javax.servlet.ServletException - if an error occurred
java.io.IOException - if an error occurred(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public java.net.URL getResource(java.lang.String path)
path - the resource path
public java.lang.String getLabel()
getLabel in class org.apache.felix.webconsole.AbstractWebConsolePluginAbstractWebConsolePlugin.getLabel()public java.lang.String getTitle()
getTitle in class org.apache.felix.webconsole.AbstractWebConsolePluginAbstractWebConsolePlugin.getTitle()protected java.lang.String[] getCssReferences()
getCssReferences in class org.apache.felix.webconsole.AbstractWebConsolePluginAbstractWebConsolePlugin.getCssReferences()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||