Package com.composum.sling.nodes.servlet
Class PropertyServlet.GetBinaryOperation
- java.lang.Object
-
- com.composum.sling.nodes.servlet.PropertyServlet.GetBinaryOperation
-
- All Implemented Interfaces:
ServletOperation
- Enclosing class:
- PropertyServlet
protected class PropertyServlet.GetBinaryOperation extends Object implements ServletOperation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GetBinaryOperation()
-
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, ResourceHandle resource)
protected void
prepareResponse(@NotNull org.apache.sling.api.SlingHttpServletResponse response, ResourceHandle resource, @Nullable Long size)
protected void
sendContent(@NotNull org.apache.sling.api.SlingHttpServletResponse response, @Nullable InputStream input)
-
-
-
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 interfaceServletOperation
- 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
-
-