Class OldStylePostOperationExample
java.lang.Object
org.apache.sling.launchpad.testservices.post.OldStylePostOperationExample
- All Implemented Interfaces:
org.apache.sling.servlets.post.SlingPostOperation
public class OldStylePostOperationExample
extends Object
implements org.apache.sling.servlets.post.SlingPostOperation
Example using the now deprecated SlingPostOperation
-
Field Summary
Fields inherited from interface org.apache.sling.servlets.post.SlingPostOperation
PROP_OPERATION_NAME, SERVICE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.servlets.HtmlResponse response, org.apache.sling.servlets.post.SlingPostProcessor[] processors)
-
Constructor Details
-
OldStylePostOperationExample
public OldStylePostOperationExample()
-
-
Method Details
-
run
public void run(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.servlets.HtmlResponse response, org.apache.sling.servlets.post.SlingPostProcessor[] processors) - Specified by:
run
in interfaceorg.apache.sling.servlets.post.SlingPostOperation
-