Uses of Interface
org.apache.sling.api.SlingHttpServletRequest
Packages that use SlingHttpServletRequest
Package
Description
SPI for applications hooking into the configuration infrastructure for parameterizing and customizing.
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
-
Uses of SlingHttpServletRequest in org.apache.sling.api.request
Methods in org.apache.sling.api.request with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic boolean
RequestUtil.handleIfModifiedSince
(@NotNull SlingHttpServletRequest req, @NotNull javax.servlet.http.HttpServletResponse resp) Checks if the request contains a if-last-modified-since header and if the the request's underlying resource has a jcr:lastModified property. if the properties were modified before the header a 304 is sent otherwise the response last modified header is set. -
Uses of SlingHttpServletRequest in org.apache.sling.api.request.builder
Methods in org.apache.sling.api.request.builder that return SlingHttpServletRequestModifier and TypeMethodDescription@NotNull SlingHttpServletRequest
SlingHttpServletRequestBuilder.build()
Builds the request.Methods in org.apache.sling.api.request.builder with parameters of type SlingHttpServletRequestModifier and TypeMethodDescription@NotNull SlingHttpServletRequestBuilder
SlingHttpServletRequestBuilder.useRequestDispatcherFrom
(@NotNull SlingHttpServletRequest request) Uses the request dispatcher from the provided request. -
Uses of SlingHttpServletRequest in org.apache.sling.api.scripting
Methods in org.apache.sling.api.scripting that return SlingHttpServletRequestModifier and TypeMethodDescription@Nullable SlingHttpServletRequest
SlingBindings.getRequest()
@NotNull SlingHttpServletRequest
SlingScriptHelper.getRequest()
Returns theSlingHttpServletRequest
representing the input of the request.Methods in org.apache.sling.api.scripting with parameters of type SlingHttpServletRequest -
Uses of SlingHttpServletRequest in org.apache.sling.api.servlets
Methods in org.apache.sling.api.servlets with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionboolean
OptingServlet.accepts
(@NotNull SlingHttpServletRequest request) Examines the request, and returntrue
if this servlet is willing to handle the request.protected void
SlingAllMethodsServlet.doDelete
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP DELETE request.protected void
SlingSafeMethodsServlet.doGeneric
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle a request for an HTTP method, which is not known and handled by this class or its extension.protected void
SlingSafeMethodsServlet.doGet
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP GET request.protected void
SlingSafeMethodsServlet.doHead
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the HEAD method.protected void
SlingSafeMethodsServlet.doOptions
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the OPTIONS method by setting the HTTPAllow
header on the response depending on the methods declared in this class.protected void
SlingAllMethodsServlet.doPost
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP POST request.protected void
SlingAllMethodsServlet.doPut
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP PUT request.protected void
SlingSafeMethodsServlet.doTrace
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Handles the TRACE method by just returning the list of all header values in the response body.void
ErrorHandler.handleError
(int status, String message, SlingHttpServletRequest request, SlingHttpServletResponse response) Called to render a response for a HTTP status code.void
ErrorHandler.handleError
(Throwable throwable, SlingHttpServletRequest request, SlingHttpServletResponse response) Called to render a response for an uncaughtThrowable
.protected void
SlingSafeMethodsServlet.handleMethodNotImplemented
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.protected boolean
SlingAllMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Tries to handle the request by calling a Java method implemented for the respective HTTP request method.protected boolean
SlingSafeMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Tries to handle the request by calling a Java method implemented for the respective HTTP request method.@Nullable javax.servlet.Servlet
ServletResolver.resolveServlet
(@NotNull SlingHttpServletRequest request) Resolves ajavax.servlet.Servlet
whoseservice
method may be used to handle the givenrequest
.protected void
SlingSafeMethodsServlet.service
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Called by theSlingSafeMethodsServlet.service(ServletRequest, ServletResponse)
method to handle the HTTP request. -
Uses of SlingHttpServletRequest in org.apache.sling.api.uri
Methods in org.apache.sling.api.uri with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic @NotNull SlingUriBuilder
SlingUriBuilder.createFrom
(@NotNull SlingHttpServletRequest request) Creates a builder from a request. -
Uses of SlingHttpServletRequest in org.apache.sling.api.wrappers
Classes in org.apache.sling.api.wrappers that implement SlingHttpServletRequestModifier and TypeClassDescriptionclass
TheSlingHttpServletRequestWrapper
class is a default wrapper class around aSlingHttpServletRequest
which may be extended to amend the functionality of the original request object.Methods in org.apache.sling.api.wrappers that return SlingHttpServletRequestModifier and TypeMethodDescriptionSlingHttpServletRequestWrapper.getSlingRequest()
Return the originalSlingHttpServletRequest
object wrapped by this.Constructors in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequestModifierConstructorDescriptionSlingHttpServletRequestWrapper
(SlingHttpServletRequest wrappedRequest) Create a wrapper for the supplied wrappedRequest -
Uses of SlingHttpServletRequest in org.apache.sling.caconfig.impl.def
Methods in org.apache.sling.caconfig.impl.def with parameters of type SlingHttpServletRequestModifier and TypeMethodDescription@Nullable Resource
DefaultConfigurationInjectResourceDetectionStrategy.detectResource
(@NotNull SlingHttpServletRequest request) -
Uses of SlingHttpServletRequest in org.apache.sling.caconfig.spi
Methods in org.apache.sling.caconfig.spi with parameters of type SlingHttpServletRequestModifier and TypeMethodDescription@Nullable Resource
ConfigurationInjectResourceDetectionStrategy.detectResource
(@NotNull SlingHttpServletRequest request) Detects the resource that is associated with the given request. -
Uses of SlingHttpServletRequest in org.apache.sling.engine.impl.adapter
Classes in org.apache.sling.engine.impl.adapter that implement SlingHttpServletRequestModifier and TypeClassDescriptionclass
TheSlingServletRequestAdapter
class is aComponentRequestWrapper
which does not delegate to a wrappedComponentRequest
but to a wrappedHttpServletRequest
.Methods in org.apache.sling.engine.impl.adapter that return SlingHttpServletRequestConstructors in org.apache.sling.engine.impl.adapter with parameters of type SlingHttpServletRequestModifierConstructorDescriptionSlingServletRequestAdapter
(SlingHttpServletRequest delegatee, javax.servlet.http.HttpServletRequest request) -
Uses of SlingHttpServletRequest in org.apache.sling.engine.impl.debug
Methods in org.apache.sling.engine.impl.debug with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic void
RequestInfoProviderImpl.recordRequest
(SlingHttpServletRequest r) -
Uses of SlingHttpServletRequest in org.apache.sling.engine.impl.filter
Methods in org.apache.sling.engine.impl.filter with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected abstract void
AbstractSlingFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
ErrorFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
RequestSlingFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
SlingComponentFilterChain.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) -
Uses of SlingHttpServletRequest in org.apache.sling.engine.impl.request
Methods in org.apache.sling.engine.impl.request that return SlingHttpServletRequestModifier and TypeMethodDescriptionRequestData.getSlingRequest()
static SlingHttpServletRequest
RequestData.toSlingHttpServletRequest
(javax.servlet.ServletRequest request) static SlingHttpServletRequest
RequestData.unwrap
(javax.servlet.ServletRequest request) Unwraps the ServletRequest to a SlingHttpServletRequest.Methods in org.apache.sling.engine.impl.request with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic RequestData
RequestData.getRequestData
(SlingHttpServletRequest request) static void
RequestData.service
(SlingHttpServletRequest request, SlingHttpServletResponse response) Helper method to call the servlet for the current content data.static org.apache.sling.engine.impl.SlingHttpServletRequestImpl
RequestData.unwrap
(SlingHttpServletRequest request) Unwraps the SlingHttpServletRequest to a SlingHttpServletRequestImpl -
Uses of SlingHttpServletRequest in org.apache.sling.i18n
Methods in org.apache.sling.i18n with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionDefaultLocaleResolver.resolveLocale
(SlingHttpServletRequest request) Return the Locales provided by theServletRequest.getLocales()
method collected in aList
.LocaleResolver.resolveLocale
(SlingHttpServletRequest request) Deprecated.Return a non-null
but possiby empty list ofLocale
instances to consider for localization of the current request. -
Uses of SlingHttpServletRequest in org.apache.sling.jackrabbit.usermanager.impl.post
Methods in org.apache.sling.jackrabbit.usermanager.impl.post with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected AbstractPostResponse
AbstractPostServlet.createHtmlResponse
(SlingHttpServletRequest req) Deprecated.protected void
AbstractPostServlet.doPost
(SlingHttpServletRequest request, SlingHttpServletResponse httpResponse) protected final String
AbstractPostServlet.externalizePath
(SlingHttpServletRequest request, String path) Returns an external form of the given path prepending the context path and appending a display extension.protected String
AbstractPostServlet.getItemPath
(SlingHttpServletRequest request) Returns the path of the resource of the request as the item path.protected void
AbstractPostServlet.handleOperation
(SlingHttpServletRequest request, AbstractPostResponse response, List<Modification> changes) Deprecated.protected abstract void
AbstractPostServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Extending Servlet should implement this operation to do the workprotected void
ChangeUserPasswordServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CreateGroupServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CreateUserServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
DeleteAuthorizableServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
UpdateGroupServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
UpdateUserServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected boolean
AbstractPostServlet.isSetStatus
(SlingHttpServletRequest request) -
Uses of SlingHttpServletRequest in org.apache.sling.jcr.jackrabbit.accessmanager.post
Methods in org.apache.sling.jcr.jackrabbit.accessmanager.post with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected AbstractPostResponse
AbstractAccessPostServlet.createHtmlResponse
(SlingHttpServletRequest req) Deprecated.useAbstractAccessPostServlet.createPostResponse(SlingHttpServletRequest)
insteadprotected void
AbstractAccessGetServlet.doGet
(SlingHttpServletRequest request, SlingHttpServletResponse response) protected void
AbstractAccessPostServlet.doPost
(SlingHttpServletRequest request, SlingHttpServletResponse httpResponse) protected String
AbstractAccessPostServlet.externalizePath
(SlingHttpServletRequest request, String path) Returns an external form of the given path prepending the context path and appending a display extension.protected @Nullable String
AbstractAccessGetServlet.getItemPath
(SlingHttpServletRequest request) Return the path where the action should be appliedprotected String
AbstractAccessPostServlet.getItemPath
(SlingHttpServletRequest request) Returns the path of the resource of the request as the item path.protected @Nullable String
GetPrincipalAceServlet.getItemPath
(SlingHttpServletRequest request) ModifyAceServlet.getMatchedRequestParameterNames
(@NotNull SlingHttpServletRequest request, @NotNull Pattern pattern) Helper to return a filtered list of parameter names that match the patternprotected void
AbstractAccessPostServlet.handleOperation
(SlingHttpServletRequest request, AbstractPostResponse response, List<Modification> changes) Deprecated.protected abstract void
AbstractAccessPostServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Extending Servlet should implement this operation to do the workprotected void
DeleteAcesServlet.handleOperation
(SlingHttpServletRequest request, PostResponse htmlResponse, List<Modification> changes) protected void
ModifyAceServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected boolean
AbstractAccessPostServlet.isSetStatus
(SlingHttpServletRequest request) protected Set<LocalRestriction>
ModifyAceServlet.postedRestrictionsForPrivilege
(@NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull javax.jcr.security.Privilege forPrivilege, @NotNull org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet.PrivilegeValues forAllowOrDeny, @NotNull Set<LocalRestriction> generalRestrictions) Populate the restrictions that that were posted and applicable to the requested privilegeprotected void
ModifyAceServlet.processPostedPrivilegeAndRestrictionParams
(@NotNull javax.jcr.security.AccessControlManager acm, @NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull Map<javax.jcr.security.Privilege, LocalPrivilege> privilegeToLocalPrivilegesMap, @NotNull Map<javax.jcr.security.Privilege, Integer> privilegeLongestDepthMap) Merge into the privilegeToLocalPrivilegesMap the changes requested in privilege and restriction request parameters.protected void
ModifyAceServlet.processPostedPrivilegeDeleteParams
(@NotNull javax.jcr.security.AccessControlManager acm, @NotNull SlingHttpServletRequest request, @NotNull Map<javax.jcr.security.Privilege, LocalPrivilege> privilegeToLocalPrivilegesMap) Merge into the privilegeToLocalPrivilegesMap the changes requested in privilege delete request parameters.protected void
ModifyAceServlet.processPostedRestrictionDeleteParams
(@NotNull javax.jcr.security.AccessControlManager acm, @NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull Map<javax.jcr.security.Privilege, LocalPrivilege> privilegeToLocalPrivilegesMap) Merge into the privilegeToLocalPrivilegesMap the changes requested in restriction delete request parameters.protected LocalRestriction
ModifyAceServlet.toLocalRestriction
(@NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull String restrictionName, @NotNull String paramName) Construct a LocalRestriction using data a request parameter -
Uses of SlingHttpServletRequest in org.apache.sling.models.factory
Methods in org.apache.sling.models.factory with parameters of type SlingHttpServletRequestModifier and TypeMethodDescription<T> T
ModelFactory.createModelFromWrappedRequest
(@NotNull SlingHttpServletRequest request, @NotNull Resource resource, @NotNull Class<T> targetClass) Create a wrapped request object with the specified resource and instantiates the given Sling Model class from that wrapped request.<T> T
ModelFactory.exportModelForRequest
(@NotNull SlingHttpServletRequest request, @NotNull String exporterName, @NotNull Class<T> targetClass, @NotNull Map<String, String> options) Export the model object registered to the request's resource's type using the defined target class using the named exporter.@NotNull Object
ModelFactory.getModelFromRequest
(@NotNull SlingHttpServletRequest request) Obtain an adapted model class based on the resource type of the request's resource.<T> T
ModelFactory.getModelFromWrappedRequest
(@NotNull SlingHttpServletRequest request, @NotNull Resource resource, @NotNull Class<T> targetClass) Create a wrapped request object with the specified resource and (try to) adapt the request object into the specified class.boolean
ModelFactory.isModelAvailableForRequest
(@NotNull SlingHttpServletRequest request) Determine is a model class is available for the request's resource's resource type. -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.core
Methods in org.apache.sling.scripting.core that return SlingHttpServletRequestConstructors in org.apache.sling.scripting.core with parameters of type SlingHttpServletRequestModifierConstructorDescriptionScriptHelper
(org.osgi.framework.BundleContext ctx, SlingScript script, SlingHttpServletRequest request, SlingHttpServletResponse response) -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.core.impl.bundled
Methods in org.apache.sling.scripting.core.impl.bundled with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionorg.apache.sling.scripting.core.impl.bundled.ScriptContextProvider.ExecutableContext
ScriptContextProvider.prepareScriptContext
(SlingHttpServletRequest request, SlingHttpServletResponse response, org.apache.sling.scripting.core.impl.bundled.ExecutableUnit executable) -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.core.impl.helper
Classes in org.apache.sling.scripting.core.impl.helper that implement SlingHttpServletRequestConstructors in org.apache.sling.scripting.core.impl.helper with parameters of type SlingHttpServletRequest -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.jsp.util
Methods in org.apache.sling.scripting.jsp.util that return SlingHttpServletRequestModifier and TypeMethodDescriptionstatic SlingHttpServletRequest
TagUtil.getRequest
(javax.servlet.jsp.PageContext pageContext) -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.sightly.engine
Methods in org.apache.sling.scripting.sightly.engine with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic Resource
ResourceResolution.getResourceForRequest
(ResourceResolver resolver, SlingHttpServletRequest request) Resolves the resource accessed by arequest
. -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.sightly.impl.engine.extension
Methods in org.apache.sling.scripting.sightly.impl.engine.extension with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionExtensionUtils.setRequestAttributes
(SlingHttpServletRequest request, Map<String, Object> newRequestAttributes) Helper method for setting specific attributes in aSlingHttpServletRequest
scope -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.sightly.impl.utils
Methods in org.apache.sling.scripting.sightly.impl.utils that return SlingHttpServletRequestModifier and TypeMethodDescriptionstatic SlingHttpServletRequest
BindingsUtils.getRequest
(Bindings bindings) Retrieves theSlingHttpServletRequest
from aBindings
map. -
Uses of SlingHttpServletRequest in org.apache.sling.scripting.thymeleaf.internal.processor
Methods in org.apache.sling.scripting.thymeleaf.internal.processor with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected String
SlingIncludeAttributeTagProcessor.dispatch
(Resource resource, String path, SlingHttpServletRequest slingHttpServletRequest, SlingHttpServletResponse slingHttpServletResponse, RequestDispatcherOptions requestDispatcherOptions) -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.get.impl.helpers
Methods in org.apache.sling.servlets.get.impl.helpers with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected int
JsonRenderer.getMaxRecursionLevel
(SlingHttpServletRequest req) Get recursion level from selectors. as per SLING-167: the last selector, if present, gives the recursion level.protected boolean
JsonRenderer.hasSelector
(SlingHttpServletRequest req, String selectorToCheck) Checks if the provided request contains a certain selector.protected boolean
JsonRenderer.isTidy
(SlingHttpServletRequest req) True if our request wants the "tidy" pretty-printed formatvoid
HtmlRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
JsonRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
PlainTextRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
Renderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) void
StreamRenderer.render
(SlingHttpServletRequest request, SlingHttpServletResponse response) void
XMLRenderer.render
(SlingHttpServletRequest req, SlingHttpServletResponse resp) -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.post
Methods in org.apache.sling.servlets.post with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionPostResponseCreator.createPostResponse
(SlingHttpServletRequest req) PostResponseWithErrorHandling.createPostResponse
(SlingHttpServletRequest request) Deprecated.protected abstract void
AbstractPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Deprecated.Actually performs the desired operation filling progress into thechanges
list and preparing and further information in theresponse
.protected abstract void
AbstractSlingPostOperation.doRun
(SlingHttpServletRequest request, HtmlResponse response, List<Modification> changes) Deprecated.protected void
AbstractSlingPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Deprecated.Implementation of theAbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)
method calling our ownAbstractSlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
meethod with a proxy for the Sling APIHtmlResponse
.protected final String
AbstractPostOperation.externalizePath
(SlingHttpServletRequest request, String path) Deprecated.Returns an external form of the given path prepending the context path and appending a display extension.AbstractPostOperation.getApplyToResources
(SlingHttpServletRequest request) Deprecated.Returns an iterator onResource
instances addressed in theSlingPostConstants.RP_APPLY_TO
request parameter.protected String
AbstractPostOperation.getItemPath
(SlingHttpServletRequest request) Deprecated.Returns the path of the resource of the request as the item path.NodeNameGenerator.getNodeName
(SlingHttpServletRequest request, String parentPath, boolean requirePrefix, NodeNameGenerator defaultNodeNameGenerator) Get the to-be-created node name from the request.protected VersioningConfiguration
AbstractPostOperation.getVersioningConfiguration
(SlingHttpServletRequest request) Deprecated.Get the versioning configuration.protected boolean
PostResponseWithErrorHandling.isSendError
(SlingHttpServletRequest request) Deprecated.protected boolean
AbstractPostOperation.isSessionSaveRequired
(javax.jcr.Session session, SlingHttpServletRequest request) Deprecated.Check whether commit to the resource resolver should be called.protected boolean
AbstractPostOperation.isSkipCheckin
(SlingHttpServletRequest request) Deprecated.Check if checkin should be skippedprotected boolean
AbstractPostOperation.isSkipSessionHandling
(SlingHttpServletRequest request) Deprecated.Check whether changes should be written backprotected void
AbstractPostOperation.orderNode
(SlingHttpServletRequest request, javax.jcr.Item item, List<Modification> changes) Deprecated.Orders the given node according to the specified command.void
SlingPostProcessor.process
(SlingHttpServletRequest request, List<Modification> changes) Process the current request.protected final boolean
AbstractPostOperation.requireItemPathPrefix
(SlingHttpServletRequest request) Deprecated.Returns true if any of the request parameters starts with./
.void
AbstractPostOperation.run
(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) Deprecated.Prepares and finalizes the actual operation.void
AbstractSlingPostOperation.run
(SlingHttpServletRequest request, HtmlResponse response, SlingPostProcessor[] processors) Deprecated.Implementation of theSlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
API method calling thePostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])
with a proxy around the Sling APIHtmlResponse
provided.void
PostOperation.run
(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) Executes the operation provided by this service implementation.void
SlingPostOperation.run
(SlingHttpServletRequest request, HtmlResponse response, SlingPostProcessor[] processors) Deprecated.Executes the operation provided by this service implementation. -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.post.impl.helper
Methods in org.apache.sling.servlets.post.impl.helper with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionDefaultNodeNameGenerator.getNodeName
(SlingHttpServletRequest request, String basePath, boolean requirePrefix, NodeNameGenerator defaultNodeNameGenerator) Get a "nice" node name, if possible, based on given request -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.post.impl.operations
Methods in org.apache.sling.servlets.post.impl.operations with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected abstract void
AbstractPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Actually performs the desired operation filling progress into thechanges
list and preparing and further information in theresponse
.protected void
CheckinOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CheckoutOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
DeleteOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
ImportOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
ModifyOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
RestoreOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
StreamedUploadOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected final String
AbstractPostOperation.externalizePath
(SlingHttpServletRequest request, String path) Returns an external form of the given path prepending the context path and appending a display extension.AbstractPostOperation.getApplyToResources
(SlingHttpServletRequest request) Returns an iterator onResource
instances addressed in theSlingPostConstants.RP_APPLY_TO
request parameter.protected String
AbstractPostOperation.getResourcePath
(SlingHttpServletRequest request) Returns the path of the resource of the request as the resource path.protected String
ModifyOperation.getResourcePath
(SlingHttpServletRequest request) protected VersioningConfiguration
AbstractPostOperation.getVersioningConfiguration
(SlingHttpServletRequest request) Get the versioning configuration.protected boolean
DeleteOperation.isDeleteChunkRequest
(SlingHttpServletRequest request) Return true if request is to delete chunks.boolean
StreamedUploadOperation.isRequestStreamed
(SlingHttpServletRequest request) Check the request and return true if there is a parts iterator attribute present.protected boolean
AbstractPostOperation.isSkipCheckin
(SlingHttpServletRequest request) Check if checkin should be skippedprotected boolean
CheckinOperation.isSkipCheckin
(SlingHttpServletRequest request) Checkin operation always checks in.protected boolean
CheckoutOperation.isSkipCheckin
(SlingHttpServletRequest request) Checkout operation is always skipping checkin.protected void
AbstractPostOperation.orderResource
(SlingHttpServletRequest request, Resource resource, List<Modification> changes) Orders the given resource according to the specified command.void
AbstractPostOperation.run
(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) Prepares and finalizes the actual operation.void
NopOperation.run
(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors) -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.resolver.internal.bundle
Classes in org.apache.sling.servlets.resolver.internal.bundle that implement SlingHttpServletRequestConstructors in org.apache.sling.servlets.resolver.internal.bundle with parameters of type SlingHttpServletRequestModifierConstructorDescriptionRequestWrapper
(SlingHttpServletRequest wrappedRequest, Set<ResourceType> wiredResourceTypes) -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.resolver.internal.defaults
Methods in org.apache.sling.servlets.resolver.internal.defaults with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionprotected void
DefaultServlet.doGet
(SlingHttpServletRequest request, SlingHttpServletResponse response) -
Uses of SlingHttpServletRequest in org.apache.sling.servlets.resolver.internal.helper
Methods in org.apache.sling.servlets.resolver.internal.helper with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic ResourceCollector
ResourceCollector.create
(SlingHttpServletRequest request, String[] executionPaths, String[] defaultExtensions, boolean UseResourceCaching) Creates aResourceCollector
for the givenrequest
. -
Uses of SlingHttpServletRequest in org.apache.sling.validation.impl.postprocessor
Methods in org.apache.sling.validation.impl.postprocessor with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionvoid
ValidationPostProcessor.process
(SlingHttpServletRequest request, List<Modification> changes)
AbstractPostServlet.createPostResponse(SlingHttpServletRequest)
instead.