All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AbstractResource TheAbstractResourceis an abstract implementation of theResourceinterface.AbstractResourceVisitor This visitor will traverse the given resource and all its children in a depth-first approach and call theAbstractResourceVisitor.visit(Resource)method for each visited resource.AccessSecurityException Exception thrown by methods ofResourceAccessSecurityThis exception is used to catch unpredictable situations in methods ofResourceAccessSecurityAdaptable TheAdaptableinterface identifies objects which can be adapted to other types or representations of the same object.AdapterFactory TheAdapterFactoryinterface defines the API for helpers which may be provided to enhance the adaptability of adaptable objects.AdapterManager TheAdapterManagerdefines the service interface for a manager for object adaption.AttributableResourceProvider Deprecated. Use theResourceProviderAuthenticator TheAuthenticatorinterface 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 Enumeration for the auth type of a resource provider.Builders Creates builders.CompositeValueMap Deprecated. UseValueMapUtil.merge(ValueMap...)instead.DeepReadModifiableValueMapDecorator A value map wrapper which implements deep reading of properties based on the resource tree and also supportsModifiableValueMap.DeepReadValueMapDecorator A value map wrapper which implements deep reading of properties based on the resource tree.DynamicResourceProvider Deprecated. Use theResourceProviderExternalizableInputStream 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 This is a marker interface to receive external events.FailureReason Failure reason for a failed resource provider.HtmlResponse Deprecated. use org.apache.sling.servlets.post.HtmlResponse instead.HttpConstants HTTP-related constantsInvalidServiceFilterSyntaxException Thrown when an invalid service filter is usedIteratorWrapper<T> Wrapper class forIterators, that forwards all method calls to the wrappedIterator.LazyBindings TheLazyBindingswraps another map and dynamically provides entries for the wrapped map through a map ofLazyBindings.Suppliers.LazyBindings.Supplier This marker interface should be used for suppliers which should be unwrapped when used as values stored in aLazyBindingsmap.LoginException 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)MediaRangeList Facilitates parsing of the Accept HTTP request header.ModifiableValueMap TheModifiableValueMapis an extension of theValueMapwhich allows to modify and persist properties.ModifiableValueMapDecorator ModifiableValueMapDecoratordecorates anotherMapto provide a basic implementation for the additional methods of aModifiableValueMap.ModifyingResourceProvider Deprecated. Use theResourceProviderNoAuthenticationHandlerException TheNoAuthenticationHandlerExceptionis thrown to indicate that theAuthenticator.login(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method could not find a way to authenticate the request user.NonExistingResource Simple helper class representing nonexisting resources.ObservationReporter AResourceProvidermust use an observation reporter to report changes to resources.ObserverConfiguration A observer configuration describes active configurations from registered listeners.OptingServlet TheOptingServletinterface may be implemented byServletsused by Sling which may choose to not handle all requests for which they would be selected based on their registration properties.ParametrizableResourceProvider Deprecated. Use theResourceProviderPath Simple helper class for path matching.PathBuilder ThePathBuilderoffers a convenient way of creating a valid path from multiple fragmentsPathSet Simple helper class for path matching against a set of paths.PersistableValueMap Deprecated. Use theModifiableValueMapinstead.PersistenceException This exception will be thrown during the commit to persist changes to aPersistableValueMap, aModifiableValueMapor theResourceResolver.ProviderContext The provider context...QueriableResourceProvider Deprecated. Use theResourceProviderQueryLanguageProvider<T> The JCR query provider supports querying based on the JCR spec.QuerySyntaxException TheQuerySyntaxExceptionis 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.RecursionTooDeepException TheRecursionTooDeepExceptionis thrown by the Sling implementation if to many recursive content inclusions take place.RefreshableResourceProvider Deprecated. Use theResourceProviderRequestDispatcherOptions 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.RequestParameter TheRequestParameterclass represents a single parameter sent with the client request.RequestParameterMap TheRequestParameterMapencapsulates all request parameters of a request.RequestPathInfo 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 TheRequestPathInfoWrapperclass is a default wrapper class around aRequestPathInfowhich may be extended to amend the functionality of the original request path info object.RequestProgressTracker TheRequestProgressTrackerclass provides the functionality to track the progress of request processing.RequestUtil Request related utility methods.ResolveContext<T> The resolve context is passed to most of the methods of theResourceProviderto provide additional context information for the provider.Resource Resources are pieces of content on which Sling actsResourceAccessSecurity TheResourceAccessSecuritydefines 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 A resource change event is immutable.ResourceChange.ChangeType The type of the changeResourceChangeList An instance ofResourceChangeListis passed toResourceChangeListener.onChange(List)to pass in additional information like the search path.ResourceChangeListener Listener for resource change events.ResourceContext The resource context provides additional information for resource resolving.ResourceDecorator Optional service to decorateResources returned by theResourceResolver.ResourceMapper Allows access to resource mappingsResourceMetadata TheResourceMetadatainterface defines the API for the metadata of a SlingResource.ResourceNotFoundException An Exception that causes Sling to return a 404 (NOT FOUND) status code.ResourceProvider Deprecated. Use theResourceProviderResourceProvider<T> API for providers of resources.ResourceProviderDTO Represents aorg.apache.sling.spi.resource.provider.ResourceProvider.ResourceProviderFactory Deprecated. ResourceProviderFailureDTO Represents a failedorg.apache.sling.spi.resource.provider.ResourceProvider.ResourceResolver TheResourceResolverdefines the API which may be used to resolveResourceobjects and work with such resources like creating, editing or updating them.ResourceResolverFactory TheResourceResolverFactorydefines the service API to get and createResourceResolvers.ResourceResolverWrapper TheResourceResolverWrapperis a wrapper for anyResourceResolver, delegating all method calls to the wrapped resource resolver by default.ResourceUtil TheResourceUtilclass provides helper methods dealing with resources.ResourceUtil.BatchResourceRemover A batch resource remover deletes resources in batches.ResourceWrapper TheResourceWrapperis a wrapper for anyResourcedelegating all method calls to the wrapped resource by default.ResponseUtil Response related utility methodsRuntimeDTO Represents the resource resolver runtimeRuntimeService Runtime service providing introspection of the state of the resource resolver and the resource providers.ScriptEvaluationException TheScriptEvaluationExceptionis thrown by theSlingScript.eval(SlingBindings)method if an error occurrs evaluating the script.ServletResolver TheServletResolverdefines the API for a service capable of resolvingjavax.servlet.Servletinstances to handle the processing of a request or resource.ServletResolverConstants Service registration properties and common values used for registering a Sling Servlet.SlingAdaptable TheSlingAdaptableclass is an (abstract) default implementation of theAdaptableinterface.SlingAllMethodsServlet Helper base class for data modifying Servlets used in Sling.SlingBindings TheSlingBindingsclass is used to prepare global variables for script execution.SlingConstants TheSlingConstantsinterface provides some symbolic constants for well known constant strings in Sling.SlingException TheSlingExceptionis the base exception used throughout the Sling API.SlingHttpServletRequest TheSlingHttpServletRequestdefines the interface to provide client request information to a servlet.SlingHttpServletRequestBuilder Fluent helper for building a request.SlingHttpServletRequestWrapper TheSlingHttpServletRequestWrapperclass is a default wrapper class around aSlingHttpServletRequestwhich may be extended to amend the functionality of the original request object.SlingHttpServletResponse TheSlingHttpServletResponsedefines the interface to assist a servlet in creating and sending a response to the client.SlingHttpServletResponseBuilder Fluent helper for building a response.SlingHttpServletResponseResult This is an extension of aSlingHttpServletResponseto get the result from a processing operation.SlingHttpServletResponseWrapper TheSlingHttpServletResponseWrapperclass is a default wrapper class around aSlingHttpServletResponsewhich may be extended to amend the functionality of the original response object.SlingIOException TheSlingIOExceptionis a runtime exception wrapper for the JavaIOException.SlingRequestEvent represents an event published by the Sling engine while dispatching a request.SlingRequestEvent.EventType type of the eventSlingRequestListener Implementations of this service interface receive notifications about changes to Sling request of the Sling application they are part of.SlingRequestPaths This class is not a "wrapper" per se, but computes the correct path info, request URI, etc.SlingSafeMethodsServlet Helper base class for read-only Servlets used in Sling.SlingScript TheSlingScriptdefines the API for objects which encapsulate a script.SlingScriptConstants Some constants for the scripting.SlingScriptHelper TheSlingScriptHelperinterface defines the API of a helper class which is provided to the scripts called from sling through the globalvariable.slingSlingScriptResolver Deprecated. The SlingScriptResolver interface is intended to be implemented and also used by project specific code.SlingServletException TheSlingServletExceptionis a runtime exception wrapper for the Servlet APIServletException.SlingUri Represents an immutable URI in the same way as java.net.URI but is extended with Sling-specific URI parts (e.g.SlingUriBuilder Builder for SlingUris that allows to set any properties of aSlingUri.SyntheticResource TheSyntheticResourceclass is a simple implementation of theResourceinterface which may be used to provide a resource object which has no actual resource data.TooManyCallsException TheTooManyCallsExceptionis thrown by the Sling implementation if to many inclusions have been called for during a single request.URIProvider Provides a URI in exchange for a Resource.URIProvider.Operation Defines which operatio the URI may be used to perform.URIProvider.Scope Defines the scope in which the URI may be used.ValueMap TheValueMapis an easy way to access properties of a resource.ValueMapDecorator ValueMapUtil Factory methods to createValueMaps.