PostOperation
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 {@link #PROP_OPERATION_NAME} registration property giving the name(s) of theoperations supported by the service. The names will be used to find the actual operation from the {@link SlingPostConstants#RP_OPERATION :operation
} request parameter.
The Sling POST servlet itself provides various operations (see the OPERATION_
constants in the {@link SlingPostConstants}interface.These names should not be used by SlingPostOperation
service providers.
This interface replaces the old {@link SlingPostOperation} service interfaceadding support for extensible responses by means of the {@link PostResponse}interface as well as operation postprocessing.
Implementors of this interface are advised to extend the {@link AbstractPostOperation} class to benefit from various precossingsimplemented by that abstract class.
|
|