Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractResource - Class in org.apache.sling.api.resource
-
The
AbstractResourceis an abstract implementation of theResourceinterface. - AbstractResource() - Constructor for class org.apache.sling.api.resource.AbstractResource
- AbstractResourceVisitor - Class in org.apache.sling.api.resource
-
This visitor will traverse the given resource and all its children in a depth-first approach and call the
AbstractResourceVisitor.visit(Resource)method for each visited resource. - AbstractResourceVisitor() - Constructor for class org.apache.sling.api.resource.AbstractResourceVisitor
- accept(Resource) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
-
Visit the given resource and all its descendants.
- accepts(SlingHttpServletRequest) - Method in interface org.apache.sling.api.servlets.OptingServlet
-
Deprecated.Examines the request, and return
trueif this servlet is willing to handle the request. - accepts(SlingHttpServletRequest) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper.JakartaToJavaxOptingServletWrapper
- accepts(SlingJakartaHttpServletRequest) - Method in interface org.apache.sling.api.servlets.JakartaOptingServlet
-
Examines the request, and return
trueif this servlet is willing to handle the request. - accepts(SlingJakartaHttpServletRequest) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper.JavaxToJakartaOptingServletWrapper
- AccessSecurityException - Exception in org.apache.sling.api.security
-
Exception thrown by methods of
ResourceAccessSecurityThis exception is used to catch unpredictable situations in methods ofResourceAccessSecurity - AccessSecurityException() - Constructor for exception org.apache.sling.api.security.AccessSecurityException
-
Constructs a new instance of this class with
nullas its detail message. - AccessSecurityException(String) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
-
Constructs a new instance of this class with the specified detail message.
- AccessSecurityException(String, Throwable) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
-
Constructs a new instance of this class with the specified detail message and root cause.
- AccessSecurityException(Throwable) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
-
Constructs a new instance of this class with the specified root cause.
- adaptable - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether the resource provider supports adaptable.
- Adaptable - Interface in org.apache.sling.api.adapter
-
The
Adaptableinterface identifies objects which can be adapted to other types or representations of the same object. - ADAPTABLE_CLASSES - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
-
The service registration property listing the fully qualified names of classes which can be adapted by this adapter factory (value is "adaptables").
- ADAPTER_CLASSES - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
-
The service registration property listing the fully qualified names of classes to which this factory can adapt adaptables (value is "adapters").
- AdapterFactory - Interface in org.apache.sling.api.adapter
-
The
AdapterFactoryinterface defines the API for helpers which may be provided to enhance the adaptability of adaptable objects. - AdapterManager - Interface in org.apache.sling.api.adapter
-
The
AdapterManagerdefines the service interface for a manager for object adaption. - adaptTo(Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.Adaptable
-
Adapts the adaptable to another type.
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
adaptToon thewrapped resource. - adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxResponseWrapper
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaResponseWrapper
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- adaptTo(Iterator<Resource>, Class<T>) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Return an iterator for objects of the specified type.
- adaptTo(ResolveContext<T>, Class<AdapterType>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Adapts the provider to another type.
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.adapter.SlingAdaptable
-
Calls into the registered
AdapterManagerto adapt this object to the desiredtype. - adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.resource.SyntheticResource
-
Merges the original value map with one containing the single property "sling:resourceType".
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
-
Deprecated.
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletResponseWrapper
- ADDED - Enum constant in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
- addQueryParameter(String, String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Add a query parameter to the query of the URI.
- addSelector(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Add a selector to the URI.
- adjust(Consumer<SlingUriBuilder>) - Method in interface org.apache.sling.api.uri.SlingUri
-
Shortcut to adjust Sling URIs, e.g.
- append(String) - Method in class org.apache.sling.api.resource.path.PathBuilder
-
Appends a new path fragment
- APPLICATION_CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Allowed value for the
ResourceAccessSecurity.CONTEXTservice registration property. - ATTR_INCLUDE_CONTEXT_PATH - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.
- ATTR_INCLUDE_PATH_INFO - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.INCLUDE_PATH_INFOinstead - ATTR_INCLUDE_QUERY_STRING - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.INCLUDE_QUERY_STRINGinstead - ATTR_INCLUDE_REQUEST_URI - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.INCLUDE_REQUEST_URIinstead - ATTR_INCLUDE_SERVLET_PATH - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.INCLUDE_SERVLET_PATHinstead - ATTR_REQUEST_CONTENT - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the request attribute containing the
Resourceunderlying theServletwhich included the servlet currently being active (value is "org.apache.sling.api.include.resource"). - ATTR_REQUEST_JAKARTA_SERVLET - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the request attribute containing the
jakarta.servlet.Servletwhich included the servlet currently being active (value is "org.apache.sling.api.include.jakarta.servlet"). - ATTR_REQUEST_PATH_INFO - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the request attribute containing the
RequestPathInfounderlying theServletwhich included the servlet currently being active (value is "org.apache.sling.api.include.request_path_info"). - ATTR_REQUEST_SERVLET - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
SlingConstants.ATTR_REQUEST_JAKARTA_SERVLETinstead - ATTR_SCRIPT_RESOURCE_RESOLVER - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The name of the script context attribute holding the
ResourceResolverwhich has been used to resolve the script. - attributable - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether the resource provider supports attributes.
- AttributableResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - AUTH_ADMIN - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The authentication information property indicating to use an administrative login.
- AUTH_CLONE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The authentication information property indicating that an existing resource resolver is being cloned.
- AUTH_SERVICE_BUNDLE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The authentication information property referring to the bundle providing a service for which a resource provider is to be retrieved.
- authenticate(Map<String, Object>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Authenticate against the resource provider.
- AUTHENTICATE_LAZY - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Value for
ResourceProvider.PROPERTY_AUTHENTICATEindicating authentication is needed and will be done on demand. - AUTHENTICATE_NO - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Default value for
ResourceProvider.PROPERTY_AUTHENTICATE - AUTHENTICATE_REQUIRED - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Value for
ResourceProvider.PROPERTY_AUTHENTICATEindicating authentication is required. - Authenticator - Interface in org.apache.sling.api.auth
-
The
Authenticatorinterface defines the service interface which may be used by applications to enforce requests to be authenticated (seeAuthenticator.login(HttpServletRequest, HttpServletResponse)) or to end enforced authentication (seeAuthenticator.logout(HttpServletRequest, HttpServletResponse)). - authType - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
The auth handling for this provider.
- AuthType - Enum Class in org.apache.sling.api.resource.runtime.dto
-
Enumeration for the auth type of a resource provider.
B
- BatchResourceRemover(int) - Constructor for class org.apache.sling.api.resource.ResourceUtil.BatchResourceRemover
- build() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Deprecated.
- build() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseBuilder
-
Deprecated.
- build() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Builds the immutable SlingUri from this builder.
- Builders - Class in org.apache.sling.api.request.builder
-
Creates builders.
- buildJakartaRequest() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Builds the request.
- buildJakartaResponseResult() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseBuilder
-
Builds the response.
C
- cache(ValueMap) - Static method in class org.apache.sling.api.wrappers.ValueMapUtil
-
Decorates the given
ValueMapwith a caching layer. - call(SlingBindings, String, Object...) - Method in interface org.apache.sling.api.scripting.SlingScript
-
Evaluates this script using the bound variables as global variables to the script and then calls the given method with the arguments.
- canCreate(String, ResourceResolver) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a resource can be created at the path.
- canDelete(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a resource can be deleted at the path.
- canDeleteValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a value can be deleted
- canExecute(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a resource can be executed at the path.
- canOrderChildren(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether child resources can be ordered.
- canReadValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a value can be read
- canSetValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a value can be set
- canUpdate(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Check whether a resource can be updated at the path.
- CHANGE_ADDED - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
String constant for
ResourceChange.ChangeType.ADDED. - CHANGE_CHANGED - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
String constant for
ResourceChange.ChangeType.CHANGED. - CHANGE_PROVIDER_ADDED - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
String constant for
ResourceChange.ChangeType.PROVIDER_ADDED. - CHANGE_PROVIDER_REMOVED - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
String constant for
ResourceChange.ChangeType.PROVIDER_REMOVED. - CHANGE_REMOVED - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
String constant for
ResourceChange.ChangeType.REMOVED. - CHANGED - Enum constant in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
- CHANGES - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
Array of change types - optional.
- CHARACTER_ENCODING - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
The name of the optional property providing the character encoding of the resource if the resource is streamable and contains character data (value is "sling.characterEncoding").
- clear() - Method in class org.apache.sling.api.resource.ResourceMetadata
- clear() - Method in class org.apache.sling.api.scripting.LazyBindings
- clear() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- clear() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- clone() - Method in class org.apache.sling.api.resource.ResourceMetadata
- clone(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns a new
ResourceResolverinstance based on the givenauthenticationInfomap and the original authentication info used to create this instance. - clone(Map<String, Object>) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
ResourceResolverobtained by callingcloneon the wrapped resource resolver. - close() - Method in interface org.apache.sling.api.resource.DynamicResourceProvider
-
Deprecated.Close the resource provider.
- close() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Close this resource resolver.
- close() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- commit() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Persist all pending changes.
- commit() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- commit(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Commit all transient changes: create, delete and updates
- commit(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
-
Deprecated.Commit all transient changes: create, delete and updates
- compareTo(Path) - Method in class org.apache.sling.api.resource.path.Path
- compareTo(JakartaMediaRangeList.MediaRange) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- compareTo(MediaRangeList.MediaRange) - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- CompositeValueMap - Class in org.apache.sling.api.wrappers
-
Deprecated.Use
ValueMapUtil.merge(ValueMap...)instead. Note that it does not support the parametermerge = false. However, this could easily be achieved with another decorator that restricts the set of allowed keys. - CompositeValueMap(ValueMap, ValueMap) - Constructor for class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.Constructor
- CompositeValueMap(ValueMap, ValueMap, boolean) - Constructor for class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.Constructor
- contains(String) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList
-
Determines if this MediaRangeList contains a given media type.
- contains(String) - Method in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.Determines if this MediaRangeList contains a given media type.
- containsKey(Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- containsKey(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- containsKey(Object) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
- containsKey(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- containsValue(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- containsValue(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- CONTENT_LENGTH - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
The name of the optional property providing the content length of the resource if the resource is streamable (value is "sling.contentLength").
- CONTENT_TYPE - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
The name of the optional property providing the content type of the resource if the resource is streamable (value is "sling.contentType").
- CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
-
The name of the service registration property containing the context of this service.
- copy(ResolveContext<T>, String, String) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
This method copies the subgraph rooted at, and including, the resource at
srcAbsPathto the new location atdestAbsPathand adds it as a child node of the resource atdestAbsPath. - copy(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
This method copies the subgraph rooted at, and including, the resource at
srcAbsPathto the new location atdestAbsPathand adds it as a child node of the resource atdestAbsPath. - copy(String, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps the
Resourceobtained by callingcopyon the wrapped resource resolver. - create() - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder without any URI parameters set.
- create(Resource, String, Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Add a child resource to the given parent resource.
- create(Resource, String, Map<String, Object>) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps the
Resourceobtained by callingcreateon the wrapped resource resolver. - create(ResolveContext<T>, String, Map<String, Object>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Create a new resource at the given path.
- create(ResourceResolver, String, Map<String, Object>) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
-
Deprecated.Create a new resource at the given path.
- CREATE - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
The URI may be used to create resources at the resource identified by the Resource.
- createFrom(URI, ResourceResolver) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from an arbitrary URI.
- createFrom(RequestPathInfo) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from a RequestPathInfo instance .
- createFrom(Resource) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from a resource (only taking the resource path into account).
- createFrom(SlingJakartaHttpServletRequest) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from a request.
- createFrom(SlingUri) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from another SlingUri (clone and modify use case).
- createFrom(SlingHttpServletRequest) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Deprecated.
- createUniqueChildName(Resource, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Create a unique name for a child of the
parent. - CREATION_TIME - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
Returns the creation time of this resource in the repository in milliseconds (value is "sling.creationTime").
D
- decorate(Resource) - Method in interface org.apache.sling.api.resource.ResourceDecorator
-
Decorate a resource.
- decorate(Resource, HttpServletRequest) - Method in interface org.apache.sling.api.resource.ResourceDecorator
-
Deprecated.since 2.3.0 (and JCR Resource 2.1.0), this method will not be invoked.
- DeepReadModifiableValueMapDecorator - Class in org.apache.sling.api.wrappers
-
A value map wrapper which implements deep reading of properties based on the resource tree and also supports
ModifiableValueMap. - DeepReadModifiableValueMapDecorator(Resource, ValueMap) - Constructor for class org.apache.sling.api.wrappers.DeepReadModifiableValueMapDecorator
- DeepReadValueMapDecorator - Class in org.apache.sling.api.wrappers
-
A value map wrapper which implements deep reading of properties based on the resource tree.
- DeepReadValueMapDecorator(Resource, ValueMap) - Constructor for class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
- DEFAULT_ERROR_HANDLER_METHOD - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The HTTP "method" name of an error handler used as the default (value is "default").
- DEFAULT_ERROR_HANDLER_RESOURCE_TYPE - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The resource type used to select error handlers (value is "sling/servlet/errorhandler").
- DEFAULT_RESOURCE_TYPE - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The resource type of a registered servlet used as the default servlet if no other (more specific) servlet or script could be selected (value is "sling/servlet/default").
- delete(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Delete the resource Deleting a non existing resource leads to no operation nor exception.
- delete(Resource) - Method in class org.apache.sling.api.resource.ResourceUtil.BatchResourceRemover
- delete(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- delete(ResolveContext<T>, Resource) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Delete the resource at the given path.
- delete(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
-
Deprecated.Delete the resource at the given path.
- DELETE - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
The URI may be used to delete the resource.
- destroy() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper
- destroy() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- destroy() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper
- destroy() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- dispose() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Deprecated.This method is deprecated since version 2.1 and will be removed. It should never be called by clients.
- doDelete(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Called by the
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP DELETE request. - doDelete(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Called by the
SlingJakartaAllMethodsServlet.mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method to handle an HTTP DELETE request. - doFilter(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper.FilterChainWrapper
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper
- doFilter(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper.FilterChainWrapper
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper
- doGeneric(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Called by the
SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)method to handle a request for an HTTP method, which is not known and handled by this class or its extension. - doGeneric(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Called by the
SlingJakartaSafeMethodsServlet.service(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method to handle a request for an HTTP method, which is not known and handled by this class or its extension. - doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Called by the
SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP GET request. - doGet(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Called by the
SlingJakartaSafeMethodsServlet.mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method to handle an HTTP GET request. - doHead(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Handles the HEAD method.
- doHead(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Handles the HEAD method.
- done() - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Call this when done processing the request - only the first call of this method is processed, all further calls to this method are ignored.
- doOptions(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Handles the OPTIONS method by setting the HTTP
Allowheader on the response depending on the methods declared in this class. - doOptions(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Handles the OPTIONS method by setting the HTTP
Allowheader on the response depending on the methods declared in this class. - doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Called by the
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP POST request. - doPost(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Called by the
SlingJakartaAllMethodsServlet.mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method to handle an HTTP POST request. - doPut(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Called by the
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP PUT request. - doPut(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Called by the
SlingJakartaAllMethodsServlet.mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method to handle an HTTP PUT request. - doTrace(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Handles the TRACE method by just returning the list of all header values in the response body.
- doTrace(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Handles the TRACE method by just returning the list of all header values in the response body.
- dump(PrintWriter) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Dumps the process timer entries to the given writer, one entry per line.
- DynamicResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider
E
- EMPTY - Static variable in interface org.apache.sling.api.resource.ValueMap
-
Empty immutable value map.
- EMPTY_CONTEXT - Static variable in interface org.apache.sling.spi.resource.provider.ResourceContext
-
"Empty" instance, not providing any additional information.
- EMPTY_SET - Static variable in class org.apache.sling.api.resource.path.PathSet
-
Empty path set.
- entrySet() - Method in class org.apache.sling.api.resource.ResourceMetadata
- entrySet() - Method in class org.apache.sling.api.scripting.LazyBindings
- entrySet() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- entrySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- equals(Object) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- equals(Object) - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- equals(Object) - Method in class org.apache.sling.api.resource.path.Path
- equals(Object) - Method in class org.apache.sling.api.resource.path.PathSet
- equals(Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- equals(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- equals(String) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- equals(String) - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- ERROR_EXCEPTION - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_EXCEPTIONinstead - ERROR_EXCEPTION_TYPE - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_EXCEPTION_TYPEinstead - ERROR_MESSAGE - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_MESSAGEinstead - ERROR_REQUEST_URI - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_REQUEST_URIinstead - ERROR_SERVLET_NAME - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_SERVLET_NAMEinstead - ERROR_STATUS - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use
RequestDispatcher.ERROR_STATUS_CODEinstead - ErrorHandler - Interface in org.apache.sling.api.servlets
-
Deprecated.Use
JakartaErrorHandlerinstead. - escapeName(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Escapes the given
namefor use in a resource name. - escapeXml(String) - Static method in class org.apache.sling.api.request.ResponseUtil
-
Escape XML text
- eval(SlingBindings) - Method in interface org.apache.sling.api.scripting.SlingScript
-
Evaluates this script using the bound variables as global variables to the script.
- EVENT_DESTROY - Enum constant in enum class org.apache.sling.api.request.SlingJakartaRequestEvent.EventType
- EVENT_DESTROY - Enum constant in enum class org.apache.sling.api.request.SlingRequestEvent.EventType
-
Deprecated.
- EVENT_INIT - Enum constant in enum class org.apache.sling.api.request.SlingJakartaRequestEvent.EventType
- EVENT_INIT - Enum constant in enum class org.apache.sling.api.request.SlingRequestEvent.EventType
-
Deprecated.
- EXCLUDED_PATHS_CHANGED - Static variable in interface org.apache.sling.spi.resource.provider.ProviderContext
-
This bit is set in
ResourceProvider.update(long)if exclude paths changed. - EXTERNAL - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Scope
-
A External URI safe to be used by the requesting client in a external context.
- ExternalizableInputStream - Interface in org.apache.sling.api.resource.external
-
This interface is normally used to extend an InputStream to indicate that it has a URI form that could be used in place of the InputStream if desired.
- ExternalResourceChangeListener - Interface in org.apache.sling.api.resource.observation
-
This is a marker interface to receive external events.
F
- failedProviders - Variable in class org.apache.sling.api.resource.runtime.dto.RuntimeDTO
-
DTOs for all inactive/failed providers.
- FailureReason - Enum Class in org.apache.sling.api.resource.runtime.dto
-
Failure reason for a failed resource provider.
- FilterChainWrapper(FilterChain) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper.FilterChainWrapper
- FilterChainWrapper(FilterChain) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper.FilterChainWrapper
- findResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Searches for resources using the given query formulated in the given language.
- findResources(String, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Iteratorobtained by callingfindResourceson the wrapped resource resolver. - findResources(ResolveContext<T>, String, String) - Method in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider
-
Searches for resources using the given query formulated in the given language.
- findResources(ResourceResolver, String, String) - Method in interface org.apache.sling.api.resource.QueriableResourceProvider
-
Deprecated.Searches for resources using the given query formulated in the given language.
- findResourceSuperType(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.
- findScript(ResourceResolver, String) - Method in interface org.apache.sling.api.scripting.SlingScriptResolver
-
Deprecated.Finds the
SlingScriptfor the given name. - FLUSH - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable indicating whether the output used by the script should be flushed after the script evaluation ended normally (value is "flush").
- forward(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Same as
SlingScriptHelper.forward(String,RequestDispatcherOptions), but using empty options. - forward(String, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to forward the request to a Servlet or script for the given
pathandrequestDispatcherOptions. - forward(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to forward the request to a Servlet or script for the given
pathandoptions. - forward(Resource) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Same as
SlingScriptHelper.forward(Resource,RequestDispatcherOptions), but using empty options. - forward(Resource, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to forward the request to a Servlet or script for the given
resourceandrequestDispatcherOptions. - forward(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to forward the request to a Servlet or script for the given
resourceandoptions. - fromPathCollection(Collection<Path>) - Static method in class org.apache.sling.api.resource.path.PathSet
-
Create a path set from a collection of path objects
- fromPaths(Path...) - Static method in class org.apache.sling.api.resource.path.PathSet
-
Create a path set from a collection of path objects
- fromStringCollection(Collection<String>) - Static method in class org.apache.sling.api.resource.path.PathSet
-
Create a path set from a collection of strings
- fromStrings(String...) - Static method in class org.apache.sling.api.resource.path.PathSet
-
Create a path set from a collection of strings
G
- get() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the contents of the parameter as an array of bytes.
- get(String, Class<T>) - Method in interface org.apache.sling.api.resource.ValueMap
-
Get a named property and convert it into the given type.
- get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.Get a named property and convert it into the given type.
- get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
- get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
-
Get a named property and convert it into the given type.
- get(String, T) - Method in interface org.apache.sling.api.resource.ValueMap
-
Get a named property and convert it into the given type.
- get(String, T) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.Get a named property and convert it into the given type.
- get(String, T) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
- get(String, T) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
-
Get a named property and convert it into the given type.
- get(Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- get(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- get(Object) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
- get(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- get(String, Class<ObjectType>) - Method in class org.apache.sling.api.scripting.SlingBindings
-
Helper method to get an object with a given type from this map.
- getAdapter(Object, Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.AdapterFactory
-
Adapt the given object to the adaptable type.
- getAdapter(Object, Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.AdapterManager
-
Returns an adapter object of the requested
AdapterTypefor the givenadaptableobject. - getAddedPropertyNames() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Deprecated.As there is no guarantee that this information is contained in the change event, this should not be used anymore.
- getAddSelectors() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_ADD_SELECTORSoption ornullif not set. - getAdministrativeResourceProvider(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceProviderFactory
-
Deprecated.as of 2.4 (bundle version 2.5.0) because of inherent security issues. Implementations may implement this method at their discretion but must support the new service based resource provider generation in the
ResourceProviderFactory.getResourceProvider(Map)method honoring theResourceProviderFactory.SERVICE_BUNDLEandResourceResolverFactory.SUBSERVICEproperties. - getAdministrativeResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Deprecated.as of 2.4 (bundle version 2.5.0) because of inherent security issues. Services requiring specific permissions should use the
ResourceResolverFactory.getServiceResourceResolver(Map)instead. - getAllMappings(String) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Returns all possible mappings for a given
resourcePathas paths. - getAllMappings(String, HttpServletRequest) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Returns all possible mappings for a given
resourcePathas URLs. - getAllMappings(String, HttpServletRequest) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Deprecated.
- getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Helper method called by
SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse)to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request. - getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Helper method called by
SlingJakartaSafeMethodsServlet.doOptions(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request. - getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Helper method called by
SlingJakartaSafeMethodsServlet.doOptions(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request. - getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Helper method called by
SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse)to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request. - getAttribute(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns the value of the given resource resolver attribute or
nullif the attribute is not set (or not visible as is the case of theResourceResolverFactory.PASSWORDor other security sensitive attributes). - getAttribute(String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getAttribute(ResolveContext<T>, String) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Returns the value of the given resource provider attribute or
nullif the attribute is not set or not visible (as e.g. - getAttribute(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.AttributableResourceProvider
-
Deprecated.Returns the value of the given resource provider attribute or
nullif the attribute is not set or not visible (as e.g. - getAttributeNames() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns an iterator of attribute names whose value can be retrieved calling the
ResourceResolver.getAttribute(String)method. - getAttributeNames() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getAttributeNames(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Returns a collection of attribute names whose value can be retrieved calling the
ResourceProvider.getAttribute(ResolveContext, String)method. - getAttributeNames(ResourceResolver) - Method in interface org.apache.sling.api.resource.AttributableResourceProvider
-
Deprecated.Returns a collection of attribute names whose value can be retrieved calling the
AttributableResourceProvider.getAttribute(ResourceResolver, String)method. - getAuthType() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the name of the authentication scheme used to protect the servlet.
- getAuthType() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the name of the authentication scheme used to protect the servlet.
- getBatchResourceRemover(int) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Create a batch resource remover.
- getChangedPropertyNames() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Deprecated.As there is no guarantee that this information is contained in the change event, this should not be used anymore.
- getChangeTypes() - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
The set of types listeners are interested in.
- getCharacterEncoding() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getChild(String) - Method in interface org.apache.sling.api.resource.Resource
-
Returns the child at the given relative path of this resource or
nullif no such child exists. - getChild(String) - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getChildon thewrapped resource. - getChild(String) - Method in class org.apache.sling.api.resource.AbstractResource
-
Returns the indicated child of this resource.
- getChildren() - Method in class org.apache.sling.api.resource.AbstractResource
- getChildren() - Method in interface org.apache.sling.api.resource.Resource
-
Returns an iterable of the direct children of this resource.
- getChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
- getChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
- getChildren(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Iterableobtained by callinggetChildrenon the wrapped resource resolver. - getContentLength() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets the content length
- getContentLength() - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets the content length
- getContentLength() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getContentType() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the content type passed by the browser or
nullif not defined. - getContentType() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getContextPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Return the context path for r, using the appropriate request attribute if the request is an included one.
- getContextPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- getCookie(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets the named cookie.
- getCookie(String) - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets the named cookie.
- getCookie(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the named cookie from the HTTP request or
nullif no such cookie exists in the request. - getCookie(String) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the named cookie from the HTTP request or
nullif no such cookie exists in the request. - getCookie(String) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getCookie(String) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getCookie(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getCookie(String) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getCookies() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets all cookies.
- getCookies() - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets all cookies.
- getCreationTime() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getDuration() - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Get the duration in nano seconds.
- getError() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns any recorded error or
null - getExcludedPaths() - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
The set of excluded paths.
- getExcludedPaths() - Method in interface org.apache.sling.spi.resource.provider.ProviderContext
-
Set of paths which are "hidden" by other resource providers.
- getExtension() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Returns the extension from the URL or
nullif the request URL does not contain an extension. - getExtension() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the extension.
- getExtension() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the extension.
- getExtension() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getFileName() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getFilter() - Method in exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
- getFlush() - Method in class org.apache.sling.api.scripting.SlingBindings
- getForceResourceType() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPEoption ornullif not set. - getFragment() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the fragment.
- getFragment() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the fragment.
- getHost() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the host.
- getHost() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the host.
- getInputStream() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns an InputStream that can be used to retrieve the contents of the file.
- getJakartaRequest() - Method in class org.apache.sling.api.scripting.SlingBindings
-
Returns the
SlingBindings.JAKARTA_REQUESTproperty if notnulland aSlingJakartaHttpServletRequestinstance. - getJakartaRequest() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Returns the
SlingJakartaHttpServletRequestrepresenting the input of the request. - getJakartaResponse() - Method in class org.apache.sling.api.scripting.SlingBindings
-
Returns the
SlingBindings.JAKARTA_RESPONSEproperty if notnulland aSlingJakartaHttpServletResponseinstance. - getJakartaResponse() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Returns the
SlingJakartaHttpServletResponserepresenting the output of the request. - getLanguage() - Method in exception org.apache.sling.api.resource.QuerySyntaxException
- getLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the location of the modification.
- getLog() - Method in class org.apache.sling.api.scripting.SlingBindings
- getMapping(String) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Returns a path mapped from the (resource) path applying the reverse mapping used by the
ResourceResolver.resolve(String)such that when the path is given to theResourceResolver.resolve(String)method the same resource is returned. - getMapping(String, HttpServletRequest) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Returns an URL mapped from the (resource) path applying the reverse mapping used by the
ResourceResolver.resolve(HttpServletRequest, String)such that when the path is given to theResourceResolver.resolve(HttpServletRequest, String)method the same resource is returned. - getMapping(String, HttpServletRequest) - Method in interface org.apache.sling.api.resource.mapping.ResourceMapper
-
Deprecated.
- getMessages() - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Returns an
Iteratorof tracking entries. - getModificationTime() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getName() - Method in interface org.apache.sling.api.request.RequestParameter
- getName() - Method in class org.apache.sling.api.resource.AbstractResource
-
Returns the name of this resource.
- getName() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the name of this resource.
- getName() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getNameon thewrapped resource. - getName(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Utility method returns the name of the given
path, which is normalized byResourceUtil.normalize(String)before resolving the name. - getName(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.since 2.1.0, use
Resource.getName()instead - getObservationReporter() - Method in interface org.apache.sling.spi.resource.provider.ProviderContext
-
Get the observation reporter for this instance.
- getObserverConfigurations() - Method in interface org.apache.sling.spi.resource.provider.ObservationReporter
-
Get the list of observer configurations affecting the provider this reporter is bound to.
- getOrCreateResource(ResourceResolver, String, String, String, boolean) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Creates or gets the resource at the given path.
- getOrCreateResource(ResourceResolver, String, Map<String, Object>, String, boolean) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Creates or gets the resource at the given path.
- getOrDefault(Object, Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- getOut() - Method in class org.apache.sling.api.scripting.SlingBindings
- getOutput() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets the output as a byte array.
- getOutput() - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets the output as a byte array.
- getOutputAsString() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets the output as a string.
- getOutputAsString() - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets the output as a string.
- getParameter(String) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- getParameter(String) - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- getParameterMap() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getParameters() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- getParameters() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- getParent() - Method in class org.apache.sling.api.resource.AbstractResource
-
Returns the parent resource of this resource.
- getParent() - Method in class org.apache.sling.api.resource.NonExistingResource
- getParent() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the parent resource or
nullif this resource represents the root of the resource tree. - getParent() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getParenton thewrapped resource. - getParent(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Utility method returns the parent path of the given
path, which is normalized byResourceUtil.normalize(String)before resolving the parent. - getParent(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns the parent resource of this resource.
- getParent(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.since 2.1.0, use
Resource.getParent()instead - getParent(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callinggetParenton the wrapped resource resolver. - getParent(ResolveContext<T>, Resource) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Returns the parent resource from this resource provider or
nullif the resource provider cannot find it. - getParent(String, int) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Utility method returns the ancestor's path at the given
levelrelative topath, which is normalized byResourceUtil.normalize(String)before resolving the ancestor. - getParentLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the parent location of the modification.
- getParentResolveContext() - Method in interface org.apache.sling.spi.resource.provider.ResolveContext
-
Return a resolve context for the parent resource provider.
- getParentResourceProvider() - Method in interface org.apache.sling.spi.resource.provider.ResolveContext
-
Return the parent resource provider.
- getParentResourceType(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns the super type of the given resource type.
- getParentResourceType(String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getParentResourceType(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns the super type of the given resource.
- getParentResourceType(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getPath() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Get the resource path.
- getPath() - Method in class org.apache.sling.api.resource.path.Path
-
Return the path if this
Pathobject holds a path, returns the pattern otherwise. - getPath() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the absolute path of this resource in the resource tree.
- getPath() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getPathon thewrapped resource. - getPath() - Method in class org.apache.sling.api.resource.SyntheticResource
- getPath() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the absolute path of the item upon which the request operated.
- getPath() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the joint path of resource path, selectors, extension and suffix.
- getPath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the joint path of resource path, selectors, extension and suffix.
- getPathInfo(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Return the context path for r, using the appropriate request attribute if the request is an included one.
- getPathInfo(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- getPathParameters() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the path parameters.
- getPathParameters() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the path parameters.
- getPaths() - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
The set of paths this listener is interested in.
- getPort() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the port.
- getPort() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the port.
- getProperty(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the generic response property with the given name and type or
nullif no such property exists. - getProperty(String, Class<Type>) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.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. - getPropertyMap() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns a mutable map to store temporary objects.
- getPropertyMap() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getPropertyName() - Method in exception org.apache.sling.api.resource.PersistenceException
-
Get the property name related to this exception.
- getPropertyNamesHint() - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
Set containing the set of property names which serves as an optional hint for the underlying to only report property changes enlisted, ie the underlying might ignore this.
- getProviderContext() - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Get the current provider context.
- getProviderState() - Method in interface org.apache.sling.spi.resource.provider.ResolveContext
-
This is the object returned by
ResourceProvider.authenticate(Map) - getQ() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
-
Get the value of the quality factor parameter (
q). - getQ() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.Get the value of the quality factor parameter (
q). - getQuery() - Method in exception org.apache.sling.api.resource.QuerySyntaxException
- getQuery() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the query.
- getQuery() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the query.
- getQueryLanguageProvider() - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Get the optional query language provider.
- getQueryString(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Return the query string for r, using the appropriate request attribute if the request is an included one.
- getQueryString(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- getReadableResource(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
If supplied Resource can be read, return it (or a wrapped variant of it).
- getReader() - Method in class org.apache.sling.api.scripting.SlingBindings
- getReferer() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the referer as from the 'referer' request header.
- getRemoteUser() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the login of the user making this request, if the user has been authenticated, or
nullif the user has not been authenticated. - getRemoteUser() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the login of the user making this request, if the user has been authenticated, or
nullif the user has not been authenticated. - getRemovedPropertyNames() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Deprecated.As there is no guarantee that this information is contained in the change event, this should not be used anymore.
- getReplaceExtension() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_REPLACE_EXTENSIONoption ornullif not set. - getReplaceSelectors() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_REPLACE_SELECTORSoption ornullif not set. - getReplaceSuffix() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_REPLACE_SUFFIXoption ornullif not set. - getRequest() - Method in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.Use
SlingBindings.getJakartaRequest()instead. - getRequest() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Deprecated.Use
SlingScriptHelper.getJakartaRequest()instead. - getRequestDispatcher(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns a
RequestDispatcherobject that acts as a wrapper for the resource located at the given path. - getRequestDispatcher(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns a
RequestDispatcherobject that acts as a wrapper for the resource located at the given path. - getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestDispatcher(Resource) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Same as
SlingHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions)but using empty options. - getRequestDispatcher(Resource) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Same as
SlingJakartaHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions)but using empty options. - getRequestDispatcher(Resource) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestDispatcher(Resource) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns a
RequestDispatcherobject that acts as a wrapper for the resource located at the given resource. - getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns a
RequestDispatcherobject that acts as a wrapper for the resource located at the given resource. - getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestDispatcher(Resource) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestDispatcher(Resource) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestParameter(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the value of a request parameter as a
RequestParameter, ornullif the parameter does not exist. - getRequestParameter(String) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the value of a request parameter as a
RequestParameter, ornullif the parameter does not exist. - getRequestParameter(String) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestParameter(String) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestParameter(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestParameter(String) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestParameterList() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the request parameters as instances of the
RequestParameterinterface in the order or the request where the query string parameters are first and the POST request parameters are second. - getRequestParameterList() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the request parameters as instances of the
RequestParameterinterface in the order or the request where the query string parameters are first and the POST request parameters are second. - getRequestParameterList() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestParameterList() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestParameterList() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestParameterList() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestParameterMap() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns a
Mapof the parameters of this request. - getRequestParameterMap() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns a
Mapof the parameters of this request. - getRequestParameterMap() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestParameterMap() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestParameterMap() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestParameterMap() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestParameters(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns an array of
RequestParameterobjects containing all of the values the given request parameter has, ornullif the parameter does not exist. - getRequestParameters(String) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns an array of
RequestParameterobjects containing all of the values the given request parameter has, ornullif the parameter does not exist. - getRequestParameters(String) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestParameters(String) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestParameters(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestParameters(String) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestPathInfo() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the
RequestPathInfopertaining to this request. - getRequestPathInfo() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the
RequestPathInfopertaining to this request. - getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
-
Returns the original
RequestPathInfoobject wrapped by this object. - getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestProgressTracker() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the
RequestProgressTrackerof this request. - getRequestProgressTracker() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the
RequestProgressTrackerof this request. - getRequestProgressTracker() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getRequestProgressTracker() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getRequestProgressTracker() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getRequestProgressTracker() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRequestURI(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Return the request URI for r, using the appropriate request attribute if the request is an included one.
- getRequestURI(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- getResolutionPath() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getResolutionPathInfo() - Method in class org.apache.sling.api.resource.ResourceMetadata
- getResolveParameters() - Method in interface org.apache.sling.spi.resource.provider.ResourceContext
-
Return optional parameters for resolving the resource.
- getResource() - Method in exception org.apache.sling.api.resource.ResourceNotFoundException
- getResource() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the
Resourcewrapped by this instance. - getResource() - Method in class org.apache.sling.api.scripting.SlingBindings
- getResource() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the
Resourceobject on whose behalf the servlet acts. - getResource() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the
Resourceobject on whose behalf the servlet acts. - getResource() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResource() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResource() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResource() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getResource(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns a
Resourceobject for data located at the given path. - getResource(String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callinggetResourceon the wrapped resource resolver. - getResource(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.Returns a resource from this resource provider or
nullif the resource provider cannot find it. - getResource(ResourceResolver, String, Map<String, String>) - Method in interface org.apache.sling.api.resource.ParametrizableResourceProvider
-
Deprecated.Returns a resource from this resource provider or
nullif the resource provider cannot find it. - getResource(ResourceResolver, HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.since 2.2.0 (and JCR Resource 2.1.0), this method will not be invoked.
- getResource(ResolveContext<T>, String, ResourceContext, Resource) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Returns a resource from this resource provider or
nullif the resource provider cannot find it. - getResource(Resource, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns a
Resourceobject for data located at the given path. - getResource(Resource, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callinggetResourceon the wrapped resource resolver. - getResourceBundle(String, Locale) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the resource bundle of the given base name for the given locale.
- getResourceBundle(String, Locale) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the resource bundle of the given base name for the given locale.
- getResourceBundle(String, Locale) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResourceBundle(String, Locale) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResourceBundle(String, Locale) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResourceBundle(String, Locale) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getResourceBundle(Locale) - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the resource bundle for the given locale.
- getResourceBundle(Locale) - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the resource bundle for the given locale.
- getResourceBundle(Locale) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResourceBundle(Locale) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResourceBundle(Locale) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResourceBundle(Locale) - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getResourceMetadata() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the meta data of this resource.
- getResourceMetadata() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getResourceMetadataon thewrapped resource. - getResourceMetadata() - Method in class org.apache.sling.api.resource.SyntheticResource
-
Returns a resource metadata object containing just the path of this resource as the
ResourceMetadata.RESOLUTION_PATHproperty. - getResourcePath() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Return the "resource path" part of the URL, what comes before selectors, extension and suffix.
- getResourcePath() - Method in exception org.apache.sling.api.resource.PersistenceException
-
Get the resource path related to this exception.
- getResourcePath() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the resource path.
- getResourcePath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the resource path.
- getResourcePath() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getResourceProvider(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceProviderFactory
-
Deprecated.Returns a new
ResourceProviderinstance with further configuration taken from the givenauthenticationInfomap. - getResourceResolver() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the
ResourceResolverfrom which this resource has been retrieved. - getResourceResolver() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getResourceResolveron thewrapped resource. - getResourceResolver() - Method in class org.apache.sling.api.resource.SyntheticResource
-
Returns the
ResourceResolverwith which this synthetic resource is related ornullif none. - getResourceResolver() - Method in class org.apache.sling.api.scripting.SlingBindings
- getResourceResolver() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the
ResourceResolverwhich resolved theresourceof this request. - getResourceResolver() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the
ResourceResolverwhich resolved theresourceof this request. - getResourceResolver() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResourceResolver() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResourceResolver() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResourceResolver() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getResourceResolver() - Method in interface org.apache.sling.spi.resource.provider.ResolveContext
-
Get the current resource resolver.
- getResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Returns a new
ResourceResolverinstance with further configuration taken from the givenauthenticationInfomap. - getResourceSuperType() - Method in interface org.apache.sling.api.resource.Resource
-
Returns the super type of the resource if the resource defines its own super type.
- getResourceSuperType() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getResourceSuperTypeon thewrapped resource. - getResourceSuperType() - Method in class org.apache.sling.api.resource.SyntheticResource
-
Synthetic resources by default do not have a resource super type.
- getResourceSuperType(ResourceResolver, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.
- getResourceType() - Method in class org.apache.sling.api.resource.NonExistingResource
- getResourceType() - Method in interface org.apache.sling.api.resource.Resource
-
The resource type is meant to point to rendering/processing scripts, editing dialogs, etc.
- getResourceType() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
getResourceTypeon thewrapped resource. - getResourceType() - Method in class org.apache.sling.api.resource.SyntheticResource
- getResponse() - Method in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.Use
SlingBindings.getJakartaResponse()instead. - getResponse() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Deprecated.Use
SlingScriptHelper.getJakartaResponse()instead. - getResponseContentType() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns the framework preferred content type for the response.
- getResponseContentType() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns the framework preferred content type for the response.
- getResponseContentType() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResponseContentType() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResponseContentType() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResponseContentType() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getResponseContentTypes() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Gets a list of content types which the framework accepts for the response.
- getResponseContentTypes() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Gets a list of content types which the framework accepts for the response.
- getResponseContentTypes() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- getResponseContentTypes() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- getResponseContentTypes() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.
- getResponseContentTypes() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
- getRuntimeDTO() - Method in interface org.apache.sling.api.resource.runtime.RuntimeService
- getScheme() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the scheme.
- getScheme() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the scheme.
- getSchemeSpecificPart() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the scheme-specific part of the URI, compare with Javadoc of
URI. - getSchemeSpecificPart() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the scheme-specific part of the URI, compare with Javadoc of
URI. - getScript() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Returns the
SlingScriptbeing called to handle the request. - getScriptName() - Method in exception org.apache.sling.api.scripting.ScriptEvaluationException
- getScriptResource() - Method in interface org.apache.sling.api.scripting.SlingScript
-
Returns the Resource providing the script source code.
- getSearchPath() - Method in interface org.apache.sling.api.resource.observation.ResourceChangeList
-
Returns the search path used by the resource resolving.
- getSearchPath() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns the search path used by the
ResourceResolver.getResource(String)method to search for resources by relative path. - getSearchPath() - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Returns the search path used by the resource resolvers to search for resources by relative path.
- getSearchPath() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getSelectors() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Returns the selectors decoded from the request URL as an array of strings.
- getSelectors() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the selectors array.
- getSelectors() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the selectors array.
- getSelectors() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getSelectorString() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Returns the selectors decoded from the request URL as string.
- getSelectorString() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the selector string.
- getSelectorString() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the selector string
- getSelectorString() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getService(Class<ServiceType>) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Lookup a single service.
- getServiceResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Returns a new
ResourceResolverinstance with privileges assigned to the service provided by the calling bundle. - getServices(Class<ServiceType>, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Lookup one or several services.
- getServletConfig() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- getServletConfig() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- getServletContext() - Method in class org.apache.sling.api.request.SlingJakartaRequestEvent
-
Gets the actual servlet context object as
ServletContext - getServletContext() - Method in class org.apache.sling.api.request.SlingRequestEvent
-
Deprecated.Gets the actual servlet context object as
ServletContext - getServletInfo() - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Returns the simple class name of this servlet class.
- getServletInfo() - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Returns the simple class name of this servlet class.
- getServletInfo() - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- getServletInfo() - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- getServletName(Servlet) - Static method in class org.apache.sling.api.request.RequestUtil
-
Utility method to return a name for the given servlet.
- getServletName(Servlet) - Static method in class org.apache.sling.api.request.RequestUtil
-
Deprecated.
- getServletPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Return the servlet path for r, using the appropriate request attribute if the request is an included one.
- getServletPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- getServletRequest() - Method in class org.apache.sling.api.request.SlingJakartaRequestEvent
-
Gets the actual request object as
ServletRequest - getServletRequest() - Method in class org.apache.sling.api.request.SlingRequestEvent
-
Deprecated.Gets the actual request object as
ServletRequest - getSize() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the size in bytes of the parameter.
- getSling() - Method in class org.apache.sling.api.scripting.SlingBindings
- getSlingRequest() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.Return the original
SlingHttpServletRequestobject wrapped by this. - getSlingRequest() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
-
Return the original
SlingJakartaHttpServletRequestobject wrapped by this. - getSlingResponse() - Method in class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
-
Deprecated.Return the original
SlingHttpServletResponseobject wrapped by this. - getSlingResponse() - Method in class org.apache.sling.api.wrappers.SlingJakartaHttpServletResponseWrapper
-
Return the original
SlingJakartaHttpServletResponseobject wrapped by this. - getStatusCode() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns the status code of this instance.
- getStatusMessage() - Method in interface org.apache.sling.api.request.builder.SlingHttpServletResponseResult
-
Deprecated.Gets the status message
- getStatusMessage() - Method in interface org.apache.sling.api.request.builder.SlingJakartaHttpServletResponseResult
-
Gets the status message
- getStatusMessage() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Get the status message
- getString() - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the contents of the parameter as a String, using the default character encoding.
- getString(String) - Method in interface org.apache.sling.api.request.RequestParameter
-
Returns the contents of the parameter as a String, using the specified encoding.
- getSubset(String) - Method in class org.apache.sling.api.resource.path.PathSet
-
Generate a path set of paths from this set which are in the sub tree of the provided path
- getSubset(Path) - Method in class org.apache.sling.api.resource.path.PathSet
-
Generate a path set of paths from this set which are in the sub tree of the provided path
- getSubset(PathSet) - Method in class org.apache.sling.api.resource.path.PathSet
-
Generate a path set of paths from this set which are in at least one of the sub tree of the provided path set.
- getSubtype() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- getSubtype() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- getSuffix() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Returns the suffix part of the URL or
nullif the request URL does not contain a suffix. - getSuffix() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the suffix part of the URI
- getSuffix() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the suffix part of the URI
- getSuffix() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getSuffixResource() - Method in interface org.apache.sling.api.request.RequestPathInfo
-
Returns the resource addressed by the suffix or null if the request does not have a suffix or the suffix does not address an accessible resource.
- getSuffixResource() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the corresponding suffix resource or null if no resource resolver is available (depends on the create method used in SlingUriBuilder) the URI does not contain a suffix if the suffix resource could not be found
- getSuffixResource() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the corresponding suffix resource or null if no resource resolver is available (depends on the create method used in SlingUriBuilder) the URI does not contain a suffix if the suffix resource could not be found
- getSuffixResource() - Method in class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- getSupertype() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- getSupertype() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- getSupportedLanguages(ResolveContext<T>) - Method in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider
-
The supported languages of the resource provider.
- getThreadResourceResolver() - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Returns the
ResourceResolverfor the current thread. - getType() - Method in class org.apache.sling.api.request.SlingJakartaRequestEvent
-
get the type of the event, eg.
- getType() - Method in class org.apache.sling.api.request.SlingRequestEvent
-
Deprecated.get the type of the event, eg.
- getType() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Get the type of change
- getURI() - Method in interface org.apache.sling.api.resource.external.ExternalizableInputStream
-
Get a URI that is specific to the current session, and may be used in any context internal or external.
- getUserId() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Get the user id of the user initiating the change
- getUserID() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Get the user ID, if any, associated with this resource resolver.
- getUserID() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- getUserInfo() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the user info.
- getUserInfo() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns the user info.
- getUserPrincipal() - Method in interface org.apache.sling.api.SlingHttpServletRequest
-
Deprecated.Returns a
java.security.Principalobject containing the name of the current authenticated user. - getUserPrincipal() - Method in interface org.apache.sling.api.SlingJakartaHttpServletRequest
-
Returns a
java.security.Principalobject containing the name of the current authenticated user. - getValue(String) - Method in interface org.apache.sling.api.request.RequestParameterMap
-
Returns the first value for the named parameter or null if none
- getValueMap() - Method in class org.apache.sling.api.resource.AbstractResource
-
This method calls
Adaptable.adaptTo(Class)with theValueMapclass as an argument. - getValueMap() - Method in interface org.apache.sling.api.resource.Resource
-
Returns a value map for this resource.
- getValueMap() - Method in class org.apache.sling.api.resource.ResourceWrapper
- getValueMap(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Returns an
ValueMapobject for the givenResource. - getValues(String) - Method in interface org.apache.sling.api.request.RequestParameterMap
-
Returns all values for the named parameter or null if none
- getXmlEscapingWriter(Writer) - Static method in class org.apache.sling.api.request.ResponseUtil
-
Return a Writer that writes escaped XML text to target
- GLOB_PREFIX - Static variable in class org.apache.sling.api.resource.path.Path
-
The prefix to be used for glob patterns
H
- handleError(int, String, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.api.servlets.ErrorHandler
-
Deprecated.Called to render a response for a HTTP status code.
- handleError(int, String, SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in interface org.apache.sling.api.servlets.JakartaErrorHandler
-
Called to render a response for a HTTP status code.
- handleError(Throwable, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.api.servlets.ErrorHandler
-
Deprecated.Called to render a response for an uncaught
Throwable. - handleError(Throwable, SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in interface org.apache.sling.api.servlets.JakartaErrorHandler
-
Called to render a response for an uncaught
Throwable. - handleIfModifiedSince(SlingJakartaHttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.api.request.RequestUtil
-
Checks if the request contains a if-last-modified-since header and if the the request's underlying resource has a jcr:lastModified property.
- handleIfModifiedSince(SlingHttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.api.request.RequestUtil
-
Deprecated.
- handleMethodNotImplemented(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.
- handleMethodNotImplemented(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.
- hasChanges() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Are there any pending changes?
- hasChanges() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- hasChanges(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Are there any transient changes?
- hasChanges(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
-
Deprecated.Are there any transient changes?
- hasChildren() - Method in class org.apache.sling.api.resource.AbstractResource
-
Checks to see if there are direct children of this resource by invoking
ResourceResolver.hasChildren(Resource). - hasChildren() - Method in interface org.apache.sling.api.resource.Resource
-
Checks if the resource has any child resources.
- hasChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
hasChildrenon thewrapped resource. - hasChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Checks if the specified resource has any direct child resources.
- hasChildren(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- hashCode() - Method in class org.apache.sling.api.resource.path.Path
- hashCode() - Method in class org.apache.sling.api.resource.path.PathSet
- hashCode() - Method in class org.apache.sling.api.scripting.LazyBindings
- hashCode() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- hasNext() - Method in class org.apache.sling.api.wrappers.IteratorWrapper
- HEADER_ACCEPT - Static variable in class org.apache.sling.api.request.header.JakartaMediaRangeList
- HEADER_ACCEPT - Static variable in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.
- HEADER_ACCEPT - Static variable in class org.apache.sling.api.servlets.HttpConstants
- HEADER_ETAG - Static variable in class org.apache.sling.api.servlets.HttpConstants
- HEADER_IF_MATCH - Static variable in class org.apache.sling.api.servlets.HttpConstants
- HEADER_IF_MODIFIED_SINCE - Static variable in class org.apache.sling.api.servlets.HttpConstants
- HEADER_LAST_MODIFIED - Static variable in class org.apache.sling.api.servlets.HttpConstants
- HtmlResponse - Class in org.apache.sling.api.servlets
-
Deprecated.use org.apache.sling.servlets.post.HtmlResponse instead.
- HtmlResponse() - Constructor for class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Creates a new html response with default settings, which is
nullfor almost all properties except theHtmlResponse.isCreateRequest()which defaults tofalse. - HttpConstants - Class in org.apache.sling.api.servlets
-
HTTP-related constants
- HttpConstants() - Constructor for class org.apache.sling.api.servlets.HttpConstants
I
- include(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Same as
SlingScriptHelper.include(String,RequestDispatcherOptions), but using empty options. - include(String, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to include the result of processing the request for the given
pathandrequestDispatcherOptions. - include(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to include the result of processing the request for the given
pathandoptions. - include(Resource) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Same as
SlingScriptHelper.include(Resource,RequestDispatcherOptions), but using empty options. - include(Resource, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to include the result of processing the request for the given
resourceandrequestDispatcherOptions. - include(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
-
Helper method to include the result of processing the request for the given
resourceandoptions. - INCLUDE_CONTEXT_PATH - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.Use
RequestDispatcher.INCLUDE_CONTEXT_PATH - INCLUDE_PATH_INFO - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.Use
RequestDispatcher.INCLUDE_PATH_INFO - INCLUDE_QUERY_STRING - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.Use
RequestDispatcher.INCLUDE_QUERY_STRING - INCLUDE_REQUEST_URI - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.Use
RequestDispatcher.INCLUDE_REQUEST_URI - INCLUDE_SERVLET_PATH - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.Use
RequestDispatcher.INCLUDE_SERVLET_PATH - includeExternal() - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
trueif a listener is interested in external events. - init(FilterConfig) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper
- init(ServletConfig) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- init(FilterConfig) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper
- init(ServletConfig) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- INTERNAL - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Scope
-
Internal URI only to be used by a client on an internal network and never leaked onto a public network.
- INTERNAL_CONTINUE_RESOLVING - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
Deprecated.This flag is not supported anymore when implementing the SPI based
org.apache.sling.spi.resource.provider.ResourceProvider - internalPut(String, Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
- invalid - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.FailureReason
- InvalidServiceFilterSyntaxException - Exception in org.apache.sling.api.scripting
-
Thrown when an invalid service filter is used
- InvalidServiceFilterSyntaxException(String, String) - Constructor for exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
- InvalidServiceFilterSyntaxException(String, String, Throwable) - Constructor for exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
- isA(Resource, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.
- isAbsolute() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns true the URI is an absolute URI.
- isAbsolute() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns true the URI is an absolute URI.
- isAbsolutePath() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns true if the URI has an absolute path starting with a slash ('/').
- isAbsolutePath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns true if the URI has an absolute path starting with a slash ('/').
- isCreateRequest() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Returns
trueif this was a create request. - isEmpty() - Method in class org.apache.sling.api.scripting.LazyBindings
- isEmpty() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- isEmpty() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- isExternal() - Method in class org.apache.sling.api.resource.observation.ResourceChange
-
Is this an external event?
- isFormField() - Method in interface org.apache.sling.api.request.RequestParameter
-
Determines whether or not this instance represents a simple form field or an uploaded file.
- isIncluded(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
True if r is an included request, in which case it has the INCLUDE_REQUEST_URI attribute
- isIncluded(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
-
Deprecated.
- isLive() - Method in interface org.apache.sling.api.resource.DynamicResourceProvider
-
Deprecated.Returns
trueif this resource provider has not been closed yet and can still be used. - isLive() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns
trueif this resource resolver is still usable. - isLive() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- isLive(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Returns
trueif this resource provider has not been closed yet and can still be used. - isMethodValid(Method, String) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Returns
trueifmethodis notnulland the method is not defined in the class named byclassName. - isMethodValid(Method, String) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Returns
trueifmethodis notnulland the method is not defined in the class named byclassName. - isNonExistingResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Returns
trueif the resourceresis a non-existing resource. - isOpaque() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns true for opaque URIs like e.g.
- isOpaque() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns true for opaque URIs like e.g.
- isPath() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns true the URI is either a relative or absolute path (this is the case if scheme and host is empty and the URI path is set)
- isPath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns true the URI is either a relative or absolute path (this is the case if scheme and host is empty and the URI path is set)
- isPattern() - Method in class org.apache.sling.api.resource.path.Path
-
Returns {code true} if this
Pathobject is holding a pattern - isProtectHeadersOnInclude() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Returns the
RequestDispatcherOptions.OPT_PROTECT_HEADERS_ON_INCLUDEoption orfalseif not set. - isRelativePath() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns true if the URI is a relative path (no scheme and path does not start with '/').
- isRelativePath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Returns true if the URI is a relative path (no scheme and path does not start with '/').
- isResourceType(String) - Method in class org.apache.sling.api.resource.AbstractResource
-
Returns
trueif this resource is of the given resource type or if any of the super resource types equals the given resource type. - isResourceType(String) - Method in interface org.apache.sling.api.resource.Resource
-
Is just a shortcut for
getResourceResolver().isResourceType(this, resourceType). - isResourceType(String) - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
isResourceTypeon thewrapped resource. - isResourceType(Resource, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns
trueif the resource type or any of the resource's super type(s) equals the given resource type. - isResourceType(Resource, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- isStarResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Returns
trueif the resourceresis a "star resource". - isSuccessful() - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.
- isSyntheticResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Returns
trueif the resourceresis a synthetic resource. - iterator() - Method in class org.apache.sling.api.resource.path.PathSet
-
Return an unmodifiable iterator for the paths.
- IteratorWrapper<T> - Class in org.apache.sling.api.wrappers
-
Wrapper class for
Iterators, that forwards all method calls to the wrappedIterator. - IteratorWrapper(Iterator<T>) - Constructor for class org.apache.sling.api.wrappers.IteratorWrapper
-
Creates a wrapping iterator, delegating all method calls to the given
wrappedIterator.
J
- JAKARTA_REQUEST - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
SlingJakartaHttpServletRequestobject (value is "request"). - JAKARTA_RESPONSE - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
SlingJakartaHttpServletResponseobject (value is "response"). - JakartaErrorHandler - Interface in org.apache.sling.api.servlets
-
The
JakartaErrorHandlerdefines the interface of the service used by the Sling to handle calls tojakarta.servlet.http.HttpServletResponse.sendErrorand to handle uncaughtThrowables. - JakartaMediaRangeList - Class in org.apache.sling.api.request.header
-
Facilitates parsing of the Accept HTTP request header.
- JakartaMediaRangeList(HttpServletRequest) - Constructor for class org.apache.sling.api.request.header.JakartaMediaRangeList
-
Constructs a
MediaRangeListusing information from the suppliedHttpServletRequest. - JakartaMediaRangeList(String) - Constructor for class org.apache.sling.api.request.header.JakartaMediaRangeList
-
Constructs a
MediaRangeListusing a list of media ranges specified in ajava.lang.String. - JakartaMediaRangeList.MediaRange - Class in org.apache.sling.api.request.header
-
A code
MediaRangerepresents an entry in aMediaRangeList. - JakartaOptingServlet - Interface in org.apache.sling.api.servlets
-
The
JakartaOptingServletinterface may be implemented byServlets used by Sling which may choose to not handle all requests for which they would be selected based on their registration properties. - JakartaToJavaxFilterWrapper - Class in org.apache.sling.api.wrappers
-
This class wraps a filter based on the Jakarta Servlet API to implement Servlet API 3.
- JakartaToJavaxFilterWrapper(Filter) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper
- JakartaToJavaxFilterWrapper.FilterChainWrapper - Class in org.apache.sling.api.wrappers
- JakartaToJavaxOptingServletWrapper(JakartaOptingServlet) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper.JakartaToJavaxOptingServletWrapper
- JakartaToJavaxRequestWrapper - Class in org.apache.sling.api.wrappers
-
Wrapper for
SlingJakartaHttpServletRequestto adapt it to the Javax Servlet API. - JakartaToJavaxRequestWrapper(SlingJakartaHttpServletRequest) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
- JakartaToJavaxResponseWrapper - Class in org.apache.sling.api.wrappers
-
Wrapper for
SlingJakartaHttpServletResponseto adapt it to the Jacax Servlet API. - JakartaToJavaxResponseWrapper(SlingJakartaHttpServletResponse) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxResponseWrapper
- JakartaToJavaxServletWrapper - Class in org.apache.sling.api.wrappers
-
This class wraps a servlet based on the Jakarta Servlet API to implement Servlet API 3.
- JakartaToJavaxServletWrapper(Servlet) - Constructor for class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- JakartaToJavaxServletWrapper.JakartaToJavaxOptingServletWrapper - Class in org.apache.sling.api.wrappers
- JavaxToJakartaFilterWrapper - Class in org.apache.sling.api.wrappers
-
This class wraps a filter based on the Servlet API 3 to implement Jakarta Servlet API.
- JavaxToJakartaFilterWrapper(Filter) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper
- JavaxToJakartaFilterWrapper.FilterChainWrapper - Class in org.apache.sling.api.wrappers
- JavaxToJakartaOptingServletWrapper(OptingServlet) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper.JavaxToJakartaOptingServletWrapper
- JavaxToJakartaRequestWrapper - Class in org.apache.sling.api.wrappers
-
Wrapper for
SlingHttpServletRequestto adapt it to the Jakarta Servlet API. - JavaxToJakartaRequestWrapper(SlingHttpServletRequest) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
- JavaxToJakartaResponseWrapper - Class in org.apache.sling.api.wrappers
-
Wrapper for
SlingHttpServletResponseto adapt it to the Jacax Servlet API. - JavaxToJakartaResponseWrapper(SlingHttpServletResponse) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaResponseWrapper
- JavaxToJakartaServletWrapper - Class in org.apache.sling.api.wrappers
-
This class wraps a servlet based on the Servlet API 3 to implement Jakarta Servlet API.
- JavaxToJakartaServletWrapper(Servlet) - Constructor for class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- JavaxToJakartaServletWrapper.JavaxToJakartaOptingServletWrapper - Class in org.apache.sling.api.wrappers
K
- keySet() - Method in class org.apache.sling.api.resource.ResourceMetadata
- keySet() - Method in class org.apache.sling.api.scripting.LazyBindings
- keySet() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- keySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
L
- LANGUAGES - Static variable in interface org.apache.sling.api.resource.QueriableResourceProvider
-
Deprecated.The name of the service registration property containing the supported languages of the resource provider (value is "provider.query.languages").
- lazy - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.AuthType
- LazyBindings - Class in org.apache.sling.api.scripting
-
The
LazyBindingswraps another map and dynamically provides entries for the wrapped map through a map ofLazyBindings.Suppliers. - LazyBindings() - Constructor for class org.apache.sling.api.scripting.LazyBindings
- LazyBindings(Map<String, LazyBindings.Supplier>) - Constructor for class org.apache.sling.api.scripting.LazyBindings
- LazyBindings(Map<String, LazyBindings.Supplier>, Map<String, Object>) - Constructor for class org.apache.sling.api.scripting.LazyBindings
- LazyBindings.Supplier - Interface in org.apache.sling.api.scripting
-
This marker interface should be used for suppliers which should be unwrapped when used as values stored in a
LazyBindingsmap. - listChildren() - Method in class org.apache.sling.api.resource.AbstractResource
-
Returns an iterator on the direct child resources.
- listChildren() - Method in interface org.apache.sling.api.resource.Resource
-
Returns an iterator of the direct children of this resource.
- listChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns the value of calling
listChildrenon thewrapped resource. - listChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.
- listChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
- listChildren(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Deprecated.since 2.1.0, use
Resource.listChildren()instead - listChildren(Resource) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Iteratorobtained by callinglistChildrenon the wrapped resource resolver. - listChildren(ResolveContext<T>, Resource) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
- lock() - Method in class org.apache.sling.api.resource.ResourceMetadata
-
Make this object read-only.
- log(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Creates an entry with the given message
- log(String, Object...) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Creates an entry with a message constructed from the given
MessageFormatformat evaluated using the given formatting arguments. - LOG - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing a logger which may be used for logging purposes (value is "log").
- login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
-
Tries to login a request user for the current request.
- login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
-
Deprecated.
- LOGIN_RESOURCE - Static variable in interface org.apache.sling.api.auth.Authenticator
-
Name of the request attribute which may be set by the application to indicate to the
Authenticator.login(HttpServletRequest, HttpServletResponse)method to which resource access should actually be authenticated. - LoginException - Exception in org.apache.sling.api.resource
-
Exception thrown by
,ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map), andResourceResolverFactory.getResourceResolver(java.util.Map)if a resource resolver cannot be created because the credential data is not valid.ResourceResolver.clone(java.util.Map) - LoginException() - Constructor for exception org.apache.sling.api.resource.LoginException
-
Constructs a new instance of this class with
nullas its detail message. - LoginException(String) - Constructor for exception org.apache.sling.api.resource.LoginException
-
Constructs a new instance of this class with the specified detail message.
- LoginException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.LoginException
-
Constructs a new instance of this class with the specified detail message and root cause.
- LoginException(Throwable) - Constructor for exception org.apache.sling.api.resource.LoginException
-
Constructs a new instance of this class with the specified root cause.
- logout(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
-
Logs out if the current request is authenticated.
- logout(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
-
Deprecated.
- logout(T) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
If the provider requires authentication, this method is called with the state of the user returned by
ResourceProvider.authenticate(Map)once the resource resolver is closed. - logTimer(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Logs an entry with the message set to the name of the timer and the number of milliseconds elapsed since the timer start.
- logTimer(String, String, Object...) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Logs an entry with the message constructed from the given
MessageFormatpattern evaluated using the given arguments and the number of milliseconds elapsed since the timer start.
M
- map(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns an URL mapped from the (resource) path applying the reverse mapping used by the
ResourceResolver.resolve(HttpServletRequest, String)such that when the path is given to theResourceResolver.resolve(HttpServletRequest, String)method the same resource is returned. - map(HttpServletRequest, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- map(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Returns a (request) path mapped from the (resource) path applying the reverse mapping used by the
ResourceResolver.resolve(String)such that when the path is given to theResourceResolver.resolve(String)method the same resource is returned. - map(String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- map(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Deprecated.Use
ResourceResolver.map(HttpServletRequest, String)instead. - map(HttpServletRequest, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Deprecated.
- matches(String) - Method in class org.apache.sling.api.resource.path.Path
-
If this
Pathobject holds a path (and not a pattern), this method checks whether the provided path is equal to this path or a sub path of it. - matches(String) - Method in class org.apache.sling.api.resource.path.PathSet
-
Check whether the provided path is in the sub tree of any of the paths in this set.
- matches(String) - Method in interface org.apache.sling.spi.resource.provider.ObserverConfiguration
-
Checks whether a path matches one of the paths of this configuration but is not in the excluded paths set.
- matchesAll() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
-
Returns
trueif this is a catch-all media range (*/*). - matchesAll() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.Returns
trueif this is a catch-all media range (*/*). - mayService(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
- mayService(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
- mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
-
Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
- mayService(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
- MediaRange(String) - Constructor for class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
-
Constructs a
MediaRangefrom aStringexpression. - MediaRange(String) - Constructor for class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.Constructs a
MediaRangefrom aStringexpression. - MediaRangeList - Class in org.apache.sling.api.request.header
-
Deprecated.Use
JakartaMediaRangeListinstead. - MediaRangeList(String) - Constructor for class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.Constructs a
MediaRangeListusing a list of media ranges specified in ajava.lang.String. - MediaRangeList(HttpServletRequest) - Constructor for class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.Constructs a
MediaRangeListusing information from the suppliedHttpServletRequest. - MediaRangeList.MediaRange - Class in org.apache.sling.api.request.header
-
Deprecated.A code
MediaRangerepresents an entry in aMediaRangeList. - merge(List<ValueMap>) - Static method in class org.apache.sling.api.wrappers.ValueMapUtil
-
Merge provided
ValueMapsinto a single viewValueMapthat aggregates all key-value pairs of the given maps. - merge(ValueMap...) - Static method in class org.apache.sling.api.wrappers.ValueMapUtil
-
A convenience method that turns the var-args into a
Collectionand delegates toValueMapUtil.merge(List). - mergeAndCache(List<ValueMap>) - Static method in class org.apache.sling.api.wrappers.ValueMapUtil
-
Convenience method that allows creating a merged
ValueMapwhere accessed mappings are cached to optimize repeated lookups. - METHOD_CONNECT - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_DELETE - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_GET - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_HEAD - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_OPTIONS - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_POST - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_PUT - Static variable in class org.apache.sling.api.servlets.HttpConstants
- METHOD_TRACE - Static variable in class org.apache.sling.api.servlets.HttpConstants
- MODE_OVERLAY - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Default mode.
- MODE_PASSTHROUGH - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Passthrough mode.
- modifiable - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether the resource provider supports modifications.
- ModifiableValueMap - Interface in org.apache.sling.api.resource
-
The
ModifiableValueMapis an extension of theValueMapwhich allows to modify and persist properties. - ModifiableValueMapDecorator - Class in org.apache.sling.api.wrappers
-
ModifiableValueMapDecoratordecorates anotherMapto provide a basic implementation for the additional methods of aModifiableValueMap. - ModifiableValueMapDecorator(Map<String, Object>) - Constructor for class org.apache.sling.api.wrappers.ModifiableValueMapDecorator
-
Creates a new wrapper around a given map.
- MODIFICATION_TIME - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
Returns the last modification time of this resource in the repository in milliseconds (value is "sling.modificationTime").
- ModifyingResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - move(ResolveContext<T>, String, String) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
This method moves the subgraph rooted at, and including, the resource at
srcAbsPathto the new location atdestAbsPathand adds it as a child node of the resource atdestAbsPath. - move(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
This method moves the subgraph rooted at, and including, the resource at
srcAbsPathto the new location atdestAbsPathand adds it as a child node of the resource atdestAbsPath. - move(String, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps the
Resourceobtained by callingmoveon the wrapped resource resolver.
N
- name - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
The name of the resource provider.
- NAMESPACE_PREFIX - Static variable in class org.apache.sling.api.SlingConstants
-
The namespace prefix used throughout Sling (value is "sling").
- NAMESPACE_URI_ROOT - Static variable in class org.apache.sling.api.SlingConstants
-
The namespace URI prefix to be used by Sling projects to define namespaces (value is "http://sling.apache.org/").
- NEW_PASSWORD - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Name of the authentication information property providing the new password of the user for which to create a resource resolver and change the password during login.
- newRequestBuilder(Resource) - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new request builder.
- newRequestParameter(String, byte[], String, String) - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new binary request parameter
- newRequestParameter(String, String) - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new
application/x-www-form-urlencodedrequest parameter with UTF-8 encoding - newRequestParameter(String, String, Charset) - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new
application/x-www-form-urlencodedrequest parameter with the given encoding - newRequestProgressTracker() - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new request progress tracker
- newResponseBuilder() - Static method in class org.apache.sling.api.request.builder.Builders
-
Creates a new response builder.
- next() - Method in class org.apache.sling.api.wrappers.IteratorWrapper
- no - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.AuthType
- NoAuthenticationHandlerException - Exception in org.apache.sling.api.auth
-
The
NoAuthenticationHandlerExceptionis thrown to indicate that theAuthenticator.login(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)method could not find a way to authenticate the request user. - NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.api.auth.NoAuthenticationHandlerException
- NonExistingResource - Class in org.apache.sling.api.resource
-
Simple helper class representing nonexisting resources.
- NonExistingResource(ResourceResolver, String) - Constructor for class org.apache.sling.api.resource.NonExistingResource
-
Create a new non existing resource.
- normalize(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Resolves relative path segments '.' and '..' in the path.
O
- OBSERVATION_LISTENER_CHANGED - Static variable in interface org.apache.sling.spi.resource.provider.ProviderContext
-
This bit is set in
ResourceProvider.update(long)if observation listeners changed. - ObservationReporter - Interface in org.apache.sling.spi.resource.provider
-
A
ResourceProvidermust use an observation reporter to report changes to resources. - ObserverConfiguration - Interface in org.apache.sling.spi.resource.provider
-
A observer configuration describes active configurations from registered listeners.
- onChange(List<ResourceChange>) - Method in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
Report resource changes based on the filter properties of this listener.
- onChange(String, String...) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a generic change of the given
type. - onCopied(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a 'copied' change.
- onCreated(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a 'created' change
- onDeleted(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a 'deleted' change
- onEvent(SlingJakartaRequestEvent) - Method in interface org.apache.sling.api.request.SlingJakartaRequestListener
-
This method is called from the Sling application for every
EventTypeappearing during the dispatching of a Sling request - onEvent(SlingRequestEvent) - Method in interface org.apache.sling.api.request.SlingRequestListener
-
Deprecated.This method is called from the Sling application for every
EventTypeappearing during the dispatching of a Sling request - onModified(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a 'modified' change
- onMoved(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Records a 'moved' change.
- OPT_ADD_SELECTORS - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching, add the value provided by this option to the
RequestPathInfoselectors. - OPT_FORCE_RESOURCE_TYPE - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching, use the value provided by this option as the resource type, instead of the one defined by the
Resource. - OPT_PROTECT_HEADERS_ON_INCLUDE - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching with the include method, any headers set by the included resource are ignored.
- OPT_REPLACE_EXTENSION - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching, replace the
RequestPathInfoextension by the value provided by this option - OPT_REPLACE_SELECTORS - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching, replace
RequestPathInfoselectors by the value provided by this option. - OPT_REPLACE_SUFFIX - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
-
When dispatching, replace the
RequestPathInfosuffix by the value provided by this option - OptingServlet - Interface in org.apache.sling.api.servlets
-
Deprecated.Use
JakartaOptingServletinstead - orderBefore(Resource, String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Orders the child resources returned by
ResourceResolver.getChildren(Resource)andResourceResolver.listChildren(Resource)so that a given resource is listed before the given sibling resource. - orderBefore(Resource, String, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- orderBefore(ResolveContext<T>, Resource, String, String) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Orders the child resources returned by
ResourceProvider.listChildren(ResolveContext, Resource)so that a given resource is listed before the given sibling resource. - org.apache.sling.api - package org.apache.sling.api
- org.apache.sling.api.adapter - package org.apache.sling.api.adapter
- org.apache.sling.api.auth - package org.apache.sling.api.auth
- org.apache.sling.api.request - package org.apache.sling.api.request
- org.apache.sling.api.request.builder - package org.apache.sling.api.request.builder
- org.apache.sling.api.request.header - package org.apache.sling.api.request.header
- org.apache.sling.api.resource - package org.apache.sling.api.resource
- org.apache.sling.api.resource.external - package org.apache.sling.api.resource.external
- org.apache.sling.api.resource.mapping - package org.apache.sling.api.resource.mapping
- org.apache.sling.api.resource.observation - package org.apache.sling.api.resource.observation
- org.apache.sling.api.resource.path - package org.apache.sling.api.resource.path
- org.apache.sling.api.resource.runtime - package org.apache.sling.api.resource.runtime
- org.apache.sling.api.resource.runtime.dto - package org.apache.sling.api.resource.runtime.dto
- org.apache.sling.api.scripting - package org.apache.sling.api.scripting
- org.apache.sling.api.security - package org.apache.sling.api.security
- org.apache.sling.api.servlets - package org.apache.sling.api.servlets
- org.apache.sling.api.uri - package org.apache.sling.api.uri
- org.apache.sling.api.wrappers - package org.apache.sling.api.wrappers
- org.apache.sling.spi.resource.provider - package org.apache.sling.spi.resource.provider
- OUT - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
java.io.PrintWriterobject to return the response content (value is "out"). - OWNS_ROOTS - Static variable in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.The name of the service registration property containing the a boolean flag whether this provider owns the tree registered by the roots.
P
- PARAM_ACCEPT - Static variable in class org.apache.sling.api.request.header.JakartaMediaRangeList
- PARAM_ACCEPT - Static variable in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.
- PARAMETER_MAP - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
Returns a map containing parameters added to path after semicolon.
- ParametrizableResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - parse(String, ResourceResolver) - Static method in class org.apache.sling.api.uri.SlingUriBuilder
-
Creates a builder from an arbitrary URI string.
- parserAcceptHeader(String) - Static method in class org.apache.sling.api.request.RequestUtil
-
Parses an
Accept-*header of the form: - parserHeader(String) - Static method in class org.apache.sling.api.request.RequestUtil
-
Parses a header of the form:
- PASSWORD - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Name of the authentication information property providing the password of the user for which to create a resource resolver.
- path - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
The path of the resource provider.
- Path - Class in org.apache.sling.api.resource.path
-
Simple helper class for path matching.
- Path(String) - Constructor for class org.apache.sling.api.resource.path.Path
-
Create a new path object either from a concrete path or from a glob pattern.
- PathBuilder - Class in org.apache.sling.api.resource.path
-
The
PathBuilderoffers a convenient way of creating a valid path from multiple fragments - PathBuilder(String) - Constructor for class org.apache.sling.api.resource.path.PathBuilder
-
Creates a new
PathBuilderinstance - PATHS - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
Array of paths or glob patterns - required.
- PathSet - Class in org.apache.sling.api.resource.path
-
Simple helper class for path matching against a set of paths.
- PersistableValueMap - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ModifiableValueMapinstead. - PersistenceException - Exception in org.apache.sling.api.resource
-
This exception will be thrown during the commit to persist changes to a
PersistableValueMap, aModifiableValueMapor theResourceResolver. - PersistenceException() - Constructor for exception org.apache.sling.api.resource.PersistenceException
-
Create a new persistence exception.
- PersistenceException(String) - Constructor for exception org.apache.sling.api.resource.PersistenceException
-
Create a new persistence exception.
- PersistenceException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.PersistenceException
-
Create a new persistence exception.
- PersistenceException(String, Throwable, String, String) - Constructor for exception org.apache.sling.api.resource.PersistenceException
-
Create a new persistence exception.
- PN_CHANGE_LOG - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.human readable changelog
- PN_ERROR - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.The Throwable caught while processing the request.
- PN_IS_CREATED - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Indicating whether request processing created new data.
- PN_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.externally mapped location url of the modified path
- PN_PARENT_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.externally mapped location url of the parent of the modified path
- PN_PATH - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.the path of the modified item.
- PN_REFERER - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.the referrer of the request
- PN_STATUS_CODE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.status code.
- PN_STATUS_MESSAGE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.some human readable status message
- PN_TITLE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.some human readable title like: 200 Created /foo/bar
- prefer(String...) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList
-
Determines which of the
mediaRangesspecifications is preferred by thisMediaRangeList. - prefer(String...) - Method in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.Determines which of the
mediaRangesspecifications is preferred by thisMediaRangeList. - prefer(Set<JakartaMediaRangeList.MediaRange>) - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList
-
Given a list of media types, returns the one is preferred by this
MediaRangeList. - prefer(Set<MediaRangeList.MediaRange>) - Method in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.Given a list of media types, returns the one is preferred by this
MediaRangeList. - PROPERTY_ADAPTABLE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
If this flag is set to
true, the resource resolver will use this provider for the adaptTo() operation. - PROPERTY_ADAPTABLE_CLASSES - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use a service listener listening for service removed events for
org.apache.sling.adapter.Adaption. - PROPERTY_ADAPTER_CLASSES - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use a service listener listening for service removed events for
org.apache.sling.adapter.Adaption. - PROPERTY_ADDED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the added attribute names of a resource for an
SlingConstants.TOPIC_RESOURCE_CHANGEDevent. - PROPERTY_ATTRIBUTABLE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
If this flag is set to
true, the resource resolver will try to get the attribute names and the attribute values from this provider. - PROPERTY_AUTHENTICATE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
If a resource provider needs the user to be authenticated this property must be set to either
ResourceProvider.AUTHENTICATE_LAZYorResourceProvider.AUTHENTICATE_REQUIRED. - PROPERTY_CHANGED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the changed attribute names of a resource for an
SlingConstants.TOPIC_RESOURCE_CHANGEDevent. - PROPERTY_MODE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Mode for the resource provide The value is either
ResourceProvider.MODE_OVERLAY(default) orResourceProvider.MODE_PASSTHROUGH. - PROPERTY_MODIFIABLE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
A modifiable resource provider is capable of creating, changing and deleting resources.
- PROPERTY_NAME - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Optional service registration property setting a name for the provider.
- PROPERTY_NAMES_HINT - Static variable in interface org.apache.sling.api.resource.observation.ResourceChangeListener
-
An optional hint indicating to the underlying implementation that for changes regarding properties (added/removed/changed) the listener is only interested in those property names listed inhere.
- PROPERTY_PATH - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the resource path.
- PROPERTY_REFRESHABLE - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
If this flag is set to
true, the resource resolver will callResourceProvider.refresh(ResolveContext)when it's refreshed itself. - PROPERTY_REMOVED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the removed attribute names of a resource for an
SlingConstants.TOPIC_RESOURCE_CHANGEDevent. - PROPERTY_REQUIRED - Static variable in interface org.apache.sling.api.resource.ResourceProviderFactory
-
Deprecated.A required resource provider factory is accessed directly when a new resource resolver is created.
- PROPERTY_RESOURCE_SUPER_TYPE - Static variable in interface org.apache.sling.api.resource.ResourceResolver
-
This is property to be used for setting the resource super type of a resource during either creation (
ResourceResolver.create(Resource, String, Map)) or modifying (ModifiableValueMap). - PROPERTY_RESOURCE_SUPER_TYPE - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the resource super type.
- PROPERTY_RESOURCE_TYPE - Static variable in interface org.apache.sling.api.resource.ResourceResolver
-
This is the property to be used for setting the resource type of a resource during either creation (
ResourceResolver.create(Resource, String, Map)) or modifying (ModifiableValueMap). - PROPERTY_RESOURCE_TYPE - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the resource type.
- PROPERTY_ROOT - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The name of the service registration property containing the root path of the resources provided by this provider.
- PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory extensions.
- PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory language.
- PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory language version.
- PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory mime types.
- PROPERTY_SCRIPT_ENGINE_FACTORY_NAME - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory name.
- PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The event property listing the script engine factory name.
- PROPERTY_USE_RESOURCE_ACCESS_SECURITY - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The name of the service registration property containing a boolean flag indicating if the ResourceAccessSecurity service should be used for this provider or not.
- PROPERTY_USERID - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the event property holding the userid.
- PROVIDER_ADDED - Enum constant in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
- PROVIDER_CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Allowed value for the
ResourceAccessSecurity.CONTEXTservice registration property. - PROVIDER_REMOVED - Enum constant in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
- ProviderContext - Interface in org.apache.sling.spi.resource.provider
-
The provider context...
- providers - Variable in class org.apache.sling.api.resource.runtime.dto.RuntimeDTO
-
DTOs for all active providers.
- PUBLIC - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Scope
-
A URI that may be published to many client in public context.
- put(String, Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
- put(String, Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- put(String, Object) - Method in class org.apache.sling.api.scripting.SlingBindings
- put(String, Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- put(String, Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.api.resource.ResourceMetadata
- putAll(Map<? extends String, ?>) - Method in class org.apache.sling.api.scripting.LazyBindings
- putAll(Map<? extends String, ?>) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- putAll(Map<? extends String, ?>) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
Q
- QueriableResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - QueryLanguageProvider<T> - Interface in org.apache.sling.spi.resource.provider
-
The JCR query provider supports querying based on the JCR spec.
- queryResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Queries the storage using the given query formulated in the given language.
- queryResources(String, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- queryResources(ResolveContext<T>, String, String) - Method in interface org.apache.sling.spi.resource.provider.QueryLanguageProvider
-
Queries the storage using the given query formulated in the given language.
- queryResources(ResourceResolver, String, String) - Method in interface org.apache.sling.api.resource.QueriableResourceProvider
-
Deprecated.Queries the storage using the given query formulated in the given language.
- QuerySyntaxException - Exception in org.apache.sling.api.resource
-
The
QuerySyntaxExceptionis thrown by theResourceResolver.findResources(String, String)andResourceResolver.queryResources(String, String)methods if the query syntax is wrong or the requested query language is not available. - QuerySyntaxException(String, String, String) - Constructor for exception org.apache.sling.api.resource.QuerySyntaxException
- QuerySyntaxException(String, String, String, Throwable) - Constructor for exception org.apache.sling.api.resource.QuerySyntaxException
R
- READ - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
The URI may be used to read the resource.
- READER - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
Readerobject (value is "reader"). - reason - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderFailureDTO
-
The reason for the failure.
- rebaseResourcePath() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Will rebase the URI based on the underlying resource structure.
- RecursionTooDeepException - Exception in org.apache.sling.api.request
-
The
RecursionTooDeepExceptionis thrown by the Sling implementation if to many recursive content inclusions take place. - RecursionTooDeepException(String) - Constructor for exception org.apache.sling.api.request.RecursionTooDeepException
-
Creates a new instance of this class reporting the exception occurred while trying to include the output for rendering the resource at the given path.
- refresh() - Method in interface org.apache.sling.api.resource.RefreshableResourceProvider
-
Deprecated.The provider is updated to reflect the latest state.
- refresh() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
The resolver is updated to reflect the latest state.
- refresh() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- refresh(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The provider is updated to reflect the latest state.
- refreshable - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether the resource provider supports refreshing.
- RefreshableResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - remove() - Method in class org.apache.sling.api.wrappers.IteratorWrapper
- remove(Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
- remove(Object) - Method in class org.apache.sling.api.scripting.LazyBindings
- remove(Object) - Method in class org.apache.sling.api.scripting.SlingBindings
- remove(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- remove(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- REMOVED - Enum constant in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
- removeSchemeAndAuthority() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Will remove scheme and authority (that is user info, host and port).
- removeSelector(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Remove a selector from the URI.
- reportChanges(Iterable<ResourceChange>, boolean) - Method in interface org.apache.sling.spi.resource.provider.ObservationReporter
-
A resource provider can inform about a list of changes.
- reportChanges(ObserverConfiguration, Iterable<ResourceChange>, boolean) - Method in interface org.apache.sling.spi.resource.provider.ObservationReporter
-
A resource provider can inform about a list of changes.
- REQUEST - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.Use
SlingBindings.JAKARTA_REQUESTinstead. - REQUEST_ATTR_WORKSPACE_INFO - Static variable in interface org.apache.sling.api.resource.ResourceResolver
-
Deprecated.
- RequestDispatcherOptions - Class in org.apache.sling.api.request
-
RequestDispatcherOptionsare used in theSlingHttpServletRequest.getRequestDispatcher(org.apache.sling.api.resource.Resource, RequestDispatcherOptions)method, to give more control on some aspects of the include/forward mechanism. - RequestDispatcherOptions() - Constructor for class org.apache.sling.api.request.RequestDispatcherOptions
-
Creates an instance with no options set.
- RequestDispatcherOptions(String) - Constructor for class org.apache.sling.api.request.RequestDispatcherOptions
-
Creates a new instances setting options by parsing the given
optionsstring as follows: If the string is empty ornullno options are set. If the string neither contains a comma nor an equals sign, the string is assumed to be a resource type. - RequestParameter - Interface in org.apache.sling.api.request
-
The
RequestParameterclass represents a single parameter sent with the client request. - RequestParameterMap - Interface in org.apache.sling.api.request
-
The
RequestParameterMapencapsulates all request parameters of a request. - RequestPathInfo - Interface in org.apache.sling.api.request
-
Sling breaks the request URI into four parts: the path itself, optional dot-separated selectors and extension that follow it, and an optional path suffix.
- RequestPathInfoWrapper - Class in org.apache.sling.api.wrappers
-
The
RequestPathInfoWrapperclass is a default wrapper class around aRequestPathInfowhich may be extended to amend the functionality of the original request path info object. - RequestPathInfoWrapper(RequestPathInfo) - Constructor for class org.apache.sling.api.wrappers.RequestPathInfoWrapper
- RequestProgressTracker - Interface in org.apache.sling.api.request
-
The
RequestProgressTrackerclass provides the functionality to track the progress of request processing. - RequestUtil - Class in org.apache.sling.api.request
-
Request related utility methods.
- RequestUtil() - Constructor for class org.apache.sling.api.request.RequestUtil
- required - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.AuthType
- reset() - Method in interface org.apache.sling.api.resource.PersistableValueMap
-
Deprecated.Reset the changes.
- RESOLUTION_PATH - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
The name of the required property providing the part of the request URI which was used to the resolve the resource to which the meta data instance belongs (value is "sling.resolutionPath").
- RESOLUTION_PATH_INFO - Static variable in class org.apache.sling.api.resource.ResourceMetadata
-
The name of the required property providing the part of the request URI which was not used to the resolve the resource to which the meta data instance belongs (value is "sling.resolutionPathInfo").
- resolve(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Resolves the resource from the given
absPathoptionally takingHttpServletRequestinto account, such as the value of theHostrequest header. - resolve(HttpServletRequest, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callingresolveon the wrapped resource resolver. - resolve(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Resolves the resource from the given absolute path.
- resolve(String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callingresolveon the wrapped resource resolver. - resolve(Resource, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Resolves a
jakarta.servlet.Servletwhoseservicemethod may be used to handle a request. - resolve(ResourceResolver, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Resolves a
jakarta.servlet.Servletwhoseservicemethod may be used to handle a request. - resolve(SlingJakartaHttpServletRequest) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Resolves a
jakarta.servlet.Servletwhoseservicemethod may be used to handle the givenrequest. - resolve(HttpServletRequest) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Deprecated.as of 2.0.4, use
ResourceResolver.resolve(HttpServletRequest, String)instead. - resolve(HttpServletRequest) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Wraps and returns the
Resourceobtained by callingresolveon the wrapped resource resolver. - resolve(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Deprecated.Use
ResourceResolver.resolve(HttpServletRequest, String)instead. - resolve(HttpServletRequest, String) - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Deprecated.
- ResolveContext<T> - Interface in org.apache.sling.spi.resource.provider
-
The resolve context is passed to most of the methods of the
ResourceProviderto provide additional context information for the provider. - RESOLVER - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
ResourceResolverobject (value is "resolver"). - resolveServlet(Resource, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Deprecated.Use
ServletResolver.resolve(Resource, String)instead. - resolveServlet(ResourceResolver, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Deprecated.Use
ServletResolver.resolve(ResourceResolver, String)instead. - resolveServlet(SlingHttpServletRequest) - Method in interface org.apache.sling.api.servlets.ServletResolver
-
Deprecated.
- Resource - Interface in org.apache.sling.api.resource
-
Resources are pieces of content on which Sling acts
- RESOURCE - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
Resourceobject (value is "resource"). - RESOURCE_TYPE_NON_EXISTING - Static variable in interface org.apache.sling.api.resource.Resource
-
The special resource type for resource instances representing nonexisting resources (value is "sling:nonexisting").
- RESOURCE_TYPE_SYNTHETIC - Static variable in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.The resource type be set on resources returned by the
ResourceProvider.listChildren(Resource)method to enable traversing the resource tree down to a deeply nested provided resource which has no concrete parent hierarchy (value is"sling:syntheticResourceProviderResource"). - RESOURCE_TYPE_SYNTHETIC - Static variable in class org.apache.sling.spi.resource.provider.ResourceProvider
-
The resource type be set on resources returned by the
ResourceProvider.listChildren(ResolveContext, Resource)method to enable traversing the resource tree down to a deeply nested provided resource which has no concrete parent hierarchy (value is"sling:syntheticResourceProviderResource"). - ResourceAccessSecurity - Interface in org.apache.sling.api.security
-
The
ResourceAccessSecuritydefines a service API which is used in two different context: for securing resource providers which have no own access control and on the application level to further restrict the access to resources in general. - ResourceChange - Class in org.apache.sling.api.resource.observation
-
A resource change event is immutable.
- ResourceChange(ResourceChange.ChangeType, String, boolean) - Constructor for class org.apache.sling.api.resource.observation.ResourceChange
-
Create a new change object
- ResourceChange(ResourceChange.ChangeType, String, boolean, Set<String>, Set<String>, Set<String>) - Constructor for class org.apache.sling.api.resource.observation.ResourceChange
-
Deprecated.The sets of property names are not supported anymore.
- ResourceChange.ChangeType - Enum Class in org.apache.sling.api.resource.observation
-
The type of the change
- ResourceChangeList - Interface in org.apache.sling.api.resource.observation
-
An instance of
ResourceChangeListis passed toResourceChangeListener.onChange(List)to pass in additional information like the search path. - ResourceChangeListener - Interface in org.apache.sling.api.resource.observation
-
Listener for resource change events.
- ResourceContext - Interface in org.apache.sling.spi.resource.provider
-
The resource context provides additional information for resource resolving.
- ResourceDecorator - Interface in org.apache.sling.api.resource
-
Optional service to decorate
Resources returned by theResourceResolver. - ResourceMapper - Interface in org.apache.sling.api.resource.mapping
-
Allows access to resource mappings
- ResourceMetadata - Class in org.apache.sling.api.resource
-
The
ResourceMetadatainterface defines the API for the metadata of a SlingResource. - ResourceMetadata() - Constructor for class org.apache.sling.api.resource.ResourceMetadata
- ResourceNotFoundException - Exception in org.apache.sling.api.resource
-
An Exception that causes Sling to return a 404 (NOT FOUND) status code.
- ResourceNotFoundException(String) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
- ResourceNotFoundException(String, String) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
- ResourceNotFoundException(String, String, Throwable) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
- ResourceNotFoundException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
- ResourceProvider<T> - Class in org.apache.sling.spi.resource.provider
-
API for providers of resources.
- ResourceProvider - Interface in org.apache.sling.api.resource
-
Deprecated.Use the
ResourceProvider - ResourceProvider() - Constructor for class org.apache.sling.spi.resource.provider.ResourceProvider
- ResourceProviderDTO - Class in org.apache.sling.api.resource.runtime.dto
-
Represents a
org.apache.sling.spi.resource.provider.ResourceProvider. - ResourceProviderDTO() - Constructor for class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
- ResourceProviderFactory - Interface in org.apache.sling.api.resource
-
Deprecated.
- ResourceProviderFailureDTO - Class in org.apache.sling.api.resource.runtime.dto
-
Represents a failed
org.apache.sling.spi.resource.provider.ResourceProvider. - ResourceProviderFailureDTO() - Constructor for class org.apache.sling.api.resource.runtime.dto.ResourceProviderFailureDTO
- ResourceResolver - Interface in org.apache.sling.api.resource
-
The
ResourceResolverdefines the API which may be used to resolveResourceobjects and work with such resources like creating, editing or updating them. - ResourceResolverFactory - Interface in org.apache.sling.api.resource
-
The
ResourceResolverFactorydefines the service API to get and createResourceResolvers. - ResourceResolverWrapper - Class in org.apache.sling.api.wrappers
-
The
ResourceResolverWrapperis a wrapper for anyResourceResolver, delegating all method calls to the wrapped resource resolver by default. - ResourceResolverWrapper(ResourceResolver) - Constructor for class org.apache.sling.api.wrappers.ResourceResolverWrapper
-
Creates a new wrapper instance, delegating all calls to the given
resolver. - resourceTypeToPath(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Helper method, which returns the given resource type as returned from the
Resource.getResourceType()as a relative path. - ResourceUtil - Class in org.apache.sling.api.resource
-
The
ResourceUtilclass provides helper methods dealing with resources. - ResourceUtil() - Constructor for class org.apache.sling.api.resource.ResourceUtil
- ResourceUtil.BatchResourceRemover - Class in org.apache.sling.api.resource
-
A batch resource remover deletes resources in batches.
- ResourceWrapper - Class in org.apache.sling.api.resource
-
The
ResourceWrapperis a wrapper for anyResourcedelegating all method calls to the wrapped resource by default. - ResourceWrapper(Resource) - Constructor for class org.apache.sling.api.resource.ResourceWrapper
-
Creates a new wrapper instance delegating all method calls to the given
resource. - RESPONSE - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.Use
SlingBindings.JAKARTA_RESPONSEinstead. - ResponseUtil - Class in org.apache.sling.api.request
-
Response related utility methods
- ResponseUtil() - Constructor for class org.apache.sling.api.request.ResponseUtil
- revert() - Method in interface org.apache.sling.api.resource.ResourceResolver
-
Revert all pending changes.
- revert() - Method in class org.apache.sling.api.wrappers.ResourceResolverWrapper
- revert(ResolveContext<T>) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
Revert all transient changes: create, delete and updates.
- revert(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
-
Deprecated.Revert all transient changes: create, delete and updates.
- ROOTS - Static variable in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.The name of the service registration property containing the root paths of the resources provided by this provider (value is "provider.roots").
- RuntimeDTO - Class in org.apache.sling.api.resource.runtime.dto
-
Represents the resource resolver runtime
- RuntimeDTO() - Constructor for class org.apache.sling.api.resource.runtime.dto.RuntimeDTO
- RuntimeService - Interface in org.apache.sling.api.resource.runtime
-
Runtime service providing introspection of the state of the resource resolver and the resource providers.
S
- safePut(String, Object) - Method in class org.apache.sling.api.scripting.SlingBindings
-
Helper method which invokes
HashMap.put(Object, Object)only if the value is not null. - save() - Method in interface org.apache.sling.api.resource.PersistableValueMap
-
Deprecated.Persists the changes.
- ScriptEvaluationException - Exception in org.apache.sling.api.scripting
-
The
ScriptEvaluationExceptionis thrown by theSlingScript.eval(SlingBindings)method if an error occurrs evaluating the script. - ScriptEvaluationException(String, String) - Constructor for exception org.apache.sling.api.scripting.ScriptEvaluationException
- ScriptEvaluationException(String, String, Throwable) - Constructor for exception org.apache.sling.api.scripting.ScriptEvaluationException
- send(HttpServletResponse, boolean) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
- service(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Forwards the request to the
SlingJakartaSafeMethodsServlet.service(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse)method if the request is a HTTP request. - service(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Forwards the request to the
SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)method if the request is a HTTP request. - service(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.Called by the
SlingSafeMethodsServlet.service(ServletRequest, ServletResponse)method to handle the HTTP request. - service(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
-
Called by the
SlingJakartaSafeMethodsServlet.service(ServletRequest, ServletResponse)method to handle the HTTP request. - service(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
- service(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
- SERVICE_BUNDLE - Static variable in interface org.apache.sling.api.resource.ResourceProviderFactory
-
Deprecated.The authentication information property referring to the bundle providing a service for which a resource provider is to be retrieved.
- SERVICE_NAME - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
-
The service name to use when registering implementations of this interface as services.
- SERVICE_NAME - Static variable in interface org.apache.sling.api.adapter.AdapterManager
-
The name under which this service is registered with the OSGi service registry.
- SERVICE_NAME - Static variable in interface org.apache.sling.api.auth.Authenticator
-
The name under which this service is registered.
- SERVICE_NAME - Static variable in interface org.apache.sling.api.request.SlingJakartaRequestListener
- SERVICE_NAME - Static variable in interface org.apache.sling.api.request.SlingRequestListener
-
Deprecated.
- SERVICE_NAME - Static variable in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.The service name to use when registering implementations of this interface as services (value is "org.apache.sling.api.resource.ResourceProvider").
- service_not_gettable - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.FailureReason
- serviceId - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
The service id from the service registry.
- ServletResolver - Interface in org.apache.sling.api.servlets
-
The
ServletResolverdefines the API for a service capable of resolvingjakarta.servlet.Servletinstances to handle the processing of a request or resource. - ServletResolverConstants - Class in org.apache.sling.api.servlets
-
Service registration properties and common values used for registering a Sling Servlet.
- ServletResolverConstants() - Constructor for class org.apache.sling.api.servlets.ServletResolverConstants
- setAdapterManager(AdapterManager) - Static method in class org.apache.sling.api.adapter.SlingAdaptable
-
Sets the global
AdapterManagerto be used by this class. - setAddSelectors(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Sets the
RequestDispatcherOptions.OPT_ADD_SELECTORSoption to the givenadditionalSelectorsif notnull. - setCharacterEncoding(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setContentLength(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setContentType(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setCreateRequest(boolean) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Sets whether the request was a create request or not.
- setCreationTime(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
-
Sets the
ResourceMetadata.CREATION_TIMEproperty tocreationTimeif not negative. - setError(Throwable) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Set the error
- setExtension(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the extension of the URI.
- setFlush(boolean) - Method in class org.apache.sling.api.scripting.SlingBindings
-
Sets the
SlingBindings.FLUSHproperty toflush. - setForceResourceType(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Sets the
RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPEoption to the givenresourceTypeif notnull. - setFragment(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the fragment of the URI.
- setHost(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the host of the URI.
- setJakartaRequest(SlingJakartaHttpServletRequest) - Method in class org.apache.sling.api.scripting.SlingBindings
- setJakartaResponse(SlingJakartaHttpServletResponse) - Method in class org.apache.sling.api.scripting.SlingBindings
- setLocation(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Set the location
- setLog(Logger) - Method in class org.apache.sling.api.scripting.SlingBindings
- setModificationTime(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
-
Sets the
ResourceMetadata.MODIFICATION_TIMEproperty tomodificationTimeif not negative. - setOut(PrintWriter) - Method in class org.apache.sling.api.scripting.SlingBindings
- setParameterMap(Map<String, String>) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setParentLocation(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Set the parent location
- setPath(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the path of the URI that contains a resource path and optionally path parameters, selectors, an extension and a suffix.
- setPath(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Sets the absolute path of the item upon which the request operated.
- setPathParameter(String, String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set a path parameter to the URI.
- setPathParameters(Map<String, String>) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Replaces all path parameters in the URI.
- setPort(int) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the port of the URI.
- setProperty(String, Object) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Sets a generic response property with the given
- setProtectHeadersOnInclude(boolean) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Sets the
RequestDispatcherOptions.OPT_PROTECT_HEADERS_ON_INCLUDEoption to the given value. - setQuery(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the query of the URI.
- setQueryParameters(Map<String, String>) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Replace all query parameters of the URL.
- setReader(Reader) - Method in class org.apache.sling.api.scripting.SlingBindings
- setReferer(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Sets the referer property
- setReplaceExtension(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Sets the
RequestDispatcherOptions.OPT_REPLACE_EXTENSIONoption to the givenreplaceExtensionif notnull. - setReplaceSelectors(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
-
Sets the
RequestDispatcherOptions.OPT_REPLACE_SELECTORSoption to the givenreplaceSelectorsif notnull. - setReplaceSuffix(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
- setRequest(SlingHttpServletRequest) - Method in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.
- setRequestAttribute(HttpServletRequest, String, Object) - Static method in class org.apache.sling.api.request.RequestUtil
-
Sets the named request attribute to the new value and returns the previous value.
- setRequestAttribute(HttpServletRequest, String, Object) - Static method in class org.apache.sling.api.request.RequestUtil
- setResolutionPath(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setResolutionPathInfo(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
- setResource(Resource) - Method in class org.apache.sling.api.scripting.SlingBindings
- setResourcePath(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the resource path of the URI.
- setResourceResolver(ResourceResolver) - Method in class org.apache.sling.api.scripting.SlingBindings
- setResourceResolver(ResourceResolver) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Sets the resource resolver (required for
RequestPathInfo.getSuffixResource()). - setResponse(SlingHttpServletResponse) - Method in class org.apache.sling.api.scripting.SlingBindings
-
Deprecated.
- setScheme(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the scheme of the URI.
- setSchemeSpecificPart(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the scheme specific part of the URI.
- setSelectors(String[]) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the selectors of the URI.
- setSling(SlingScriptHelper) - Method in class org.apache.sling.api.scripting.SlingBindings
- setStatus(int, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.sets the response status code properties
- setSuffix(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the suffix of the URI.
- setTitle(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
-
Deprecated.Sets the title of the response message
- setUserInfo(String) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Set the user info of the URI.
- shadowed - Enum constant in enum class org.apache.sling.api.resource.runtime.dto.FailureReason
- size() - Method in class org.apache.sling.api.scripting.LazyBindings
- size() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- size() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- SLING - Static variable in class org.apache.sling.api.scripting.SlingBindings
-
The name of the global scripting variable providing the
SlingScriptHelperfor the request (value is "sling"). - SLING_CURRENT_SERVLET_NAME - Static variable in class org.apache.sling.api.SlingConstants
-
The name of the request attribute providing the name of the currently executing servlet (value is "sling.core.current.servletName").
- SLING_SCOPE - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The name of the script scope holding the
SlingScriptConstants.ATTR_SCRIPT_RESOURCE_RESOLVER. - SLING_SERVLET_EXTENSIONS - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service containing the request URL extensions supported by the servlet for GET requests (value is "sling.servlet.extensions").
- SLING_SERVLET_METHODS - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service containing the request methods supported by the servlet (value is "sling.servlet.methods").
- SLING_SERVLET_NAME - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a Servlet registered as a service containing the name of the servlet (value is "sling.core.servletName").
- SLING_SERVLET_PATHS - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service providing the absolute paths under which the servlet is accessible as a resource (value is "sling.servlet.paths").
- SLING_SERVLET_PATHS_STRICT - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
When set to
truethe strict selection mode for path based servlets is enabled (value is "sling.servlet.paths.strict"). - SLING_SERVLET_PREFIX - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service providing the prefix/index to be used to register this servlet.
- SLING_SERVLET_RESOURCE_SUPER_TYPE - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service containing the resource super type supported by the servlet (value is "sling.servlet.resourceSuperType").
- SLING_SERVLET_RESOURCE_TYPES - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a servlet registered as a service containing the resource type(s) supported by the servlet (value is "sling.servlet.resourceTypes").
- SLING_SERVLET_SELECTORS - Static variable in class org.apache.sling.api.servlets.ServletResolverConstants
-
The name of the service registration property of a Servlet registered as a service containing the request URL selectors supported by the servlet (value is "sling.servlet.selectors").
- SlingAdaptable - Class in org.apache.sling.api.adapter
-
The
SlingAdaptableclass is an (abstract) default implementation of theAdaptableinterface. - SlingAdaptable() - Constructor for class org.apache.sling.api.adapter.SlingAdaptable
- SlingAllMethodsServlet - Class in org.apache.sling.api.servlets
-
Deprecated.Use
SlingJakartaAllMethodsServletinstead - SlingAllMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingAllMethodsServlet
-
Deprecated.
- SlingBindings - Class in org.apache.sling.api.scripting
-
The
SlingBindingsclass is used to prepare global variables for script execution. - SlingBindings() - Constructor for class org.apache.sling.api.scripting.SlingBindings
- SlingConstants - Class in org.apache.sling.api
-
The
SlingConstantsinterface provides some symbolic constants for well known constant strings in Sling. - SlingConstants() - Constructor for class org.apache.sling.api.SlingConstants
- SlingException - Exception in org.apache.sling.api
-
The
SlingExceptionis the base exception used throughout the Sling API. - SlingException() - Constructor for exception org.apache.sling.api.SlingException
-
Constructs a new Sling exception.
- SlingException(String) - Constructor for exception org.apache.sling.api.SlingException
-
Constructs a new Sling exception with the given text.
- SlingException(String, Throwable) - Constructor for exception org.apache.sling.api.SlingException
-
Constructs a new Sling exception when the Servlet needs to do the following: throw an exception include the "root cause" exception include a description message
- SlingException(Throwable) - Constructor for exception org.apache.sling.api.SlingException
-
Constructs a new Sling exception when the Servlet needs to throw an exception.
- SlingHttpServletRequest - Interface in org.apache.sling.api
-
Deprecated.Use
SlingJakartaHttpServletRequestinstead. - SlingHttpServletRequestBuilder - Interface in org.apache.sling.api.request.builder
-
Fluent helper for building a request.
- SlingHttpServletRequestWrapper - Class in org.apache.sling.api.wrappers
-
Deprecated.
- SlingHttpServletRequestWrapper(SlingHttpServletRequest) - Constructor for class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
-
Deprecated.Create a wrapper for the supplied wrappedRequest
- SlingHttpServletResponse - Interface in org.apache.sling.api
-
Deprecated.Use
SlingJakartaHttpServletResponseinstead. - SlingHttpServletResponseBuilder - Interface in org.apache.sling.api.request.builder
-
Fluent helper for building a response.
- SlingHttpServletResponseResult - Interface in org.apache.sling.api.request.builder
-
Deprecated.Use
SlingJakartaHttpServletResponseResultinstead - SlingHttpServletResponseWrapper - Class in org.apache.sling.api.wrappers
-
Deprecated.
- SlingHttpServletResponseWrapper(SlingHttpServletResponse) - Constructor for class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
-
Deprecated.Create a wrapper for the supplied wrappedRequest
- SlingIOException - Exception in org.apache.sling.api
-
The
SlingIOExceptionis a runtime exception wrapper for the JavaIOException. - SlingIOException(IOException) - Constructor for exception org.apache.sling.api.SlingIOException
- SlingJakartaAllMethodsServlet - Class in org.apache.sling.api.servlets
-
Helper base class for data modifying Servlets used in Sling.
- SlingJakartaAllMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingJakartaAllMethodsServlet
- SlingJakartaHttpServletRequest - Interface in org.apache.sling.api
-
The
SlingHttpServletRequestdefines the interface to provide client request information to a servlet. - SlingJakartaHttpServletRequestWrapper - Class in org.apache.sling.api.wrappers
-
The
SlingJakartaHttpServletRequestWrapperclass is a default wrapper class around aSlingJakartaHttpServletRequestwhich may be extended to amend the functionality of the original request object. - SlingJakartaHttpServletRequestWrapper(SlingJakartaHttpServletRequest) - Constructor for class org.apache.sling.api.wrappers.SlingJakartaHttpServletRequestWrapper
-
Create a wrapper for the supplied wrappedRequest
- SlingJakartaHttpServletResponse - Interface in org.apache.sling.api
-
The
SlingHttpServletResponsedefines the interface to assist a servlet in creating and sending a response to the client. - SlingJakartaHttpServletResponseResult - Interface in org.apache.sling.api.request.builder
-
This is an extension of a
SlingJakartaHttpServletResponseto get the result from a processing operation. - SlingJakartaHttpServletResponseWrapper - Class in org.apache.sling.api.wrappers
-
The
SlingJakartaHttpServletResponseWrapperclass is a default wrapper class around aSlingJakartaHttpServletResponsewhich may be extended to amend the functionality of the original response object. - SlingJakartaHttpServletResponseWrapper(SlingJakartaHttpServletResponse) - Constructor for class org.apache.sling.api.wrappers.SlingJakartaHttpServletResponseWrapper
-
Create a wrapper for the supplied wrappedRequest
- SlingJakartaRequestEvent - Class in org.apache.sling.api.request
-
represents an event published by the Sling engine while dispatching a request.
- SlingJakartaRequestEvent(ServletContext, ServletRequest, SlingJakartaRequestEvent.EventType) - Constructor for class org.apache.sling.api.request.SlingJakartaRequestEvent
- SlingJakartaRequestEvent.EventType - Enum Class in org.apache.sling.api.request
-
type of the event
- SlingJakartaRequestListener - Interface in org.apache.sling.api.request
-
Implementations of this service interface receive notifications about changes to Sling request of the Sling application they are part of.
- SlingJakartaSafeMethodsServlet - Class in org.apache.sling.api.servlets
-
Helper base class for read-only Servlets used in Sling.
- SlingJakartaSafeMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingJakartaSafeMethodsServlet
- SlingRequestEvent - Class in org.apache.sling.api.request
-
Deprecated.Use
SlingJakartaRequestEventinstead. - SlingRequestEvent(ServletContext, ServletRequest, SlingRequestEvent.EventType) - Constructor for class org.apache.sling.api.request.SlingRequestEvent
-
Deprecated.
- SlingRequestEvent.EventType - Enum Class in org.apache.sling.api.request
-
Deprecated.type of the event
- SlingRequestListener - Interface in org.apache.sling.api.request
-
Deprecated.Use
SlingJakartaRequestListenerinstead. - SlingRequestPaths - Class in org.apache.sling.api.wrappers
-
This class is not a "wrapper" per se, but computes the correct path info, request URI, etc.
- SlingRequestPaths() - Constructor for class org.apache.sling.api.wrappers.SlingRequestPaths
- SlingSafeMethodsServlet - Class in org.apache.sling.api.servlets
-
Deprecated.Use
SlingJakartaSafeMethodsServletinstead - SlingSafeMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
Deprecated.
- SlingScript - Interface in org.apache.sling.api.scripting
-
The
SlingScriptdefines the API for objects which encapsulate a script. - SlingScriptConstants - Class in org.apache.sling.api.scripting
-
Some constants for the scripting.
- SlingScriptConstants() - Constructor for class org.apache.sling.api.scripting.SlingScriptConstants
- SlingScriptHelper - Interface in org.apache.sling.api.scripting
-
The
SlingScriptHelperinterface defines the API of a helper class which is provided to the scripts called from sling through the globalvariable.sling - SlingScriptResolver - Interface in org.apache.sling.api.scripting
-
Deprecated.The SlingScriptResolver interface is intended to be implemented and also used by project specific code. To keep the API as clean as possible this interface was deprecated
- SlingServletException - Exception in org.apache.sling.api
-
The
SlingServletExceptionis a runtime exception wrapper for the Servlet APIServletException. - SlingServletException(ServletException) - Constructor for exception org.apache.sling.api.SlingServletException
-
Create a new exception
- SlingServletException(ServletException) - Constructor for exception org.apache.sling.api.SlingServletException
-
Deprecated.
- SlingUri - Interface in org.apache.sling.api.uri
-
Represents an immutable URI in the same way as java.net.URI but is extended with Sling-specific URI parts (e.g.
- SlingUriBuilder - Class in org.apache.sling.api.uri
-
Builder for immutable
SlingUris. - start(ProviderContext) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
With a call to this method, the provider implementation is notified that it is used in the resource tree.
- startTimer(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
-
Starts a named timer.
- stop() - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
With a call to this method, the provider implementation is notified that it is not used anymore in the resource tree.
- SUBSERVICE - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Name of the authentication information property providing the Subservice Name for the service requesting a resource resolver.
- supportsQueryLanguage - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether the resource provider supports query languages.
- SyntheticResource - Class in org.apache.sling.api.resource
-
The
SyntheticResourceclass is a simple implementation of theResourceinterface which may be used to provide a resource object which has no actual resource data (except for the mandatory property "sling:resourceType"). - SyntheticResource(ResourceResolver, String, String) - Constructor for class org.apache.sling.api.resource.SyntheticResource
-
Creates a synthetic resource with the given
pathandresourceType. - SyntheticResource(ResourceResolver, ResourceMetadata, String) - Constructor for class org.apache.sling.api.resource.SyntheticResource
-
Creates a synthetic resource with the given
ResourceMetadataandresourceType.
T
- toJakartaFilter(Filter) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaFilterWrapper
-
Create a new wrapper
- toJakartaRequest(SlingHttpServletRequest) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
-
Create a new wrapper
- toJakartaRequest(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
-
Create a new wrapper
- toJakartaRequest(ServletRequest) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaRequestWrapper
-
Create a new wrapper
- toJakartaResponse(SlingHttpServletResponse) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaResponseWrapper
-
Create a new wrapper
- toJakartaResponse(HttpServletResponse) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaResponseWrapper
-
Create a new wrapper
- toJakartaResponse(ServletResponse) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaResponseWrapper
-
Create a new wrapper
- toJakartaServlet(Servlet) - Static method in class org.apache.sling.api.wrappers.JavaxToJakartaServletWrapper
-
Create a new wrapper
- toJavaxFilter(Filter) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxFilterWrapper
-
Create a wrapper
- toJavaxRequest(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
-
Create a new wrapper
- toJavaxRequest(ServletRequest) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
-
Create a new wrapper
- toJavaxRequest(SlingJakartaHttpServletRequest) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxRequestWrapper
-
Create a new wrapper
- toJavaxResponse(HttpServletResponse) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxResponseWrapper
-
Create a new wrapper
- toJavaxResponse(ServletResponse) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxResponseWrapper
-
Create a new wrapper
- toJavaxResponse(SlingJakartaHttpServletResponse) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxResponseWrapper
-
Create a new wrapper
- toJavaxServlet(Servlet) - Static method in class org.apache.sling.api.wrappers.JakartaToJavaxServletWrapper
-
Create a new wrapper
- TooManyCallsException - Exception in org.apache.sling.api.request
-
The
TooManyCallsExceptionis thrown by the Sling implementation if to many inclusions have been called for during a single request. - TooManyCallsException(String) - Constructor for exception org.apache.sling.api.request.TooManyCallsException
-
Creates an instance of this exception naming the Servlet (or Script) whose call caused this exception to be thrown.
- TOPIC_ADAPTER_FACTORY_ADDED - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use a service listener listening for service removed events for
org.apache.sling.adapter.Adaption. - TOPIC_ADAPTER_FACTORY_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Use a service listener listening for service removed events for
org.apache.sling.adapter.Adaption. - TOPIC_RESOURCE_ADDED - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Register a
ResourceChangeListenerinstead - TOPIC_RESOURCE_CHANGED - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Register a
ResourceChangeListenerinstead - TOPIC_RESOURCE_PROVIDER_ADDED - Static variable in class org.apache.sling.api.SlingConstants
-
The topic for the OSGi event which is sent when a resource provider has been added to the resource tree.
- TOPIC_RESOURCE_PROVIDER_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
-
The topic for the OSGi event which is sent when a resource provider has been removed from the resource tree.
- TOPIC_RESOURCE_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
-
Deprecated.Register a
ResourceChangeListenerinstead - TOPIC_RESOURCE_RESOLVER_MAPPING_CHANGED - Static variable in class org.apache.sling.api.SlingConstants
-
The topic for the OSGi event which is sent when the resource mapping changes.
- TOPIC_SCRIPT_ENGINE_FACTORY_ADDED - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The topic for the OSGi event which is sent when a script engine factory has been added.
- TOPIC_SCRIPT_ENGINE_FACTORY_REMOVED - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The topic for the OSGi event which is sent when a script engine factory has been removed.
- TOPIC_SCRIPT_ENGINE_FACTORY_UPDATED - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
-
The topic for the OSGi event which is sent when a script engine factory has been updated.
- toString() - Method in class org.apache.sling.api.request.header.JakartaMediaRangeList.MediaRange
- toString() - Method in class org.apache.sling.api.request.header.MediaRangeList.MediaRange
-
Deprecated.
- toString() - Method in class org.apache.sling.api.resource.NonExistingResource
- toString() - Method in class org.apache.sling.api.resource.observation.ResourceChange
- toString() - Method in class org.apache.sling.api.resource.path.Path
- toString() - Method in class org.apache.sling.api.resource.path.PathBuilder
-
Returns the path
- toString() - Method in class org.apache.sling.api.resource.path.PathSet
- toString() - Method in class org.apache.sling.api.resource.ResourceWrapper
-
Returns a string representation of this wrapper consisting of the class' simple name, the
resource typeandpathas well as the string representation of thewrapped resource. - toString() - Method in class org.apache.sling.api.resource.SyntheticResource
- toString() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the URI as String.
- toString() - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Builds the corresponding string URI for this builder.
- toString() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- toStringSet() - Method in class org.apache.sling.api.resource.path.PathSet
-
Create a unmodifiable set of strings
- toUri() - Method in interface org.apache.sling.api.uri.SlingUri
-
Returns the
URI. - toURI(Resource, URIProvider.Scope, URIProvider.Operation) - Method in interface org.apache.sling.api.resource.external.URIProvider
-
Return a URI applicable to the defined scope.
- transformQuery(String, String, ResourceResolver) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
-
Optionally transform a query based on the current user's credentials.
- traverseChildren(Iterator<Resource>) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
-
Visit the given resources.
U
- unescapeName(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Unescapes the given
escapedNamepreviously escaped usingResourceUtil.escapeName(String). - unsetAdapterManager(AdapterManager) - Static method in class org.apache.sling.api.adapter.SlingAdaptable
-
Unsets the global
AdapterManager. - unwrap(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
-
Unwrap the resource and return the wrapped implementation.
- update(long) - Method in class org.apache.sling.spi.resource.provider.ResourceProvider
-
With a call to this method, the provider implementation is notified that any information regarding the registration of the provider has changed.
- UPDATE - Enum constant in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
The URI may be used to update the resource.
- URIProvider - Interface in org.apache.sling.api.resource.external
-
Provides a URI in exchange for a Resource.
- URIProvider.Operation - Enum Class in org.apache.sling.api.resource.external
-
Defines which operation the URI may be used to perform.
- URIProvider.Scope - Enum Class in org.apache.sling.api.resource.external
-
Defines the scope in which the URI may be used.
- USE_RESOURCE_ACCESS_SECURITY - Static variable in interface org.apache.sling.api.resource.ResourceProvider
-
Deprecated.The name of the service registration property containing the a boolean flag indicating if the ResourceAccessSecurity service should be used for this provider or not.
- useAttributesFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the attributes backed by the provided request.
- useAttributesFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Deprecated.
- USER - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Name of the authentication information property providing the name of the user for which the
ResourceResolverFactory.getResourceResolver(Map)method creates resource resolvers. - USER_IMPERSONATION - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
-
Name of the authentication information property causing the
ResourceResolverFactory.getResourceResolver(Map),ResourceResolverFactory.getAdministrativeResourceResolver(Map), andResourceResolverFactory.getServiceResourceResolver(Map)methods to try to impersonate the created resource resolver to the requested user and return the impersonated resource resolver. - USER_IMPERSONATOR - Static variable in interface org.apache.sling.api.resource.ResourceResolver
-
The name of the resource resolver attribute which is set if the resource resolver has been impersonated as per the
ResourceResolverFactory.USER_IMPERSONATIONproperty. - useRequestDispatcherFrom(SlingHttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Deprecated.
- useRequestDispatcherFrom(SlingJakartaHttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the request dispatcher from the provided request.
- useResourceAccessSecurity - Variable in class org.apache.sling.api.resource.runtime.dto.ResourceProviderDTO
-
Whether resource access security should be used.
- useSchemeAndAuthority(URI) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Will take over scheme and authority (user info, host and port) from provided URI.
- useSchemeAndAuthority(SlingUri) - Method in class org.apache.sling.api.uri.SlingUriBuilder
-
Will take over scheme and authority (user info, host and port) from provided slingUri.
- useServletContextFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the servlet context from the provided request.
- useServletContextFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Deprecated.
- useSessionFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the session from the provided request.
- useSessionFrom(HttpServletRequest) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Deprecated.
V
- ValueMap - Interface in org.apache.sling.api.resource
-
The
ValueMapis an easy way to access properties of a resource. - ValueMapDecorator - Class in org.apache.sling.api.wrappers
- ValueMapDecorator(Map<String, Object>) - Constructor for class org.apache.sling.api.wrappers.ValueMapDecorator
-
Creates a new wrapper around a given map.
- ValueMapUtil - Class in org.apache.sling.api.wrappers
-
Factory methods to create
ValueMaps. - valueOf(String) - Static method in enum class org.apache.sling.api.request.SlingJakartaRequestEvent.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.request.SlingRequestEvent.EventType
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.resource.external.URIProvider.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.resource.runtime.dto.AuthType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.sling.api.resource.runtime.dto.FailureReason
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.sling.api.request.SlingJakartaRequestEvent.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.sling.api.request.SlingRequestEvent.EventType
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.sling.api.resource.external.URIProvider.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.sling.api.resource.external.URIProvider.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.sling.api.resource.observation.ResourceChange.ChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.sling.api.resource.ResourceMetadata
- values() - Static method in enum class org.apache.sling.api.resource.runtime.dto.AuthType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.sling.api.resource.runtime.dto.FailureReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.sling.api.scripting.LazyBindings
- values() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
-
Deprecated.
- values() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
- visit(Resource) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
-
Implement this method to do actual work on the resources.
W
- WILDCARD - Static variable in class org.apache.sling.api.request.header.JakartaMediaRangeList
- WILDCARD - Static variable in class org.apache.sling.api.request.header.MediaRangeList
-
Deprecated.
- withBody(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the supplied content as the request's body content.
- withContentType(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets the HTTP request's
Content-Typeheader. - withExtension(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets the optional extension of the internal request, which influences the servlet/script resolution.
- withParameter(String, String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets a request parameter.
- withParameter(String, String[]) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets a request parameter.
- withParameters(Map<String, String[]>) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Adds the supplied request parameters to the current ones.
- withRequestMethod(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets the HTTP request method to use - defaults to
GET. - withRequestProgressTracker(RequestProgressTracker) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Uses the provided request progress tracker
- withSelectors(String...) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets the optional selectors of the internal request, which influence the servlet/script resolution.
- withSuffix(String) - Method in interface org.apache.sling.api.request.builder.SlingHttpServletRequestBuilder
-
Sets the optional suffix of the internal request.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RequestDispatcher.INCLUDE_CONTEXT_PATHinstead