Package com.composum.sling.nodes.servlet
Class NodeServlet.UpdateFileOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.NodeServlet.UpdateFileOperation
-
- All Implemented Interfaces:
com.composum.sling.core.servlet.ServletOperation
- Enclosing class:
- NodeServlet
protected class NodeServlet.UpdateFileOperation extends Object implements com.composum.sling.core.servlet.ServletOperation
The 'fileUpdate' via POST (multipart form) implementation expects:- the 'path' parameter with the path of the new nodes parent
- the 'file' part (form element / parameter) with the binary content (optional)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UpdateFileOperation()
-
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)
com.composum.sling.core.servlet.NodeTreeServlet.NodeParameters
getNodeParameters(org.apache.sling.api.SlingHttpServletRequest request)
-
-
-
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.jcr.RepositoryException, IOException
- Specified by:
doIt
in interfacecom.composum.sling.core.servlet.ServletOperation
- Throws:
javax.jcr.RepositoryException
IOException
-
getNodeParameters
public com.composum.sling.core.servlet.NodeTreeServlet.NodeParameters getNodeParameters(org.apache.sling.api.SlingHttpServletRequest request)
-
-