Package com.adobe.granite.comments
Class CommentingOperationHandler
- java.lang.Object
-
- com.adobe.granite.comments.CommentingOperationHandler
-
- All Implemented Interfaces:
PostOperation
@Service @Property(name="sling.post.operation",value="granite:comment") @Property(name="sling.servlet.methods",value="POST") @Property(name="sling.servlet.extensions",value={"html","json"}) public class CommentingOperationHandler extends java.lang.Object implements PostOperation
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.servlets.post.PostOperation
PROP_OPERATION_NAME, SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description CommentingOperationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)
Executes the operation provided by this service implementation.
-
-
-
Method Detail
-
run
public void run(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)
Description copied from interface:PostOperation
Executes the operation provided by this service implementation. This method is called by the Sling POST servlet.- Specified by:
run
in interfacePostOperation
- Parameters:
request
- TheSlingHttpServletRequest
object providing the request input for the operation.response
- TheHtmlResponse
into which the operation steps should be recorded.processors
- TheSlingPostProcessor
services to be called after applying the operation. This may benull
if there are none.
-
-