Package org.apache.sling.servlets.post
@Version("2.4.0")
package org.apache.sling.servlets.post
-
ClassDescriptionDeprecated.(SLING-6722): this class mixes Sling and JCR APIs which is not optimal as nowadays we favor the Sling APIs.The
AbstractPostResponse
class provides a basic implementation of thePostResponse
interface maintaining properties to be prepared for sending the response in an internal map.Provides a simple implementation of PostResponse that can be subclassed by developers wishing to provide specialized behavior to an existing PostResponse instance.Deprecated.as of 2.0.8 (Bundle version 2.2.0) and replaced byAbstractPostOperation
.TheHtmlResponse
is anAbstractPostResponse
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.TheJSONResponse
is anAbstractPostResponse
preparing the response in JSON.Service interface which allows for custom node name generation for * resources.ThePostOperation
interface defines the service API to be implemented by service providers extending the Sling POST servlet.ThePostResponse
interface defines the API of a response container which can (and should) be used byPostOperation
services to prepare responses to be sent back to the client.Service interface which allows for alternate implementations of the PostResponse interface to be created as needed.Deprecated.TheSlingPostConstants
interface provides constants for well known parameters of the core SlingPostServlet.Deprecated.as of 2.0.8 (Bundle version 2.2.0) and replaced byPostOperation
.TheSlingPostProcessor
interface defines a service API to be implemented by service providers extending the Sling default POST servlet.Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.