Package com.composum.sling.nodes.servlet
Class PropertyServlet.PostBinaryOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.PropertyServlet.PostBinaryOperation
-
- All Implemented Interfaces:
com.composum.sling.core.servlet.ServletOperation
- Enclosing class:
- PropertyServlet
protected class PropertyServlet.PostBinaryOperation extends Object implements com.composum.sling.core.servlet.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 Summary
Constructors Modifier Constructor Description protected
PostBinaryOperation()
-
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, com.composum.sling.core.ResourceHandle resource)
-
-
-
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 interfacecom.composum.sling.core.servlet.ServletOperation
- Throws:
javax.servlet.ServletException
IOException
-
-