Klasse JavaxToJakartaPostOperation
java.lang.Object
org.apache.sling.servlets.post.impl.wrapper.JavaxToJakartaPostOperation
- Alle implementierten Schnittstellen:
JakartaPostOperation
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.sling.servlets.post.JakartaPostOperation
PROP_OPERATION_NAME, SERVICE_NAME -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidrun(org.apache.sling.api.SlingJakartaHttpServletRequest request, JakartaPostResponse response, SlingJakartaPostProcessor[] processors) Executes the operation provided by this service implementation.
-
Konstruktordetails
-
JavaxToJakartaPostOperation
-
-
Methodendetails
-
run
public void run(org.apache.sling.api.SlingJakartaHttpServletRequest request, JakartaPostResponse response, SlingJakartaPostProcessor[] processors) throws PreconditionViolatedPersistenceException, TemporaryPersistenceException, org.apache.sling.api.resource.PersistenceException Beschreibung aus Schnittstelle kopiert:JakartaPostOperationExecutes the operation provided by this service implementation. This method is called by the Sling POST servlet.- Angegeben von:
runin SchnittstelleJakartaPostOperation- Parameter:
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.- 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
-