Class PropertyServlet.PostBinaryOperation

  • All Implemented Interfaces:
    ServletOperation
    Enclosing class:
    PropertyServlet

    protected class PropertyServlet.PostBinaryOperation
    extends Object
    implements ServletOperation
    The POST (multipart form) implementation expects:
    • the 'file' part (form element / parameter) with the binary content
    • an optional 'name' parameter for the property name (default 'jcr:data')
    • Constructor Detail

      • PostBinaryOperation

        protected PostBinaryOperation()
    • 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