Class ComponentsServlet

  • All Implemented Interfaces:
    com.composum.sling.core.service.RestrictedService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ComponentsServlet
    extends com.composum.sling.core.servlet.AbstractServiceServlet
    See Also:
    Serialized Form
    • Constructor Detail

      • ComponentsServlet

        public ComponentsServlet()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        setup of the servlet operation set for this servlet instance
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • getComponentType

        @Nullable
        protected static @Nullable String getComponentType​(@NotNull
                                                           @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                                           @Nullable
                                                           @Nullable com.composum.sling.core.ResourceHandle resource)