A C D E F G H I J L M N O P R S T U V 
All Classes All Packages

A

AbstractPostOperation - Class in org.apache.sling.servlets.post
Deprecated.
(SLING-6722): this class mixes Sling and JCR APIs which is not optimal as nowadays we favor the Sling APIs. There's no intention to remove it however, if you're using JCR APIs anyways in your project it's fine to use it. Theres no public replacement for it as I write this.
AbstractPostOperation - Class in org.apache.sling.servlets.post.impl.operations
The AbstractPostOperation class is a base implementation of the PostOperation service interface providing actual implementations with useful tooling and common functionality like preparing the change logs or saving or refreshing.
AbstractPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
 
AbstractPostOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
 
AbstractPostResponse - Class in org.apache.sling.servlets.post
The AbstractPostResponse class provides a basic implementation of the PostResponse interface maintaining properties to be prepared for sending the response in an internal map.
AbstractPostResponse() - Constructor for class org.apache.sling.servlets.post.AbstractPostResponse
 
AbstractPostResponseWrapper - Class in org.apache.sling.servlets.post
Provides a simple implementation of PostResponse that can be subclassed by developers wishing to provide specialized behavior to an existing PostResponse instance.
AbstractPostResponseWrapper() - Constructor for class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
AbstractSlingPostOperation - Class in org.apache.sling.servlets.post
Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by AbstractPostOperation.
AbstractSlingPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
 
activate(ChunkCleanUpTask.Config) - Method in class org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask
 
ALLOWED_CHARS - Static variable in class org.apache.sling.servlets.post.impl.helper.NodeNameFilter
 
ATTR_SKIP_SESSION_HANDLING - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request attribute (not parameter) indicating that a post operation should not invoke the commit method on the resource resolver upon completion.

C

