Klasse JakartaToJavaxPostOperation
java.lang.Object
org.apache.sling.servlets.post.impl.wrapper.JakartaToJavaxPostOperation
- Alle implementierten Schnittstellen:
PostOperation
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.sling.servlets.post.PostOperation
PROP_OPERATION_NAME, SERVICE_NAME -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidrun(org.apache.sling.api.SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) Executes the operation provided by this service implementation.
-
Konstruktordetails
-
JakartaToJavaxPostOperation
-
-
Methodendetails
-
run
public void run(org.apache.sling.api.SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) throws PreconditionViolatedPersistenceException, TemporaryPersistenceException, org.apache.sling.api.resource.PersistenceException Beschreibung aus Schnittstelle kopiert:PostOperationExecutes the operation provided by this service implementation. This method is called by the Sling POST servlet.- Angegeben von:
runin SchnittstellePostOperation- Parameter:
request- TheSlingHttpServletRequestobject providing the request input for the operation.response- ThePostResponseinto which the operation steps should be recorded.processors- TheSlingPostProcessorservices to be called after applying the operation. This may benullif there are none.- Löst aus:
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
-