Package org.apache.sling.servlets.post
@Version("2.5.0")
package org.apache.sling.servlets.post
-
ClassDescriptionThe
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 JakartaPostResponse that can be subclassed by developers wishing to provide specialized behavior to an existing JakartaPostResponse instance.Deprecated.(SLING-6722): this class mixes Sling and JCR APIs which is not optimal as nowadays we favor the Sling APIs.Deprecated.UseAbstractJakartaPostResponse
instead.Deprecated.UseAbstractJakartaPostResponseWrapper
instead.Deprecated.as of 2.0.8 (Bundle version 2.2.0) and replaced byAbstractPostOperation
.Deprecated.UseJakartaHtmlResponse
instead.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 anAbstractJakartaPostResponse
preparing the response in JSON.Service interface which allows for custom node name generation for * resources.TheJakartaPostOperation
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 byJakartaPostOperation
services to prepare responses to be sent back to the client.Service interface which allows for alternate implementations of the JakartaPostResponse interface to be created as needed.Deprecated.UseJakartaJSONResponse
instead.Deprecated.UseJakartaNodeNameGenerator
instead.Deprecated.UseJakartaPostOperation
instead.Deprecated.UseJakartaPostResponse
insteadDeprecated.UseJakartaPostResponseCreator
instead.Deprecated.TheSlingJakartaPostProcessor
interface defines a service API to be implemented by service providers extending the Sling default POST servlet.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
.Deprecated.UseSlingJakartaPostProcessor
instead.Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.