- getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.
- 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.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 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 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 interface org.apache.sling.servlets.post.PostResponse
-
Returns the absolute path of the item upon which the request operated.
- 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) - 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.JSONResponse
-
- getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
-
Returns the referer as from the 'referer' request header.
- getReferer() - Method in interface org.apache.sling.servlets.post.PostResponse
-
- 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 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 interface org.apache.sling.servlets.post.PostResponse
-
- 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.
- 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(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
-
- onChange(String, String...) - Method in interface org.apache.sling.servlets.post.PostResponse
-
Records a generic change of the given type
with arguments.
- 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) - 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) - 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) - 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) - 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) - 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_AFTER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
- ORDER_BEFORE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
- 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.
- org.apache.sling.servlets.post - package org.apache.sling.servlets.post
-
- 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
-
- 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
-
- RP_CHECKIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
-
- 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, PostResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
-
Deprecated.
Prepares and finalizes the actual operation.
- run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
-
Deprecated.
- run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.PostOperation
-
Executes the operation provided by this service implementation.
- run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.SlingPostOperation
-
Deprecated.
Executes the operation provided by this service implementation.
- 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 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 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.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 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 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 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 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 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 interface org.apache.sling.servlets.post.PostResponse
-
Sets the title of the response message
- 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
-
- 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.
- 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.
- 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.