All Classes and Interfaces
Class
Description
The
AbstractPostResponse
class provides a basic implementation
of the PostResponse
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.
The
AbstractPostOperation
class is a base implementation of the
JakartaPostOperation
service interface providing actual implementations with
useful tooling and common functionality like preparing the change logs or
saving or refreshing.Deprecated.
Use
AbstractJakartaPostResponse
instead.Deprecated.
Use
AbstractJakartaPostResponseWrapper
instead.Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by
AbstractPostOperation
.The
CheckinOperation
class implements the
checkin
operation for the Sling default POST servlet.The
CheckoutOperation
class implements the
checkout
operation for the Sling default POST servlet.Chunk
encapsulates all chunk upload attributes.The
ChunkCleanUpTask
implements a job run at regular intervals
to find incomplete chunk uploads and remove them from the repository to
prevent littering the repository with incomplete chunks.The
CopyOperation
class implements the
copy
operation for the Sling default POST servlet.Takes a string representation of a time-date string and tries for parse it
using different formats.
Generates a node name based on a set of well-known request parameters
like title, description, etc.
The
DeleteOperation
class implements the
delete
operation for the Sling default POST servlet.Deprecated.
Deprecated.
Use
JakartaHtmlResponse
instead.Deprecated.
The
ImportOperation
class implements the
SlingPostConstants.OPERATION_IMPORT
import operation for the Sling default POST servlet.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.The
JSONResponse
is an AbstractJakartaPostResponse
preparing
the response in JSON.Service interface which allows for custom node name generation for * resources.
The
JakartaPostOperation
interface defines the service API to be
implemented by service providers extending the Sling POST servlet.The
PostResponse
interface defines the API of a response
container which can (and should) be used by JakartaPostOperation
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.
Use
JakartaJSONResponse
instead.The
ModifyOperation
class implements the default operation
called by the Sling default POST servlet if no operation is requested by the
client.The
MoveOperation
class implements the
move
operation for the Sling default POST servlet.Filter a String so that it can be used as a NodeName.
Deprecated.
Use
JakartaNodeNameGenerator
instead.The
NopOperation
class implements no operation at all.Deprecated.
Use
JakartaPostOperation
instead.Deprecated.
Use
JakartaPostResponse
insteadDeprecated.
Use
JakartaPostResponseCreator
instead.Deprecated.
Indicates that the input does not meet necessary precondition.
Takes a string representation of a node (either a path or a uuid) and tries to parse it.
Encapsulates all infos from the respective request parameters that are needed
to create the repository property
An input stream that reads from a list of resources that can be adapted into input streams.
The
RestoreOperation
class implements the
restore
operation for the Sling default POST servlet.Handles file uploads.
The
SlingJakartaPostProcessor
interface defines a service API to be
implemented by service providers extending the Sling default POST servlet.The
SlingPostConstants
interface provides constants for well
known parameters of the core SlingPostServlet.Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by
PostOperation
.Deprecated.
Use
SlingJakartaPostProcessor
instead.Sets a property on the given resource, in some cases with a specific type and
value.
Supports streamed uploads including where the stream is made up of partial body parts.
Parses Content-Range headers according to spec https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section 14.16
Content-Range = "Content-Range" ":" content-range-spec
content-range-spec = byte-content-range-spec
byte-content-range-spec = bytes-unit SP
byte-range-resp-spec "/"
( instance-length | "*" )
byte-range-resp-spec = (first-byte-pos "-" last-byte-pos)
| "*"
instance-length = 1*DIGIT
eg
bytes 0-1233/1234
bytes 500-1233/1234
bytes 500-1233/*
According to https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.12 "bytes" is the only valid range unit.
Performs a streamed modification of the content.
This exceptions indicates errors, which might be temporary and for which a retry
with the same parameters could work.
Data structure to hold the various options associated with how versionable
nodes are handled in the post servlet.