Class JavaxToJakartaPostOperation
java.lang.Object
org.apache.sling.servlets.post.impl.wrapper.JavaxToJakartaPostOperation
- All Implemented Interfaces:
JakartaPostOperation
-
Field Summary
Fields inherited from interface org.apache.sling.servlets.post.JakartaPostOperation
PROP_OPERATION_NAME, SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(org.apache.sling.api.SlingJakartaHttpServletRequest request, JakartaPostResponse response, SlingJakartaPostProcessor[] processors) Executes the operation provided by this service implementation.
-
Constructor Details
-
JavaxToJakartaPostOperation
-
-
Method Details
-
run
public void run(org.apache.sling.api.SlingJakartaHttpServletRequest request, JakartaPostResponse response, SlingJakartaPostProcessor[] processors) throws PreconditionViolatedPersistenceException, TemporaryPersistenceException, org.apache.sling.api.resource.PersistenceException Description copied from interface:JakartaPostOperationExecutes the operation provided by this service implementation. This method is called by the Sling POST servlet.- Specified by:
runin interfaceJakartaPostOperation- Parameters:
request- TheSlingJakartaHttpServletRequestobject providing the request input for the operation.response- TheJakartaPostResponseinto which the operation steps should be recorded.processors- TheSlingJakartaPostProcessorservices to be called after applying the operation. This may benullif there are none.- Throws:
PreconditionViolatedPersistenceException- when a necessary precondition failed, and a retry without further changes doesn't make sense.TemporaryPersistenceException- when a commit failed, but a retry could make the operation work successfully.org.apache.sling.api.resource.PersistenceException- when the commit fails
-