Package org.apache.sling.servlets.post
@Version("2.5.0")
package org.apache.sling.servlets.post
-
ClassDescriptionThe
AbstractPostResponseclass provides a basic implementation of thePostResponseinterface 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.UseAbstractJakartaPostResponseinstead.Deprecated.UseAbstractJakartaPostResponseWrapperinstead.Deprecated.as of 2.0.8 (Bundle version 2.2.0) and replaced byAbstractPostOperation.Deprecated.UseJakartaHtmlResponseinstead.TheHtmlResponseis anAbstractPostResponsepreparing 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.TheJSONResponseis anAbstractJakartaPostResponsepreparing the response in JSON.Service interface which allows for custom node name generation for * resources.TheJakartaPostOperationinterface defines the service API to be implemented by service providers extending the Sling POST servlet.ThePostResponseinterface defines the API of a response container which can (and should) be used byJakartaPostOperationservices 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.UseJakartaJSONResponseinstead.Deprecated.UseJakartaNodeNameGeneratorinstead.Deprecated.UseJakartaPostOperationinstead.Deprecated.UseJakartaPostResponseinsteadDeprecated.UseJakartaPostResponseCreatorinstead.Deprecated.TheSlingJakartaPostProcessorinterface defines a service API to be implemented by service providers extending the Sling default POST servlet.TheSlingPostConstantsinterface 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.UseSlingJakartaPostProcessorinstead.Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.