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 Summary
Nested Classes Modifier and Type Class Description protected classServletResourceType.WebconsoleWrapper.ActionResponseWrapper
-
Field Summary
Fields 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.ServletWrapper
wrappedServlet
-
-
Constructor Summary
Constructors Constructor Description WebconsoleWrapper(@NotNull javax.servlet.Servlet servlet, @NotNull Map<String,Object> properties)
-
Method Summary
All 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_CATEGORY
public static final String PLUGIN_CATEGORY
- See Also:
- Constant Field Values
-
PLUGIN_LABEL
public static final String PLUGIN_LABEL
- See Also:
- Constant Field Values
-
PLUGIN_TITLE
public static final String PLUGIN_TITLE
- See Also:
- Constant Field Values
-
PLUGIN_CSS_REFERENCES
public static final String PLUGIN_CSS_REFERENCES
- See Also:
- Constant Field Values
-
ATTR_APP_ROOT
public static final String ATTR_APP_ROOT
- See Also:
- Constant Field Values
-
ATTR_PLUGIN_ROOT
public static final String ATTR_PLUGIN_ROOT
- See Also:
- Constant Field Values
-
ATTR_LABEL_MAP
public static final String ATTR_LABEL_MAP
- See Also:
- Constant Field Values
-
WEBCONSOLE_CLASS
public static final String WEBCONSOLE_CLASS
- See Also:
- Constant Field Values
-
ATTR_LABEL_MAP_OLD
public static final String ATTR_LABEL_MAP_OLD
- See Also:
- Constant Field Values
-
ATTR_APP_ROOT_OLD
public static final String ATTR_APP_ROOT_OLD
- See Also:
- Constant Field Values
-
WEBCONSOLE_PATH
public static final String WEBCONSOLE_PATH
- See Also:
- Constant Field Values
-
PLUGIN_TOOL_PATH
public static final String PLUGIN_TOOL_PATH
- See Also:
- Constant Field Values
-
CSS_FILES
public final String[] CSS_FILES
-
JS_FILES
public final String[] JS_FILES
-
CSRF_OPTIONS
public final String[] CSRF_OPTIONS
-
properties
protected final org.apache.sling.api.resource.ValueMap properties
-
cssReferences
protected final String[] cssReferences
-
-
Method Detail
-
service
public void service(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
servicein classServletResourceType.ServletWrapper- Throws:
javax.servlet.ServletExceptionIOException
-
renderPlugin
protected void renderPlugin(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
appendCssLink
protected void appendCssLink(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer, @NotNull @NotNull String root, @NotNull @NotNull String path)
-
appendJsLink
protected void appendJsLink(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer, @NotNull @NotNull String path)
-
appendCsrfLinks
protected void appendCsrfLinks(@NotNull @NotNull javax.servlet.http.HttpServletRequest request, @NotNull @NotNull PrintWriter writer)
-
-