Schnittstelle SlingJakartaPostProcessor

Alle bekannten Implementierungsklassen:
JavaxToSlingJakartaPostProcessor

@ConsumerType public interface SlingJakartaPostProcessor
The SlingJakartaPostProcessor interface defines a service API to be implemented by service providers extending the Sling default POST servlet. Service providers may register OSGi services of this type to be used by the Sling default POST servlet to handle specific operations.

During a request the SlingJakartaPostOperation service is called with a list of registered post processors. After the operation has performed its changes but before the changes are persisted, all post processors are called.

Seit:
2.5.0
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    process(org.apache.sling.api.SlingJakartaHttpServletRequest request, List<Modification> changes)
    Process the current request.
  • Methodendetails

    • process

      void process(org.apache.sling.api.SlingJakartaHttpServletRequest request, List<Modification> changes) throws Exception
      Process the current request. The post processor can inspect the list of changes and perform additional changes. If the processor performs a change it should make the change and add a Modification object to the changes list.
      Parameter:
      request - The current request.
      changes - The list of changes for this request.
      Löst aus:
      Exception - If an error occurs.