Class CodeEditorServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class CodeEditorServlet
    extends com.composum.sling.core.servlet.AbstractConsoleServlet
    The general hook (servlet) for the Editor feature to edit code in a separate view.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String getConsolePath​(com.composum.sling.core.BeanContext context)  
      protected Pattern getPathPattern​(com.composum.sling.core.BeanContext context)  
      protected String getResourceType​(com.composum.sling.core.BeanContext context)  
      protected String getServletPath​(com.composum.sling.core.BeanContext context)  
      • Methods inherited from class com.composum.sling.core.servlet.AbstractConsoleServlet

        activate, checkConsoleAccess, createContext, doGet, getRequestPath, getServiceKey, prepareForward
      • Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet

        doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
    • Constructor Detail

      • CodeEditorServlet

        public CodeEditorServlet()
    • Method Detail

      • getServletPath

        protected String getServletPath​(com.composum.sling.core.BeanContext context)
        Specified by:
        getServletPath in class com.composum.sling.core.servlet.AbstractConsoleServlet
      • getPathPattern

        protected Pattern getPathPattern​(com.composum.sling.core.BeanContext context)
        Specified by:
        getPathPattern in class com.composum.sling.core.servlet.AbstractConsoleServlet
      • getResourceType

        protected String getResourceType​(com.composum.sling.core.BeanContext context)
        Specified by:
        getResourceType in class com.composum.sling.core.servlet.AbstractConsoleServlet
      • getConsolePath

        protected String getConsolePath​(com.composum.sling.core.BeanContext context)
        Overrides:
        getConsolePath in class com.composum.sling.core.servlet.AbstractConsoleServlet