| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SlingPostOperation
The SlingPostOperation interface defines the 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.
 
 The SlingPostOperation 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
  request
 parameter.
 :operation
 The Sling default POST servlet defines the copy,
 move and delete operation names. These names
 should not be used by SlingPostOperation service providers.
| Field Summary | |
|---|---|
static java.lang.String | 
PROP_OPERATION_NAME
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation (value is "sling.post.operation").  | 
static java.lang.String | 
SERVICE_NAME
The name of the Sling POST operation service (value is "org.apache.sling.servlets.post.SlingPostOperation").  | 
| Method Summary | |
|---|---|
 void | 
run(SlingHttpServletRequest request,
    HtmlResponse response,
    SlingPostProcessor[] processors)
Executes the operation provided by this service implementation.  | 
| Field Detail | 
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String PROP_OPERATION_NAME
java.util.Collection of Strings.
 If multiple strings are defined, the service is registered for all
 operation names.
| Method Detail | 
|---|
void run(SlingHttpServletRequest request,
         HtmlResponse response,
         SlingPostProcessor[] processors)
request - The SlingHttpServletRequest object
            providing the request input for the operation.response - The HtmlResponse into which the operation
            steps should be recorded.
ResourceNotFoundException - May be
             thrown if the operation requires an existing request
             resource. If this exception is thrown the Sling default POST
             servlet sends back a 404/NOT FOUND response to
             the client.
SlingException - May be thrown if an error
             occurrs running the operation.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||