AbstractPostOperation
.public abstract class AbstractSlingPostOperation extends AbstractPostOperation implements SlingPostOperation
AbstractSlingPostOperation
is the abstract base class
implementation of the SlingPostOperation
interface extending the new
AbstractPostOperation
.
This class exists for backwards compatibility. Existing implementations are
advised to migrate to the new AbstractPostOperation
.
PROP_OPERATION_NAME, SERVICE_NAME
PROP_OPERATION_NAME, SERVICE_NAME
Constructor and Description |
---|
AbstractSlingPostOperation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
run(SlingHttpServletRequest request,
HtmlResponse response,
SlingPostProcessor[] processors)
Deprecated.
Implementation of the
SlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
API method calling the
PostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])
with a proxy around the Sling API HtmlResponse provided. |
run
public void run(SlingHttpServletRequest request, HtmlResponse response, SlingPostProcessor[] processors)
SlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
API method calling the
PostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])
with a proxy around the Sling API HtmlResponse
provided.run
in interface SlingPostOperation
request
- The SlingHttpServletRequest
object providing
the request input for the operation.response
- The HtmlResponse
into which the operation
steps should be recorded.processors
- The SlingPostProcessor
services to be called
after applying the operation. This may be null
if
there are none.Copyright © 2010 - 2020 Adobe. All Rights Reserved