Package | Description |
---|---|
org.apache.sling.servlets.post |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPostResponse
The
AbstractPostResponse class provides a basic implementation
of the PostResponse interface maintaining properties to be
prepared for sending the response in an internal map. |
class |
HtmlResponse
The
HtmlResponse is an AbstractPostResponse preparing
the response in HTML (actually XHTML) such that it can be interpreted
as a plain response in a browser or as XML response in an Ajax request. |
class |
JSONResponse
The
JSONResponse is an AbstractPostResponse preparing
the response in JSON. |
Modifier and Type | Method and Description |
---|---|
PostResponse |
PostResponseWithErrorHandling.createPostResponse(SlingHttpServletRequest request) |
PostResponse |
PostResponseCreator.createPostResponse(SlingHttpServletRequest req) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSlingPostOperation.doRun(SlingHttpServletRequest request,
PostResponse response,
List<Modification> changes)
Deprecated.
Implementation of the
AbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)
method calling our own
AbstractSlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
meethod with a proxy for the Sling API HtmlResponse . |
protected abstract void |
AbstractPostOperation.doRun(SlingHttpServletRequest request,
PostResponse response,
List<Modification> changes)
Actually performs the desired operation filling progress into the
changes list and preparing and further information in the
response . |
void |
PostOperation.run(SlingHttpServletRequest request,
PostResponse response,
SlingPostProcessor[] processors)
Executes the operation provided by this service implementation.
|
void |
AbstractPostOperation.run(SlingHttpServletRequest request,
PostResponse response,
SlingPostProcessor[] processors)
Prepares and finalizes the actual operation.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.