Class ScriptingVariablesConsolePlugin
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.felix.webconsole.AbstractWebConsolePlugin
-
- org.apache.sling.scripting.core.impl.ScriptingVariablesConsolePlugin
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ScriptingVariablesConsolePlugin extends org.apache.felix.webconsole.AbstractWebConsolePlugin
Web Console Plugin exposing all binding provider values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptingVariablesConsolePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
java.net.URL
getResource(java.lang.String path)
Automatically called from AbstractWebConsolePlugin#spoolResourcejava.lang.String
getTitle()
protected void
renderContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.apache.felix.webconsole.AbstractWebConsolePlugin
activate, deactivate, doGet, endResponse, getBrandingPlugin, getBundle, getBundleContext, getCategory, getCssReferences, getParameter, getResourceProvider, getServletName, isHtmlRequest, log, log, readTemplateFile, renderMenu, renderTopNavigation, sendRedirect, setBrandingPlugin, setLogLevel, startResponse
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
LABEL
protected static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
TITLE
protected static final java.lang.String TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
public java.net.URL getResource(java.lang.String path)
Automatically called from AbstractWebConsolePlugin#spoolResource- Parameters:
path
- the requested path- Returns:
- either a URL from which to spool the resource requested through the given path or
null
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in classorg.apache.felix.webconsole.AbstractWebConsolePlugin
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in classorg.apache.felix.webconsole.AbstractWebConsolePlugin
-
renderContent
protected void renderContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Specified by:
renderContent
in classorg.apache.felix.webconsole.AbstractWebConsolePlugin
- Throws:
javax.servlet.ServletException
java.io.IOException
-
-