Class NodeServlet.LoadBinaryOperation

  • All Implemented Interfaces:
    com.composum.sling.core.servlet.ServletOperation
    Direct Known Subclasses:
    NodeServlet.DownloadBinaryOperation
    Enclosing class:
    NodeServlet

    protected class NodeServlet.LoadBinaryOperation
    extends Object
    implements com.composum.sling.core.servlet.ServletOperation
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LoadBinaryOperation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doIt​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @Nullable com.composum.sling.core.ResourceHandle resource)  
      protected void prepareResponse​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @NotNull com.composum.sling.core.ResourceHandle resource)  
    • Constructor Detail

      • LoadBinaryOperation

        protected LoadBinaryOperation()
    • Method Detail

      • doIt

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

        protected void prepareResponse​(@NotNull
                                       @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                       @NotNull
                                       @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                       @NotNull
                                       @NotNull com.composum.sling.core.ResourceHandle resource)