Class PackageServlet.RegistriesTreeOperation

  • All Implemented Interfaces:
    com.composum.sling.core.servlet.ServletOperation
    Enclosing class:
    PackageServlet

    protected class PackageServlet.RegistriesTreeOperation
    extends Object
    implements com.composum.sling.core.servlet.ServletOperation
    • Constructor Detail

      • RegistriesTreeOperation

        protected RegistriesTreeOperation()
    • Method Detail

      • doIt

        public void doIt​(@Nonnull
                         org.apache.sling.api.SlingHttpServletRequest request,
                         @Nonnull
                         org.apache.sling.api.SlingHttpServletResponse response,
                         com.composum.sling.core.ResourceHandle resource)
                  throws javax.jcr.RepositoryException,
                         IOException
        Specified by:
        doIt in interface com.composum.sling.core.servlet.ServletOperation
        Throws:
        javax.jcr.RepositoryException
        IOException
      • toJson

        protected void toJson​(com.google.gson.stream.JsonWriter writer,
                              com.composum.sling.core.BeanContext context,
                              RegistryItem item)
                       throws IOException
        Throws:
        IOException