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 protectedGetBinaryOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoIt(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, ResourceHandle resource)protected voidprepareResponse(@NotNull org.apache.sling.api.SlingHttpServletResponse response, ResourceHandle resource, @Nullable Long size)protected voidsendContent(@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:
doItin interfaceServletOperation- Throws:
javax.servlet.ServletExceptionIOException
-
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
-
-