Klasse NopOperation
java.lang.Object
org.apache.sling.servlets.post.impl.operations.NopOperation
- Alle implementierten Schnittstellen:
JakartaPostOperation
The
NopOperation class implements no operation at all. It just
sets the response status according to the :nopstatus parameter if
availables. Otherwise the status is set as 200/OK.-
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
-
NopOperation
public NopOperation()
-
-
Methodendetails
-
run
public void run(org.apache.sling.api.SlingJakartaHttpServletRequest request, JakartaPostResponse response, SlingJakartaPostProcessor[] processors) throws PreconditionViolatedPersistenceException, TemporaryPersistenceException 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.
-