Interface JakartaPostOperation


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

The PostOperation service must be registered with a PROP_OPERATION_NAME registration property giving the name(s) of the operations supported by the service. The names will be used to find the actual operation from the :operation request parameter.

The Sling POST servlet itself provides various operations (see the OPERATION_ constants in the SlingPostConstants interface.These names should not be used by SlingPostOperation service providers.

This interface replaces the old JakartaPostOperation service interface adding support for extensible responses by means of the JakartaPostResponse interface as well as operation postprocessing.

Implementors of this interface are advised to extend the AbstractPostOperation class to benefit from various processings implemented by that abstract class.

Since:
2.5.0