checkin(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
checkin(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
CHECKIN - org.apache.sling.servlets.post.ModificationType
A Node has been checked in.
CheckinOperation - Class in org.apache.sling.servlets.post.impl.operations
The CheckinOperation class implements the checkin operation for the Sling default POST servlet.
CheckinOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.CheckinOperation
 
CHECKOUT - org.apache.sling.servlets.post.ModificationType
A Node has been checked out.
checkoutIfNecessary(Node, List<Modification>, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
 
checkoutIfNecessary(Resource, List<Modification>, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
checkoutIfNecessary(Resource, List<Modification>, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
CheckoutOperation - Class in org.apache.sling.servlets.post.impl.operations
The CheckoutOperation class implements the checkout operation for the Sling default POST servlet.
CheckoutOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.CheckoutOperation
 
Chunk - Class in org.apache.sling.servlets.post.impl.helper
Chunk encapsulates all chunk upload attributes.
Chunk() - Constructor for class org.apache.sling.servlets.post.impl.helper.Chunk
 
chunk_cleanup_age() - Method in annotation type org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask.Config
 
CHUNK_NODE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for prefix for sling:chunk node name.
ChunkCleanUpTask - Class in org.apache.sling.servlets.post.impl.helper
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.
ChunkCleanUpTask() - Constructor for class org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask
 
ChunkCleanUpTask.Config - Annotation Type in org.apache.sling.servlets.post.impl.helper
 
clone() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
ContentRange(String) - Constructor for class org.apache.sling.servlets.post.impl.helper.StreamedChunk.ContentRange
 
copy(Object, Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
copy(Object, Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
Copy the src item into the dstParent node.
COPY - org.apache.sling.servlets.post.ModificationType
An Item has been copied to a new location.
CopyOperation - Class in org.apache.sling.servlets.post.impl.operations
The CopyOperation class implements the copy operation for the Sling default POST servlet.
CopyOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.CopyOperation
 
CREATE - org.apache.sling.servlets.post.ModificationType
A Node has been created.
createPostResponse(SlingHttpServletRequest) - Method in interface org.apache.sling.servlets.post.PostResponseCreator
 
createPostResponse(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.PostResponseWithErrorHandling
Deprecated.
 

D

DateParser - Class in org.apache.sling.servlets.post.impl.helper
Takes a string representation of a time-date string and tries for parse it using different formats.
DateParser() - Constructor for class org.apache.sling.servlets.post.impl.helper.DateParser
 
DEFAULT_CREATE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The suffix to the resource path used to indicate to automatically generate the name of the new item to create during a content creation request (value is "/").
DEFAULT_IGNORE - Static variable in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
DEFAULT_MAX_NAME_LENGTH - Static variable in class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
 
DEFAULT_NULL - Static variable in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
DEFAULT_VALUE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating a default value for a property (value is "@DefaultValue").
DefaultNodeNameGenerator - Class in org.apache.sling.servlets.post.impl.helper
Generates a node name based on a set of well-known request parameters like title, description, etc.
DefaultNodeNameGenerator() - Constructor for class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
 
DefaultNodeNameGenerator(String[], int) - Constructor for class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
 
DELETE - org.apache.sling.servlets.post.ModificationType
An Item has been deleted.
deleteChunks(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.SlingFileUploadHandler
Delete all chunks saved within a resource.
DeleteOperation - Class in org.apache.sling.servlets.post.impl.operations
The DeleteOperation class implements the delete operation for the Sling default POST servlet.
DeleteOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.DeleteOperation
 
doRun(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Actually performs the desired operation filling progress into the changes list and preparing and further information in the response.
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Actually performs the desired operation filling progress into the changes list and preparing and further information in the response.
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.CheckinOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.CheckoutOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.DeleteOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.ImportOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.ModifyOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.RestoreOperation
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.operations.StreamedUploadOperation
 
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.HtmlResponse
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.JSONResponse
 

E

execute(List<Modification>, Resource, String, String, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.impl.operations.CopyOperation
 
execute(List<Modification>, Resource, String, String, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.impl.operations.MoveOperation
 
externalizePath(SlingHttpServletRequest, String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Returns an external form of the given path prepending the context path and appending a display extension.
externalizePath(SlingHttpServletRequest, String) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Returns an external form of the given path prepending the context path and appending a display extension.

F

filter(String) - Method in class org.apache.sling.servlets.post.impl.helper.NodeNameFilter
 
findVersionableAncestor(Node) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
 

G

getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
getChunk() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getDefaultValues() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getDestination() - Method in class org.apache.sling.servlets.post.Modification
 
getError() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns any recorded error or null
getError() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getError() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getError() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getError() - Method in class org.apache.sling.servlets.post.JSONResponse
 
getError() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns any recorded error or null
getHtmlResponse() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getItem(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
getItem(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
getItemPath(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Returns the path of the resource of the request as the item path.
getLastChunk(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.SlingFileUploadHandler
getLength() - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Return length of the file parameter.
getLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the location of the modification.
getLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getLocation() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getLocation() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getLocation() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the location of the modification.
getName() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getNode(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
getNode(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
getNodeName(SlingHttpServletRequest, String, boolean, NodeNameGenerator) - Method in class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
Get a "nice" node name, if possible, based on given request
getNodeName(SlingHttpServletRequest, String, boolean, NodeNameGenerator) - Method in interface org.apache.sling.servlets.post.NodeNameGenerator
Get the to-be-created node name from the request.
getOffset() - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Return offset of the chunk.
getOperationName() - Method in class org.apache.sling.servlets.post.impl.operations.CopyOperation
 
getOperationName() - Method in class org.apache.sling.servlets.post.impl.operations.MoveOperation
 
getParentLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the parent location of the modification.
getParentLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getParentLocation() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getParentLocation() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getParentLocation() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the parent location of the modification.
getParentPath() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getPath() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the absolute path of the item upon which the request operated.
getPath() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getPath() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getPath() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getPath() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getPath() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the absolute path of the item upon which the request operated.
getPostResponse() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getProperty(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the generic response property with the given name and type or null if no such property exists.
getProperty(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getProperty(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getProperty(String) - Method in class org.apache.sling.servlets.post.JSONResponse
 
getProperty(String, Class<Type>) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the generic response property with the given name and type or null if no such property exists or the property is not of the requested type.
getProperty(String, Class<Type>) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getProperty(String, Class<Type>) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getPropertyType(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
getPropertyType(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the referer previously set by PostResponse.setReferer(String)
getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getReferer() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getReferer() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getReferer() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the referer previously set by PostResponse.setReferer(String)
getRepositorySource() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
get the source of a copy or move operation
getResourcePath(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Returns the path of the resource of the request as the resource path.
getResourcePath(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.ModifyOperation
 
getSource() - Method in class org.apache.sling.servlets.post.Modification
 
getStatusCode() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the status code of this instance.
getStatusCode() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getStatusCode() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getStatusCode() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getStatusCode() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the status code of this instance.
getStatusMessage() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
getStatusMessage() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
getStatusMessage() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
getStatusMessage() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
getStatusMessage() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the status message or null if no has been set with the PostResponse.setStatus(int, String) method.
getStringValues() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
Returns the assembled string array out of the provided request values and default values.
getType() - Method in class org.apache.sling.servlets.post.Modification
 
getTypeHint() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getValues() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
getValueToUse(RequestParameterMap, String) - Method in class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
Determine the value to use for the specified parameter.
getVersioningConfiguration(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Get the versioning configuration.
getVersioningConfiguration(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Get the versioning configuration.
getWrapped() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
Use this method to return an instance of the class being wrapped.

H

hasItemPathPrefix(String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Returns true if the name starts with either of the prefixes ./, ../ and /.
hasMultiValueTypeHint() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
hasRepositoryCopySource() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
if this is the source of a copy action
hasRepositoryMoveSource() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
If this is a target of a move operation
hasSession(ResourceResolver) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
hasSession(ResourceResolver) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
hasValues() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
HtmlPostResponseProxy - Class in org.apache.sling.servlets.post.impl.helper
Deprecated. 
HtmlPostResponseProxy(HtmlResponse) - Constructor for class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
HtmlResponse - Class in org.apache.sling.servlets.post
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.
HtmlResponse() - Constructor for class org.apache.sling.servlets.post.HtmlResponse
 
HtmlResponseProxy - Class in org.apache.sling.servlets.post.impl.helper
The HtmlResponseProxy extends the Sling API HtmlResponse overwriting all public methods and redirecting to a proxied PostResponse.
HtmlResponseProxy(PostResponse) - Constructor for class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 

I

ImportOperation - Class in org.apache.sling.servlets.post.impl.operations
The ImportOperation class implements the SlingPostConstants.OPERATION_IMPORT import operation for the Sling default POST servlet.
ImportOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.ImportOperation
 
INSTANCE - Static variable in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isAncestorOrSameNode(Node, Node) - Static method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
determines if the 2 nodes are in ancestor relationship or identical
isAutoCheckin() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isAutoCheckout() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isCheckinOnNewVersionableNode() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isChunkUpload() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
it this is a chunk upload?
isCompleted() - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Return true if request contains last chunk as a result upload should be finished.
isCreateRequest() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns true if this was a create request.
isCreateRequest() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
isCreateRequest() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
isCreateRequest() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
isCreateRequest() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns true if this was a create request.
isDelete() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
Determine the deletion status of this item
isDeleteChunkRequest(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.DeleteOperation
Return true if request is to delete chunks.
isFileNodeType(ResourceResolver, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isFileNodeType(ResourceResolver, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isFileUpload() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
isNewNode(Object) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isNewNode(Object) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isNode(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isNode(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isNodeType(Resource, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isNodeType(Resource, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isPatch() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
determines if this property is handled as multi-value property
isPropertyMandatory(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isPropertyMandatory(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isPropertyMultiple(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isPropertyMultiple(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isPropertyProtectedOrNewAutoCreated(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isPropertyProtectedOrNewAutoCreated(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
isRequestStreamed(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.StreamedUploadOperation
Check the request and return true if there is a parts iterator attribute present.
isSafeReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
determines if the referer has a proper referer including protocol
isSendError(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.PostResponseWithErrorHandling
Deprecated.
 
isSessionSaveRequired(Session, SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Check whether commit to the resource resolver should be called.
isSkipCheckin(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Check if checkin should be skipped
isSkipCheckin(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Check if checkin should be skipped
isSkipCheckin(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.CheckinOperation
Checkin operation always checks in.
isSkipCheckin(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.impl.operations.CheckoutOperation
Checkout operation is always skipping checkin.
isSkipSessionHandling(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Check whether changes should be written back
isSuccessful() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns true if no error is set and if the status code is one of the 2xx codes.
isSuccessful() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
isSuccessful() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
isSuccessful() - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
isSuccessful() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns true if no error is set and if the status code is one of the 2xx codes.
isVersionable(Node) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
 
isVersionable(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
isVersionable(Resource) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
ITEM_PREFIX_ABSOLUTE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with an absolute path (value is "/").
ITEM_PREFIX_RELATIVE_CURRENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with a path relative to the current request item (value is "./").
ITEM_PREFIX_RELATIVE_PARENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with a path relative to the parent of the request item (value is "../").

J

jcrEnabled() - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
jcrSsupport - Variable in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
The JCR support provides additional functionality if the resources a backed up by JCR.
JCRSupport - Class in org.apache.sling.servlets.post.impl.helper
 
JCRSupport() - Constructor for class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
JCRSupportImpl - Class in org.apache.sling.servlets.post.impl.helper
 
JCRSupportImpl() - Constructor for class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
JSONResponse - Class in org.apache.sling.servlets.post
The JSONResponse is an AbstractPostResponse preparing the response in JSON.
JSONResponse() - Constructor for class org.apache.sling.servlets.post.JSONResponse
 
JSONResponse.JSONResponseException - Exception in org.apache.sling.servlets.post
 
JSONResponseException(String, Throwable) - Constructor for exception org.apache.sling.servlets.post.JSONResponse.JSONResponseException
 
JSONResponseException(Throwable) - Constructor for exception org.apache.sling.servlets.post.JSONResponse.JSONResponseException
 

L

length - Variable in class org.apache.sling.servlets.post.impl.helper.StreamedChunk.ContentRange
 
log - Variable in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
default log
log - Variable in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Default logger

M

Modifiable() - Constructor for class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.Modifiable
 
Modification - Class in org.apache.sling.servlets.post
 
Modification(ModificationType, String, String) - Constructor for class org.apache.sling.servlets.post.Modification
 
ModificationType - Enum in org.apache.sling.servlets.post
 
MODIFY - org.apache.sling.servlets.post.ModificationType
Content has been created or updated.
ModifyOperation - Class in org.apache.sling.servlets.post.impl.operations
The ModifyOperation class implements the default operation called by the Sling default POST servlet if no operation is requested by the client.
ModifyOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.ModifyOperation
 
move(Object, Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
move(Object, Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
MOVE - org.apache.sling.servlets.post.ModificationType
An Item has been moved to a new location.
MoveOperation - Class in org.apache.sling.servlets.post.impl.operations
The MoveOperation class implements the move operation for the Sling default POST servlet.
MoveOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.MoveOperation
 

N

nextCounter() - Method in class org.apache.sling.servlets.post.impl.helper.DefaultNodeNameGenerator
 
node - Variable in class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.Modifiable
 
NodeNameFilter - Class in org.apache.sling.servlets.post.impl.helper
Filter a String so that it can be used as a NodeName.
NodeNameFilter() - Constructor for class org.apache.sling.servlets.post.impl.helper.NodeNameFilter
 
NodeNameGenerator - Interface in org.apache.sling.servlets.post
Service interface which allows for custom node name generation for * resources.
NopOperation - Class in org.apache.sling.servlets.post.impl.operations
The NopOperation class implements no operation at all.
NopOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.NopOperation
 
NOPSTATUS_VALUE_DEFAULT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The default response status sent back by a SlingPostConstants.OPERATION_NOP if the SlingPostConstants.RP_NOP_STATUS parameter is not provided or the parameter value cannot be converted into a valid response status code (value is 200).
NT_FILE - Static variable in class org.apache.sling.servlets.post.impl.operations.StreamedUploadOperation
 
NT_SLING_CHUNK_MIXIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:chunks mixin.
NT_SLING_CHUNK_NODETYPE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:chunk node type.
NT_SLING_CHUNK_OFFSET - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:offset property.
NT_SLING_CHUNKS_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:length property.
NT_SLING_FILE_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:fileLength property.

O

offset - Variable in class org.apache.sling.servlets.post.impl.helper.StreamedChunk.ContentRange
 
onChange(String, String...) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onChange(String, String...) - Method in class org.apache.sling.servlets.post.HtmlResponse
Records a generic change of the given type.
onChange(String, String...) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onChange(String, String...) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onChange(String, String...) - Method in class org.apache.sling.servlets.post.JSONResponse
 
onChange(String, String...) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a generic change of the given type with arguments.
onChange(ModificationType, String) - Static method in class org.apache.sling.servlets.post.Modification
 
onChange(ModificationType, String, String) - Static method in class org.apache.sling.servlets.post.Modification
 
onCheckin(String) - Static method in class org.apache.sling.servlets.post.Modification
 
onCheckout(String) - Static method in class org.apache.sling.servlets.post.Modification
 
onCopied(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'copied' change.
onCopied(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onCopied(String, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onCopied(String, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onCopied(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'copied' change.
onCopied(String, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'copied' change.
onCreated(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'created' change
onCreated(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onCreated(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onCreated(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onCreated(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'created' change
onCreated(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'created' change
onDeleted(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'deleted' change
onDeleted(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onDeleted(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onDeleted(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onDeleted(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'deleted' change
onDeleted(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'deleted' change
onModified(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'modified' change
onModified(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onModified(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onModified(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onModified(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'modified' change
onModified(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'modified' change
onMoved(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'moved' change.
onMoved(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
onMoved(String, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
onMoved(String, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
onMoved(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'moved' change.
onMoved(String, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'moved' change.
onOrder(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'order' change.
onRestore(String, String) - Static method in class org.apache.sling.servlets.post.Modification
 
OPERATION_CHECKIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined checkin operation (value is "checkin").
OPERATION_CHECKOUT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined checkout operation (value is "checkout").
OPERATION_COPY - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined copy operation (value is "copy").
OPERATION_DELETE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined delete operation (value is "delete").
OPERATION_IMPORT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined import operation (value is "import").
OPERATION_MODIFY - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined modify operation (value is "modify").
OPERATION_MOVE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined move operation (value is "move")
OPERATION_NOP - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined null operation (value is "nop").
OPERATION_RESTORE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined restore operation (value is "restore").
ORDER - org.apache.sling.servlets.post.ModificationType
A child Node has been reordered.
ORDER_AFTER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved immediately after the sibbling whose name is contained in the SlingPostConstants.RP_ORDER parameter (value is "after ").
ORDER_BEFORE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved immediately before the sibbling whose name is contained in the SlingPostConstants.RP_ORDER parameter (value is "before ").
ORDER_FIRST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved to the first position amongst its sibblings (value is "first").
ORDER_LAST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved to the last position amongst its sibblings (value is "last").
orderNode(SlingHttpServletRequest, Item, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Orders the given node according to the specified command.
orderNode(SlingHttpServletRequest, Resource, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
orderNode(SlingHttpServletRequest, Resource, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
Orders the given node according to the specified command.
org.apache.sling.servlets.post - package org.apache.sling.servlets.post
 
org.apache.sling.servlets.post.exceptions - package org.apache.sling.servlets.post.exceptions
 
org.apache.sling.servlets.post.impl.helper - package org.apache.sling.servlets.post.impl.helper
 
org.apache.sling.servlets.post.impl.operations - package org.apache.sling.servlets.post.impl.operations
 

P

parse(String) - Method in class org.apache.sling.servlets.post.impl.helper.DateParser
Parses the given source string and returns the respective calendar instance.
parse(String[]) - Method in class org.apache.sling.servlets.post.impl.helper.DateParser
Parses the given source strings and returns the respective calendar instances.
parse(Session, String[], boolean) - Static method in class org.apache.sling.servlets.post.impl.helper.ReferenceParser
Parses the given source strings and returns the respective reference value instances.
parse(Session, String, boolean) - Static method in class org.apache.sling.servlets.post.impl.helper.ReferenceParser
Parses the given source string and returns the correct Value object.
PATCH_ADD - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Indicates a value to be added to the named multi-value property if the property is being #patched.
PATCH_REMOVE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Indicates a value to be removed from the named multi-value property if the property is being #patched.
PN_ERROR - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the error property set by AbstractPostResponse.setError(Throwable)
PN_IS_CREATED - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the create status property set by AbstractPostResponse.setCreateRequest(boolean)
PN_LOCATION - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the location property set by AbstractPostResponse.setLocation(String)
PN_PARENT_LOCATION - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the parent location property set by AbstractPostResponse.setParentLocation(String)
PN_PATH - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the path property set by AbstractPostResponse.setPath(String)
PN_REFERER - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the referer property set by AbstractPostResponse.setReferer(String)
PN_STATUS_CODE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the status code property set by AbstractPostResponse.setStatus(int, String)
PN_STATUS_MESSAGE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the status message property set by AbstractPostResponse.setStatus(int, String)
PN_TITLE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the title property set by AbstractPostResponse.setTitle(String)
PostOperation - Interface in org.apache.sling.servlets.post
The PostOperation interface defines the service API to be implemented by service providers extending the Sling POST servlet.
PostResponse - Interface in org.apache.sling.servlets.post
The PostResponse interface defines the API of a response container which can (and should) be used by PostOperation services to prepare responses to be sent back to the client.
PostResponseCreator - Interface in org.apache.sling.servlets.post
Service interface which allows for alternate implementations of the PostResponse interface to be created as needed.
PostResponseWithErrorHandling - Class in org.apache.sling.servlets.post
Deprecated. 
PostResponseWithErrorHandling() - Constructor for class org.apache.sling.servlets.post.PostResponseWithErrorHandling
Deprecated.
 
PreconditionViolatedPersistenceException - Exception in org.apache.sling.servlets.post.exceptions
Indicates that the input does not meet necessary precondition.
PreconditionViolatedPersistenceException(String) - Constructor for exception org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException
 
PreconditionViolatedPersistenceException(String, Exception) - Constructor for exception org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException
 
PreconditionViolatedPersistenceException(String, Throwable, String, String) - Constructor for exception org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException
 
process(SlingHttpServletRequest, List<Modification>) - Method in interface org.apache.sling.servlets.post.SlingPostProcessor
Process the current request.
PROP_OPERATION_NAME - Static variable in interface org.apache.sling.servlets.post.PostOperation
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation.
PROP_OPERATION_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation (value is "sling.post.operation").
providesValue() - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
Checks if this property provides any values.

R

range - Variable in class org.apache.sling.servlets.post.impl.helper.StreamedChunk.ContentRange
 
read() - Method in class org.apache.sling.servlets.post.impl.helper.ResourceIteratorInputStream
 
ReferenceParser - Class in org.apache.sling.servlets.post.impl.helper
Takes a string representation of a node (either a path or a uuid) and tries to parse it.
ReferenceParser() - Constructor for class org.apache.sling.servlets.post.impl.helper.ReferenceParser
 
register(String) - Method in class org.apache.sling.servlets.post.impl.helper.DateParser
Registers a format string to the list of internally checked ones.
removeAndValidateWorkspace(String, Session) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Remove the workspace name, if any, from the start of the path and validate that the session's workspace name matches the path workspace name.
REPLACEMENT_CHAR - Static variable in class org.apache.sling.servlets.post.impl.helper.NodeNameFilter
 
RequestProperty - Class in org.apache.sling.servlets.post.impl.helper
Encapsulates all infos from the respective request parameters that are needed to create the repository property
RequestProperty(String) - Constructor for class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
requireItemPathPrefix(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Returns true if any of the request parameters starts with ./.
resolvePath(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Resolves the given path with respect to the current root path.
resource - Variable in class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.Modifiable
 
ResourceIteratorInputStream - Class in org.apache.sling.servlets.post.impl.helper
An input stream that reads from a list of resources that can be adapted into input streams.
ResourceIteratorInputStream(Iterator<Resource>) - Constructor for class org.apache.sling.servlets.post.impl.helper.ResourceIteratorInputStream
 
RESPONSE_CONTENT_TYPE - Static variable in class org.apache.sling.servlets.post.JSONResponse
 
RESTORE - org.apache.sling.servlets.post.ModificationType
A Node has been restored to a given version.
RestoreOperation - Class in org.apache.sling.servlets.post.impl.operations
The RestoreOperation class implements the restore operation for the Sling default POST servlet.
RestoreOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.RestoreOperation
 
RP_APPLY_TO - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter used to indicate the resource to apply the operation to (value is ":applyTo").
RP_APPLY_TO_CHUNKS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating request operation is applicable to chunks.
RP_AUTO_CHECKOUT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether versionable nodes should be checked in during an SlingPostConstants.OPERATION_IMPORT operation.
RP_CHECKIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether versionable nodes should be checked in during an SlingPostConstants.OPERATION_IMPORT operation.
RP_CONTENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the content to be imported by the 'import' operation.
RP_CONTENT_FILE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the file to be imported by the 'import' operation.
RP_CONTENT_TYPE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the content type of the content to be imported by the 'import' operation.
RP_DEST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter used to indicate the destination for the copy and move operations (value is ":dest").
RP_DISPLAY_EXTENSION - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: if provided, added at the end of the computed (or supplied) redirect URL
RP_NODE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request paramter specifying a node name for a newly created node (value is ":name").
RP_NODE_NAME_HINT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request paramter specifying a node name hint for a newly created node (value is ":nameHint").
RP_NOP_STATUS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter to indicate the actual response status to send back as a result of calling the #OPERATION_NOP (value is ":nopstatus").
RP_OPERATION - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The name of the parameter containing the operation to execute (value is ":operation").
RP_ORDER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter indicating the order of newly created nodes in creation, copy and move operation requests (value is ":order").
RP_PREFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for parameter names which control this POST (RP_ stands for "request param") (value is ":").
RP_REDIRECT_TO - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: redirect to the specified URL after POST
RP_REMOVE_EXISTING - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether the nodes existing outside the versioning graph should be removed.
RP_REPLACE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether the destination for a copy or move operation is to be replaced if existing (value is ":replace").
RP_REPLACE_PROPERTIES - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether the destination for a property change during an import operation is to be replaced if existing.
RP_SEND_ERROR - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: defines if to enable the error handling also for POST request.
RP_STATUS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: define how the response is sent back to the client.
RP_VERSION - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating the name or the label of the resource version.
run() - Method in class org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask
Executes the job.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
Executes the operation provided by this service implementation.
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
Prepares and finalizes the actual operation.
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.impl.operations.AbstractPostOperation
Prepares and finalizes the actual operation.
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.impl.operations.NopOperation
 
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.PostOperation
Executes the operation provided by this service implementation.

S

scheduler_concurrent() - Method in annotation type org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask.Config
 
scheduler_expression() - Method in annotation type org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask.Config
 
send(HttpServletResponse, boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
send(HttpServletResponse, boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
send(HttpServletResponse, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
send(HttpServletResponse, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
send(HttpServletResponse, boolean) - Method in interface org.apache.sling.servlets.post.PostResponse
Writes the response back over the provided HTTP channel.
SERVICE_NAME - Static variable in interface org.apache.sling.servlets.post.PostOperation
The name of the Sling POST operation service.
SERVICE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
The name of the Sling POST operation service.
setAutoCheckin(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setAutoCheckout(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setCheckinOnNewVersionableNode(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setChunk(Chunk) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setCompleted(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Set complete flag
setContentImporter(Object) - Method in class org.apache.sling.servlets.post.impl.operations.ImportOperation
 
setCreateRequest(boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets whether the request was a create request or not.
setCreateRequest(boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setCreateRequest(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setCreateRequest(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setCreateRequest(boolean) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets whether the request was a create request or not.
setDateParser(DateParser) - Method in class org.apache.sling.servlets.post.impl.operations.ModifyOperation
 
setDefaultValues(RequestParameter[]) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setDelete(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
Specifies whether this property should be deleted before any new content is to be set according to the values stored.
setError(Throwable) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.JSONResponse
 
setError(Throwable) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the recorded error causing the operation to fail.
setFile(Resource, RequestProperty, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.helper.SlingFileUploadHandler
Uses the file(s) in the request parameter for creation of new nodes.
setIgnoreBlanks(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setLength(long) - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Set length of file parameter.
setLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setLocation(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setLocation(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setLocation(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the location of this modification.
setOffsetValue(long) - Method in class org.apache.sling.servlets.post.impl.helper.Chunk
Set offset value.
setParentLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setParentLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setParentLocation(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setParentLocation(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setParentLocation(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the parent location of the modification.
setPatch(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setPath(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the absolute path of the item upon which the request operated.
setPath(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setPath(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setPath(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setPath(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the absolute path of the item upon which the request operated.
setPrimaryNodeType(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
setPrimaryNodeType(Object, String) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets a generic response property with the given
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.JSONResponse
This method accepts values that correspond to json primitives or otherwise assumes that the toString() of the value can be parsed as json.
setProperty(Resource, RequestProperty) - Method in class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler
Set property on given node, with some automatic values when user provides the field name but no value.
setReferer(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the referer property
setReferer(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setReferer(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setReferer(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setReferer(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the referer property
setRepositorySource(String, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
Sets the path of the repository item from which the content for this property is to be copied or moved.
setServletContext(ServletContext) - Method in class org.apache.sling.servlets.post.impl.helper.SlingFileUploadHandler
 
setServletContext(ServletContext) - Method in class org.apache.sling.servlets.post.impl.operations.ModifyOperation
 
setServletContext(ServletContext) - Method in class org.apache.sling.servlets.post.impl.operations.StreamedUploadOperation
 
setStatus(int, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
sets the response status code properties
setStatus(int, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setStatus(int, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setStatus(int, String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setStatus(int, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the response status code properties
setTitle(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the title of the response message
setTitle(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
 
setTitle(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlPostResponseProxy
Deprecated.
 
setTitle(String) - Method in class org.apache.sling.servlets.post.impl.helper.HtmlResponseProxy
 
setTitle(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the title of the response message
setTypedProperty(Object, String, String[], int, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
 
setTypedProperty(Object, String, String[], int, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
 
setTypeHintValue(String) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setUseDefaultWhenMissing(boolean) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
setValues(RequestParameter[]) - Method in class org.apache.sling.servlets.post.impl.helper.RequestProperty
 
SlingFileUploadHandler - Class in org.apache.sling.servlets.post.impl.helper
Handles file uploads.
SlingFileUploadHandler() - Constructor for class org.apache.sling.servlets.post.impl.helper.SlingFileUploadHandler
 
SlingPostConstants - Interface in org.apache.sling.servlets.post
The SlingPostConstants interface provides constants for well known parameters of the core SlingPostServlet.
SlingPostOperation - Interface in org.apache.sling.servlets.post
Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by PostOperation.
SlingPostProcessor - Interface in org.apache.sling.servlets.post
The SlingPostProcessor interface defines a service API to be implemented by service providers extending the Sling default POST servlet.
SlingPropertyValueHandler - Class in org.apache.sling.servlets.post.impl.helper
Sets a property on the given resource, in some cases with a specific type and value.
SlingPropertyValueHandler(DateParser, JCRSupport, List<Modification>) - Constructor for class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler
Constructs a property value handler
SlingPropertyValueHandler.Modifiable - Class in org.apache.sling.servlets.post.impl.helper
 
STAR_CREATE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
An alternative suffix to the resource path used to indicate to automatically generate the name of the new item to create during a content creation request (value is "/*").
STATUS_VALUE_BROWSER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The supported value for the SlingPostConstants.RP_STATUS request parameter requesting to not report success or failure of request processing using standard HTTP status codes but instead alwas set the status to 200/OK and only report the real success or failure status in the XHTML response.
STATUS_VALUE_STANDARD - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The supported value for the SlingPostConstants.RP_STATUS request parameter requesting to report success or failure of request processing using standard HTTP status codes.
store(Resource, List<Modification>) - Method in class org.apache.sling.servlets.post.impl.helper.StreamedChunk
Store the chunk in a file resource under a jcr:content sub node.
storeAsReference(Object, String, String[], int, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupportImpl
storeAsReference(Resource, Object, String, String[], int, boolean) - Method in class org.apache.sling.servlets.post.impl.helper.JCRSupport
Stores property value(s) as reference(s).
StreamedChunk - Class in org.apache.sling.servlets.post.impl.helper
Supports streamed uploads including where the stream is made up of partial body parts.
StreamedChunk(Part, Map<String, List<String>>, ServletContext) - Constructor for class org.apache.sling.servlets.post.impl.helper.StreamedChunk
Construct a chunk from the part and form fields.
StreamedChunk.ContentRange - Class in org.apache.sling.servlets.post.impl.helper
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.
StreamedUploadOperation - Class in org.apache.sling.servlets.post.impl.operations
Performs a streamed modification of the content.
StreamedUploadOperation() - Constructor for class org.apache.sling.servlets.post.impl.operations.StreamedUploadOperation
 
SUFFIX_COMPLETED - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating request contains last chunk and as a result upload should be finished.
SUFFIX_COPY_FROM - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named item is to be set from an item whose absolute or relative path is given in the parameter's value (value is "@CopyFrom").
SUFFIX_DELETE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named property is to be removed before applying any new content (value is "@Delete").
SUFFIX_IGNORE_BLANKS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that blank value or values for this property will be ignored.
SUFFIX_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating length of complete file.
SUFFIX_MOVE_FROM - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named item is to be set from an item whose absolute or relative path is given in the parameter's value (value is "@MoveFrom").
SUFFIX_OFFSET - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating offset of the chunk in request.
SUFFIX_PATCH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that a multi-value property is to be handled as an ordered set and the sent values start with either "+" or "-" to indicate wether a value should be added to or removed from the set.
SUFFIX_USE_DEFAULT_WHEN_MISSING - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the default value should be used when the property is not defined.

T

TemporaryPersistenceException - Exception in org.apache.sling.servlets.post.exceptions
This exceptions indicates errors, which might be temporary and for which a retry with the same parameters could work.
TemporaryPersistenceException(String, Exception) - Constructor for exception org.apache.sling.servlets.post.exceptions.TemporaryPersistenceException
 
TemporaryPersistenceException(String, Throwable, String, String) - Constructor for exception org.apache.sling.servlets.post.exceptions.TemporaryPersistenceException
 
toString() - Method in class org.apache.sling.servlets.post.Modification
 
TYPE_HINT_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating a type hint for the property (value is "@TypeHint").

U

unsetContentImporter(Object) - Method in class org.apache.sling.servlets.post.impl.operations.ImportOperation
 

V

VALUE_FROM_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
SLING-130, suffix that maps form field names to different JCR property names
valueMap - Variable in class org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.Modifiable
 
valueOf(String) - Static method in enum org.apache.sling.servlets.post.ModificationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.sling.servlets.post.ModificationType
Returns an array containing the constants of this enum type, in the order they are declared.
VersioningConfiguration - Class in org.apache.sling.servlets.post
Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.
VersioningConfiguration() - Constructor for class org.apache.sling.servlets.post.VersioningConfiguration
 
A C D E F G H I J L M N O P R S T U V 
All Classes All Packages