Class PropertyServlet.GetBinaryOperation

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

    protected class PropertyServlet.GetBinaryOperation
    extends Object
    implements com.composum.sling.core.servlet.ServletOperation
    • Constructor Detail

      • GetBinaryOperation

        protected GetBinaryOperation()
    • Method Detail

      • doIt

        public void doIt​(@NotNull
                         @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                         @NotNull
                         @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                         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.SlingHttpServletResponse response,
                                       com.composum.sling.core.ResourceHandle resource,
                                       @Nullable
                                       @Nullable Long size)
      • sendContent

        protected void sendContent​(@NotNull
                                   @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                   @Nullable
                                   @Nullable InputStream input)
                            throws IOException
        Throws:
        IOException