Class PropertyServlet.GetBinaryOperation

    • 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,
                         ResourceHandle resource)
                  throws javax.servlet.ServletException,
                         IOException
        Specified by:
        doIt in interface ServletOperation
        Throws:
        javax.servlet.ServletException
        IOException
      • prepareResponse

        protected void prepareResponse​(@NotNull
                                       @NotNull org.apache.sling.api.SlingHttpServletResponse response,
                                       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