Package com.composum.sling.nodes.servlet
Class ServletResourceType.WebconsoleWrapper
- java.lang.Object
- 
- com.composum.sling.nodes.servlet.ServletResourceType.ServletWrapper
- 
- com.composum.sling.nodes.servlet.ServletResourceType.WebconsoleWrapper
 
 
- 
- Enclosing class:
- ServletResourceType
 
 protected class ServletResourceType.WebconsoleWrapper extends ServletResourceType.ServletWrapper 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classServletResourceType.WebconsoleWrapper.ActionResponseWrapper
 - 
Field SummaryFields Modifier and Type Field Description static StringATTR_APP_ROOTstatic StringATTR_APP_ROOT_OLDstatic StringATTR_LABEL_MAPstatic StringATTR_LABEL_MAP_OLDstatic StringATTR_PLUGIN_ROOTString[]CSRF_OPTIONSString[]CSS_FILESprotected String[]cssReferencesString[]JS_FILESstatic StringPLUGIN_CATEGORYstatic StringPLUGIN_CSS_REFERENCESstatic StringPLUGIN_LABELstatic StringPLUGIN_TITLEstatic StringPLUGIN_TOOL_PATHprotected org.apache.sling.api.resource.ValueMappropertiesstatic StringWEBCONSOLE_CLASSstatic StringWEBCONSOLE_PATH- 
Fields inherited from class com.composum.sling.nodes.servlet.ServletResourceType.ServletWrapperwrappedServlet
 
- 
 - 
Constructor SummaryConstructors Constructor Description WebconsoleWrapper(@NotNull javax.servlet.Servlet servlet, @NotNull Map<String,Object> properties)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendCsrfLinks(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull PrintWriter writer)protected voidappendCssLink(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull PrintWriter writer, @NotNull String root, @NotNull String path)protected voidappendJsLink(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull PrintWriter writer, @NotNull String path)protected voidrenderPlugin(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)voidservice(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)
 
- 
- 
- 
Field Detail- 
PLUGIN_CATEGORYpublic static final String PLUGIN_CATEGORY - See Also:
- Constant Field Values
 
 - 
PLUGIN_LABELpublic static final String PLUGIN_LABEL - See Also:
- Constant Field Values
 
 - 
PLUGIN_TITLEpublic static final String PLUGIN_TITLE - See Also:
- Constant Field Values
 
 - 
PLUGIN_CSS_REFERENCESpublic static final String PLUGIN_CSS_REFERENCES - See Also:
- Constant Field Values
 
 - 
ATTR_APP_ROOTpublic static final String ATTR_APP_ROOT - See Also:
- Constant Field Values
 
 - 
ATTR_PLUGIN_ROOTpublic static final String ATTR_PLUGIN_ROOT - See Also:
- Constant Field Values
 
 - 
ATTR_LABEL_MAPpublic static final String ATTR_LABEL_MAP - See Also:
- Constant Field Values
 
 - 
WEBCONSOLE_CLASSpublic static final String WEBCONSOLE_CLASS - See Also:
- Constant Field Values
 
 - 
ATTR_LABEL_MAP_OLDpublic static final String ATTR_LABEL_MAP_OLD - See Also:
- Constant Field Values
 
 - 
ATTR_APP_ROOT_OLDpublic static final String ATTR_APP_ROOT_OLD - See Also:
- Constant Field Values
 
 - 
WEBCONSOLE_PATHpublic static final String WEBCONSOLE_PATH - See Also:
- Constant Field Values
 
 - 
PLUGIN_TOOL_PATHpublic static final String PLUGIN_TOOL_PATH - See Also:
- Constant Field Values
 
 - 
CSS_FILESpublic final String[] CSS_FILES 
 - 
JS_FILESpublic final String[] JS_FILES 
 - 
CSRF_OPTIONSpublic final String[] CSRF_OPTIONS 
 - 
propertiesprotected final org.apache.sling.api.resource.ValueMap properties 
 - 
cssReferencesprotected final String[] cssReferences 
 
- 
 - 
Method Detail- 
servicepublic void service(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
- servicein class- ServletResourceType.ServletWrapper
- Throws:
- javax.servlet.ServletException
- IOException
 
 - 
renderPluginprotected void renderPlugin(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Throws:
- javax.servlet.ServletException
- IOException
 
 - 
appendCssLinkprotected void appendCssLink(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer, @NotNull @NotNull String root, @NotNull @NotNull String path)
 - 
appendJsLinkprotected void appendJsLink(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer, @NotNull @NotNull String path)
 - 
appendCsrfLinksprotected void appendCsrfLinks(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer)
 
- 
 
-