A C D E F G H I J L M N O P R S T V
All Classes All Packages
All Classes All Packages
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() - Constructor for class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.
- AbstractPostResponse - Class in org.apache.sling.servlets.post
-
The
AbstractPostResponseclass provides a basic implementation of thePostResponseinterface 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.
- 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 - org.apache.sling.servlets.post.ModificationType
-
A Node has been checked in.
- 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.
- CHUNK_NODE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
Constant for prefix for sling:chunk node name.
- clone() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
- COPY - org.apache.sling.servlets.post.ModificationType
-
An Item has been copied to a new location.
- 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
- 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_VALUE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
Suffix indicating a default value for a property (value is "@DefaultValue").
- DELETE - org.apache.sling.servlets.post.ModificationType
-
An Item has been deleted.
- 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
changeslist and preparing and further information in theresponse. - doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
-
Deprecated.Implementation of the
AbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)method calling our ownAbstractSlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])meethod with a proxy for the Sling APIHtmlResponse. - 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
- 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.
F
- 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
Resourceinstances addressed in theSlingPostConstants.RP_APPLY_TOrequest parameter. - 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.JSONResponse
- getError() - Method in interface org.apache.sling.servlets.post.PostResponse
-
Returns any recorded error or
null - 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.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Returns the location of the modification.
- getNodeName(SlingHttpServletRequest, String, boolean, NodeNameGenerator) - Method in interface org.apache.sling.servlets.post.NodeNameGenerator
-
Get the to-be-created node name from the request.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Returns the parent location of the modification.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Returns the absolute path of the item upon which the request operated.
- getProperty(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
-
Returns the generic response property with the given name and type or
nullif no such property exists. - 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
nullif no such property exists or the property is not of the requested type. - getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
-
Returns the referer as from the 'referer' request header.
- getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
- getReferer() - Method in interface org.apache.sling.servlets.post.PostResponse
-
Returns the referer previously set by
PostResponse.setReferer(String) - 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 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 interface org.apache.sling.servlets.post.PostResponse
-
Returns the status message or
nullif no has been set with thePostResponse.setStatus(int, String)method. - getType() - Method in class org.apache.sling.servlets.post.Modification
- getVersioningConfiguration(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.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.
- HtmlResponse - Class in org.apache.sling.servlets.post
-
The
HtmlResponseis 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. - HtmlResponse() - Constructor for class org.apache.sling.servlets.post.HtmlResponse
I
- 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
- isCreateRequest() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
-
Returns
trueif this was a create request. - isCreateRequest() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
- isCreateRequest() - Method in interface org.apache.sling.servlets.post.PostResponse
-
Returns
trueif this was a create request. - isSafeReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
- 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
- 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
- isSuccessful() - Method in class org.apache.sling.servlets.post.AbstractPostResponseWrapper
- isSuccessful() - Method in interface org.apache.sling.servlets.post.PostResponse
- isVersionable(Node) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.
- 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
- JSONResponse - Class in org.apache.sling.servlets.post
-
The
JSONResponseis anAbstractPostResponsepreparing 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
- log - Variable in class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.default log
M
- 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.
- MOVE - org.apache.sling.servlets.post.ModificationType
-
An Item has been moved to a new location.
N
- NodeNameGenerator - Interface in org.apache.sling.servlets.post
-
Service interface which allows for custom node name generation for * resources.
- NOPSTATUS_VALUE_DEFAULT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
The default response status sent back by a
SlingPostConstants.OPERATION_NOPif theSlingPostConstants.RP_NOP_STATUSparameter is not provided or the parameter value cannot be converted into a valid response status code (value is 200). - 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
- 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.JSONResponse
- onChange(String, String...) - Method in interface org.apache.sling.servlets.post.PostResponse
-
Records a generic change of the given
typewith 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) - 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) - 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) - 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) - 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) - 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_ORDERparameter indicating that the node by moved immediately after the sibbling whose name is contained in theSlingPostConstants.RP_ORDERparameter (value is "after "). - ORDER_BEFORE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
Possible value of the
SlingPostConstants.RP_ORDERparameter indicating that the node by moved immediately before the sibbling whose name is contained in theSlingPostConstants.RP_ORDERparameter (value is "before "). - ORDER_FIRST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
Possible value of the
SlingPostConstants.RP_ORDERparameter 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_ORDERparameter 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.
- org.apache.sling.servlets.post - package org.apache.sling.servlets.post
- org.apache.sling.servlets.post.exceptions - package org.apache.sling.servlets.post.exceptions
P
- 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
PostOperationinterface defines the service API to be implemented by service providers extending the Sling POST servlet. - PostResponse - Interface in org.apache.sling.servlets.post
-
The
PostResponseinterface defines the API of a response container which can (and should) be used byPostOperationservices 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, 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").
R
- 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.
- 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.
- 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.
- 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_IMPORToperation. - 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_IMPORToperation. - 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(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
-
Deprecated.Implementation of the
SlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])API method calling thePostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])with a proxy around the Sling APIHtmlResponseprovided. - 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 interface org.apache.sling.servlets.post.PostOperation
-
Executes the operation provided by this service implementation.
S
- 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 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
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets whether the request was a create request or not.
- 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.JSONResponse
- setError(Throwable) - Method in interface org.apache.sling.servlets.post.PostResponse
-
Sets the recorded error causing the operation to fail.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the location of this modification.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the parent location of the modification.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the absolute path of the item upon which the request operated.
- 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.JSONResponse
-
This method accepts values that correspond to json primitives or otherwise assumes that the toString() of the value can be parsed as json.
- 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the referer property
- 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 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the title of the response message
- SlingPostConstants - Interface in org.apache.sling.servlets.post
-
The
SlingPostConstantsinterface 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
SlingPostProcessorinterface defines a service API to be implemented by service providers extending the Sling default POST servlet. - 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_STATUSrequest 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_STATUSrequest parameter requesting to report success or failure of request processing using standard HTTP status codes. - 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").
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
- 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
All Classes All Packages