Skip navigation links
A C D E F G H I J L M N O P R S T V 

A

AbstractPostOperation - Class in org.apache.sling.servlets.post
Deprecated. 
AbstractPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractPostOperation
Deprecated.
 
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
 
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

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
 
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").
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, 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.AbstractSlingPostOperation
Deprecated.
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 Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request 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.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
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 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
Returns the status message or null if no has been set with the PostResponse.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.

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 /.
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
 

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 true if this was a create request.
isCreateRequest() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns true if 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
Returns true if no error is set and if the status code is one of the 2xx codes.
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.
 
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 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

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
 

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_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_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.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
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.
org.apache.sling.servlets.post - package org.apache.sling.servlets.post
 

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 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.
 
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
 
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(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.

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 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
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.
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.

T

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
 
A C D E F G H I J L M N O P R S T V 
Skip navigation links

Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.