|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractMappedObject
is a simple helper class which may be
extended to off-load handling of the path of mapped objects.AbstractNodeDescriptor
is the base class for mostly node
based descriptors (bean, collection).AbstractServiceReferenceConfig
may be used as a base class
to define ServletConfig
and FilterConfig
instances from OSGi ServiceReference
objects.AbstractSlingRepository
is an abstract implementation of
the SlingRepository
interface which provides core support for session
pooling.true
if this servlet is
willing to handle the request.
PluggableDefaultAccessManager
.RepositoryAccessor.getRepositoryFromURL(String)
with the value of the
RepositoryAccessor.REPOSITORY_URL_OVERRIDE_PROPERTY
framework or configuration property.
AdapterFactory
interface defines the API for helpers which
may be provided to enhance the adaptability of adaptable objects.AdapterManager
defines the service interface for a manager
for object adaption.null
because synthetic resources have no actual
data and thus may not adapt to anything else.
AccessControlUtil.addEntry(AccessControlList, Principal, Privilege[], boolean, Map)
using
some implementation specific restrictions.
principal
, the specified privileges
, the
isAllow
flag and an optional map containing additional
restrictions.
Resource
underlying the Servlet
which included the servlet
currently being active (value is
"org.apache.sling.api.include.resource").
Servlet
which included the servlet currently being active (value is
"org.apache.sling.api.include.servlet").
authenticate
AuthenticationHandler
interface defines the service API used
by the authentication implementation to support plugin various ways of
extracting credentials from the request.AuthenticationInfo
defines the data returned from the
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method.AuthenticationInfo.AuthenticationInfo(String, Credentials, String)
method would be
called with a null
workspace name.
org.apache.jackrabbit.core.security.authentication.Authentication
class without explicitly referencing classes in org.apache.jackrabbit.coreAuthenticator
interface defines the service interface of the
authenticator used by the Sling engine.BeanDescriptor
class provides support for the
bean-descriptor element of a class mapping, which has the following attribute
list definition:
<!ClassDescriptor
class provides support for the
class-descriptor element of a class mapping, which has the following
attribute list definition:
<!CollectionDescriptor
class provides support for the
collection-descriptor element of a class mapping, which has the following
attribute list definition:
<!true
if this map contains the named property.
Node
at the given Path.
Node
at the given Path.
JCR Value
for the given object with
the given Session.
DefaultMappedObject
is used by the JCR based resource
manager implemented by this bundle as a default to map JCR nodes.repository
.
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to
handle an HTTP DELETE request.
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.
SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to
handle an HTTP GET request.
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to indicate an ongoing authentication transaction.
Allow
header on the response depending on the methods
declared in this class.
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to
handle an HTTP POST request.
SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to
handle an HTTP PUT request.
CoreConstants
interface provides some symbolic constants
for well known constant strings in Sling.ErrorHandler
defines the interface of the service used by
the Sling to handle calls to HttpServletResponse.sendError
and
to handle uncaught Throwable
s.EspReader
is a FilterReader
which takes
JSP like input and produces plain ECMA script output.baseReader
.
EventUtil
class is an utility class for
clustered environments.FieldDescriptor
class provides support for the
field-descriptor element of a class mapping, which has the following
attribute list definition:
<!SlingScript
.
SlingScriptHelper.forward(String,RequestDispatcherOptions)
, but using
empty options.
path
and requestDispatcherOptions
.
path
and options
.
AccessControlManager
for the given
session
.
AdapterType
for
the given adaptable
object.
RequestDispatcherOptions.OPT_ADD_SELECTORS
option or null
if
not set.
SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse)
to calculate
the value of the Allow header sent as the response to the HTTP
OPTIONS request.
SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse)
to calculate
the value of the Allow header sent as the response to the HTTP
OPTIONS request.
Resource
instances addressed in the
SlingPostConstants.RP_APPLY_TO
request parameter.
Resource
instances addressed in the
SlingPostConstants.RP_APPLY_TO
request parameter.
ResourceMetadata.CHARACTER_ENCODING
property if not null
and a String
instance.
ClientRepositoryFactory
to access the remote
JCR repository over RMI.
ResourceMetadata.CONTENT_LENGTH
property if not null
and a long
.
null
if
not defined.
ResourceMetadata.CONTENT_TYPE
property if not null
and
a String
instance.
null
if
no such cookie exists in the request.
ResourceMetadata.CREATION_TIME
property if not null
and a long
.
null
meaning
to use the repository provided default workspace.
null
null
if the request
URL does not contain an extension.
mimeType
maps.
mimeType
maps.
SlingBindings.FLUSH
property if not null
and a
boolean
.
RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPE
option or null
if not set.
Scriptable
interface.
LocalAdapterFactory
used to convert Jackrabbit
JCR RMI remote objects to local JCR API objects.
SlingBindings.LOG
property if not null
and a
org.slf4j.Logger
instance.
Iterator
of tracking entries.
name
.
name
.
null
for new objects or if the node has no mixin node
types.
ResourceMetadata.MODIFICATION_TIME
property if not null
and a long
.
path
, which
is normalized by ResourceUtil.normalize(String)
before resolving the name.
SlingBindings.OUT
property if not null
and a
PrintWriter
instance.
path
,
which is normalized by ResourceUtil.normalize(String)
before resolving the
parent.
AccessControlList
acl
has been created for.
null
for new objects.
PrincipalManager
for the given
session
.
null
if no such property exists or the property is not of
the requested type.
null
if no such property exists.
OsgiUtil.toDouble(Object, double)
instead
SlingBindings.READER
property if not null
and a
Reader
instance.
RequestDispatcherOptions.OPT_REPLACE_SELECTORS
option or null
if not set.
RequestDispatcherOptions.OPT_REPLACE_SUFFIX
option or null
if
not set.
null
if
no repository is currently being available.
RepositoryAccessor
class to access
a repository over RMI or through JNDI.
SlingBindings.REQUEST
property if not null
and a
SlingHttpServletRequest
instance.
SlingHttpServletRequest
representing the input of the
request.
RequestDispatcher
object that acts as a wrapper
for the resource located at the given path.
RequestDispatcher
object that acts as a wrapper
for the resource located at the given resource.
SlingHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions)
but using empty options.
RequestParameter
,
or null
if the parameter does not exist.
Map
of the parameters of this request.
RequestParameter
objects containing all of
the values the given request parameter has, or null
if the
parameter does not exist.
RequestPathInfo
pertaining to this request.
RequestProgressTracker
of this request.
ResourceMetadata.RESOLUTION_PATH
property if not null
and a String
instance.
ResourceMetadata.RESOLUTION_PATH_INFO
property if not
null
and a String
instance.
null
if
the resource provider cannot find it.
null
if
the resource provider cannot find it.
Resource
object for data located at the given path.
Resource
object for data located at the given path.
Resource
wrapped by this instance.
SlingBindings.RESOURCE
property if not null
and a
Resource
instance.
Resource
object on whose behalf the servlet acts.
ResourceMetadata.RESOLUTION_PATH
property.
ResourceResolver
from which this resource has been
retrieved.
ResourceResolver
with which this synthetic resource
is related or null
if none.
ResourceResolver
which resolved the
resource
of this request.
ResourceResolver
for the given session.
null
if the Resource.getResourceType()
has no supertype.
SlingBindings.RESPONSE
property if not null
and a
SlingHttpServletResponse
instance.
SlingHttpServletResponse
representing the output of
the request.
SlingScript
being called to handle the request.
ResourceResolver.getResource(String)
method
to search for resources by relative path.
SlingBindings.SLING
property if not null
and a
SlingScriptHelper
instance.
SlingHttpServletRequest
object wrapped by
this.
SlingHttpServletResponse
object wrapped by
this.
null
if the request
URL does not contain a suffix.
UserManager
for the given
session
.
ValueMap
object for the given
Resource
.
WorkspaceAccessManagerPlugin
to be used for checking Workspace access.
Throwable
.
true
if the name
starts with either
of the prefixes
{@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
- hasItemPathPrefix(String) -
Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
- Returns
true
if the name
starts with either
of the prefixes
{@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
- hasNext() -
Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
-
- hasNext() -
Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
-
- hasNode(String) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- hasNodes() -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- hasOrderableChildNodes() -
Method in class org.apache.sling.commons.testing.jcr.MockNodeType
-
- hasPermission(Object) -
Method in class org.apache.sling.commons.testing.osgi.MockBundle
-
- hasProperties() -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- hasProperty(String) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- 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
-
- holdsLock() -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- HOME_DIR -
Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
-
- HtmlResponse - Class in org.apache.sling.api.servlets
- Generator for a HTML status response that displays the changes made in a post
request. see HtmlResponse.html for the
format.
- HtmlResponse() -
Constructor for class org.apache.sling.api.servlets.HtmlResponse
- Creates a new html response with default settings, which is
null
for almost all properties except the
HtmlResponse.isCreateRequest()
which defaults to false
.
- HTTP - Class in org.apache.sling.commons.json.http
- Convert an HTTP header to a JSONObject and back.
- HTTP() -
Constructor for class org.apache.sling.commons.json.http.HTTP
-
- HTTP_BASE_URL -
Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
-
- HttpAnyMethod - Class in org.apache.sling.commons.testing.integration
- Allows any HTTP method for HtttpClient
- HttpAnyMethod(String, String) -
Constructor for class org.apache.sling.commons.testing.integration.HttpAnyMethod
-
- httpClient -
Variable in class org.apache.sling.commons.testing.integration.HttpTestBase
-
- HttpConstants - Class in org.apache.sling.api.servlets
- HTTP-related constants
- HttpConstants() -
Constructor for class org.apache.sling.api.servlets.HttpConstants
-
- HttpStatusCodeException - Exception in org.apache.sling.commons.testing.integration
-
- HttpStatusCodeException(int, int, String, String) -
Constructor for exception org.apache.sling.commons.testing.integration.HttpStatusCodeException
-
- HttpTestBase - Class in org.apache.sling.commons.testing.integration
- Base class for HTTP-based Sling Launchpad integration tests
- HttpTestBase() -
Constructor for class org.apache.sling.commons.testing.integration.HttpTestBase
-
- HttpTestBase.TestNode - Class in org.apache.sling.commons.testing.integration
- Class that creates a test node under the given parentPath, and
stores useful values for testing.
- HttpTestBase.TestNode(String, Map<String, String>) -
Constructor for class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
-
- HTTPTokener - Class in org.apache.sling.commons.json.http
- The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
- HTTPTokener(String) -
Constructor for class org.apache.sling.commons.json.http.HTTPTokener
- Construct an XMLTokener from a string.
IMPERSONATION_DEFAULT
if the impersonation should be handled
by
org.apache.jackrabbit.core.security.authentication.DefaultLoginModule#impersonate
.
SlingScriptHelper.include(String,RequestDispatcherOptions)
, but using
empty options.
path
and requestDispatcherOptions
.
path
and options
.
Felix
instance as servlet
context attributes.
true
if this was a create request.
true
if AccessControlList
acl
does not yet define any entries.
permissions
are granted
on the item with the specified absPath
(i.e. the target
item, that may or may not yet exist).
true
if method
is not
null
and the method is not defined in the class named by
className
.
true
if the resource res
is a
non-existing resource.
true
if the resource res
is a "star
resource".
true
if no error
is set and if
the status code
is one of the 2xx codes.
true
if the resource res
is a
synthetic resource.
JcrOcmMojo
implements the (default) ocm goal of the
maven-jcrocm-plugin.JcrResourceConstants
interface provides constant values.JcrResourceResolverFactory
interface defines the service
interface to have JCR-based ResourceResolver
instances created
for JCR sessions.JcrResourceUtil
class provides helper methods used
throughout this bundle.Scheduler
service.Job
.node
.
JSONObject
out of node
.
JSONString
interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
.Launcher
interface is implemented by the delegate classes
inside the Launcher JAR and are used by the actual Main class or servlet to
configure and start the framework.LauncherClassLoader
extends the standard Java VM
URLClassLoader
such, that classes and resources which are
contained in the launcher JAR File are never looked up in the parent class
loader.Iterator
of Resource
objects loaded
from the children of the given Resource
.
Iterator
of Resource
objects loaded from
the children of the given Resource
.
Iterator
of Resource
objects loaded
from the children of the given Resource
.
Loader
class provides utility methods for the actual
launchers to help launching the framework.MessageFormat
format evaluated using the given formatting
arguments.
AuthenticationHandler
for the given request and call its
AuthenticationHandler.requestAuthentication(HttpServletRequest, HttpServletResponse)
method to initiate an authentication process with the client to login to
Sling.
org.apache.jackrabbit.core.security.authentication.DefaultLoginModule
for a specific type of java.jcr.Credentials
.MessageFormat
pattern evaluated using the given arguments
and the number of milliseconds elapsed since the timer start.
Main
is the externally visible Standalone Java Application
launcher for Sling.Main
class is a simple Java Application which interprests
the command line and creates the Sling
launcher class and thus starts
the OSGi framework.ResourceResolver.resolve(String)
such that when the path is
given to the ResourceResolver.resolve(String)
method the same resource is
returned.
ResourceResolver.resolve(HttpServletRequest, String)
such
that when the path is given to the
ResourceResolver.resolve(HttpServletRequest, String)
method the same resource is
returned.
String[]
of
class names mapped at the time the event is sent (value is
"MAPPED_CLASS").
String[]
of
node types mapped at the time the event is sent (value is
"MAPPED_NODE_TYPE").
MimeTypeProvider
TODO
This interface may be implemented by bundles wishing to provide control over
how extensions are mapped to MIME types and vice-versa.MimeTypeService
TODO
This interface is not intended to be implemented by bundles.NoAuthenticationHandlerException
is thrown to indicate that
there is no AuthenticationHandler
willing to handle the request.NodeTypeSupport
contains utility methods to register node
types from a CND
nodetype definition file given as an URL or InputStream with the
repository.SlingPostConstants.OPERATION_NOP
if the
SlingPostConstants.RP_NOP_STATUS
parameter is not provided or the parameter value
cannot be converted into a valid response status code (value is 200).
Notifiable
interface is implemented by the real main class
and Sling Servlet for them to be notified from the launcher JAR when the
framework has been stopped or updated.NULL
object than to use Java's null
value.
ObjectContentManagerFactory
TODOOcmConstants
interface provides constant values
for event topics and event properties for events sent from this bundle.type
.
SlingPostConstants.RP_DEST
request parameter
denoting the path to move the content to.
RequestPathInfo
selectors.
Resource
.
RequestPathInfo
selectors by the value
provided by this option.
RequestPathInfo
suffix by the value
provided by this option
OptingServlet
interface may be implemented by
Servlets
used by Sling which may choose to not handle all
requests for which they would be selected based on their registration
properties.SlingPostConstants.RP_ORDER
parameter indicating that the
node by moved immediately after the sibbling whose name is contained in
the SlingPostConstants.RP_ORDER
parameter (value is "after ").
SlingPostConstants.RP_ORDER
parameter indicating that the
node by moved immediately before the sibbling whose name is contained in
the SlingPostConstants.RP_ORDER
parameter (value is "before ").
SlingPostConstants.RP_ORDER
parameter indicating that the
node by moved to the first position amongst its sibblings (value is
"first").
SlingPostConstants.RP_ORDER
parameter indicating that the
node by moved to the last position amongst its sibblings (value is
"last").
OsgiUtil
is a utility class providing some usefull utility
methods.java.io.PrintWriter
object to return the response content
(value is "out").
Accept-*
header of the form:
Header = Token { "," Token } .
PersistableValueMap
is an extension
of the ValueMap
which allows to modify and
persist the properties.PersistableValueMap
.repository
is still available.
RequestProperty.isDelete()
from
the authorizable.
QuerySyntaxException
is thrown by the
ResourceResolver.findResources(String, String)
and
ResourceResolver.queryResources(String, String)
methods if the query
syntax is wrong or the requested query language is not available.Reader
object (value is "reader").
RecursionTooDeepException
is thrown by the Sling
implementation if to many recursive content inclusions take place.source
with the node type manager available from the given session
.
URL
with the node type manager available from the given session
.
source
with the node type manager available from the given session
.
javax.jcr.Repository
and
org.apache.sling.jcr.api.SlingRepository
using the
component properties as service registration properties.
RepositoryClassLoaderProvider
TODOSlingHttpServletRequest
object (value is
"request").
RequestDispatcherOptions
are used in the
SlingHttpServletRequest.getRequestDispatcher(org.apache.sling.api.resource.Resource, RequestDispatcherOptions)
method, to give more control on some aspects of the include/forward
mechanism.options
string as follows:
If the string is empty or null
no options are set.
RequestLog
interface defines the API to be implemented by
providers of destinations for request log information.RequestParameter
class represents a single parameter sent
with the client request.RequestParameterMap
encapsulates all request parameters of
a request.RequestProgressTracker
class provides the functionality to
track the progress of request processing..
- requireItemPathPrefix(SlingHttpServletRequest) -
Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
- Returns true if any of the request parameters starts with
{@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT
.
- rescheduleJob(Event) -
Static method in class org.apache.sling.event.EventUtil
- Notify a failed job.
- reset() -
Method in interface org.apache.sling.api.resource.PersistableValueMap
- Reset the changes.
- reset() -
Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
-
- reset() -
Method in class org.apache.sling.scripting.javascript.io.EspReader
- Reset the stream.
- 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
absPath
optionally
taking HttpServletRequest
into account, such as the value of
the Host
request header.
- resolve(String) -
Method in interface org.apache.sling.api.resource.ResourceResolver
- Resolves the resource from the given absolute path.
- 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.commons.testing.sling.MockResourceResolver
-
- resolve(String) -
Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
-
- resolve(HttpServletRequest, String) -
Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
-
- resolvePath(String, String) -
Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
- Resolves the given path with respect to the current root path.
- resolveServlet(SlingHttpServletRequest) -
Method in interface org.apache.sling.api.servlets.ServletResolver
- Resolves a
javax.servlet.Servlet
whose
service
method may be used to handle the given
request
.
- Resource - Interface in org.apache.sling.api.resource
- Resources are pieces of content on which Sling acts
The
Resource
is also an Adaptable
to get adapters to
other types. - RESOURCE -
Static variable in class org.apache.sling.api.scripting.SlingBindings
- The name of the global scripting variable providing the
Resource
object (value is
"resource").
- RESOURCE_EVENT -
Static variable in class org.apache.sling.jcr.ocm.OcmConstants
- The topic root for events published by this bundle (value is
"org/apache/sling/jcr/ocm/OCMEvent").
- RESOURCE_TYPE -
Static variable in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
-
- 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
- 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").
- ResourceMetadata - Class in org.apache.sling.api.resource
- The
ResourceMetadata
interface defines the API for the
metadata of a Sling Resource
. - 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, Throwable) -
Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
-
- ResourceNotFoundException(String, String, Throwable) -
Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
-
- ResourceProvider - Interface in org.apache.sling.api.resource
- API for providers of resources.
- ResourceResolver - Interface in org.apache.sling.api.resource
- The
ResourceResolver
defines the service API which may be used
to resolve Resource
objects. - resourceType -
Variable in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
-
- resourceTypeToPath(String) -
Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
- 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
ResourceUtil
class provides helper methods dealing
with resources. - ResourceUtil() -
Constructor for class org.apache.sling.api.resource.ResourceUtil
-
- ResourceWrapper - Class in org.apache.sling.api.resource
- The
ResourceWrapper
is a wrapper for any Resource
delegating 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
- The name of the global scripting variable providing the
SlingHttpServletResponse
object (value is
"response").
- ResponseUtil - Class in org.apache.sling.engine
- Response-related utilities
- ResponseUtil() -
Constructor for class org.apache.sling.engine.ResponseUtil
-
- restore(String, boolean) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- restore(Version, boolean) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- restore(Version, String, boolean) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- restoreByLabel(String, boolean) -
Method in class org.apache.sling.commons.testing.jcr.MockNode
-
- RhinoHostObjectProvider - Interface in org.apache.sling.scripting.javascript
- The
RhinoHostObjectProvider
defines the service interface to
inject additional ECMAScript host objects as well as to make classes and
packages known. - RMI_PREFIX -
Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
- Prefix for RMI Repository URLs
- ROOTS -
Static variable in interface org.apache.sling.api.resource.ResourceProvider
- The name of the service registration property containing the root paths
of the resources provided by this provider (value is "provider.roots").
- rowToJSONArray(JSONTokener) -
Static method in class org.apache.sling.commons.json.util.CDL
- Produce a JSONArray of strings from a row of comma delimited values.
- rowToJSONObject(JSONArray, JSONTokener) -
Static method in class org.apache.sling.commons.json.util.CDL
- Produce a JSONObject from a row of comma delimited text, using a
parallel JSONArray of strings to provides the names of the elements.
- rowToString(JSONArray) -
Static method in class org.apache.sling.commons.json.util.CDL
- Produce a comma delimited text row from a JSONArray.
- RP_APPLY_TO -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Name of the request parameter used to indicate the resource to apply the
operation to (value is ":applyTo").
- RP_DEST -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Name of the request parameter used to indicate the destination for the
copy and move operations (value is ":dest").
- RP_DISPLAY_EXTENSION -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request parameter: if provided, added at the end of the computed
(or supplied) redirect URL
- RP_NODE_NAME -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request paramter specifying a node name for a newly created node
(value is ":name").
- RP_NODE_NAME_HINT -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request paramter specifying a node name hint for a newly created
node (value is ":nameHint").
- RP_NOP_STATUS -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request parameter to indicate the actual response status to
send back as a result of calling the #OPERATION_NOP (value is ":nopstatus").
- RP_OPERATION -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- The name of the parameter containing the operation to execute (value is
":operation").
- RP_ORDER -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request parameter indicating the order of newly created nodes in
creation, copy and move operation requests (value is ":order").
- RP_PREFIX -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Prefix for parameter names which control this POST (RP_ stands for
"request param") (value is ":").
- RP_REDIRECT_TO -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request parameter: redirect to the specified URL after POST
- RP_REPLACE -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Name of the request parameter indicating whether the destination for a
copy or move operation is to be replaced if existing (value is
":replace").
- RP_STATUS -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Optional request parameter: define how the response is sent back to the
client.
- run() -
Method in class org.apache.sling.jcr.base.AbstractSlingRepository
-
- run() -
Method in class org.apache.sling.launchpad.app.Main
- Called when the Java VM is being terminiated, for example because the
KILL signal has been sent to the process.
- run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) -
Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
- Prepares and finalizes the actual operation.
- run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) -
Method in interface org.apache.sling.servlets.post.SlingPostOperation
- Executes the operation provided by this service implementation.
HashMap.put(Object, Object)
only if the value is not null.
JobStatusProvider.getScheduledJobs(String)
instead.
ScriptEvaluationException
is thrown by the
SlingScript.eval(SlingBindings)
method if an error occurrs evaluating
the script.SlingSafeMethodsServlet.service(ServletRequest, ServletResponse)
method to
handle the HTTP request.
SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)
method if the request is a HTTP request.
ServletResolver
defines the API for a service capable of
resolving javax.servlet.Servlet
instances to handle the
processing of a request or resource.org.apache.sling.engine.impl.auth.SlingAuthenticator
when authenticating the request user (value is "javax.jcr.Session").
RequestDispatcherOptions.OPT_ADD_SELECTORS
option to the given
additionalSelectors
if not null
.
ResourceMetadata.CHARACTER_ENCODING
property to encoding
if not null
.
ResourceMetadata.CONTENT_LENGTH
property to contentType
if not null
.
ResourceMetadata.CONTENT_TYPE
property to contentType
if
not null
.
ResourceMetadata.CREATION_TIME
property to creationTime
if not negative.
SlingBindings.FLUSH
property to flush
.
RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPE
option to the given
resourceType
if not null
.
SlingBindings.LOG
property to log
if not
null
.
ResourceMetadata.MODIFICATION_TIME
property to
modificationTime
if not negative.
Notifiable
to notify on framework stop or update
SlingBindings.OUT
property to out
if not
null
.
SlingBindings.READER
property to reader
if not
null
.
RequestDispatcherOptions.OPT_REPLACE_SELECTORS
option to the given
replaceSelectors
if not null
.
RequestDispatcherOptions.OPT_REPLACE_SUFFIX
option to the given
replaceSuffix
if not null
.
SlingBindings.REQUEST
property to request
if not
null
.
ResourceMetadata.RESOLUTION_PATH
property to resolutionPath
if not null
.
ResourceMetadata.RESOLUTION_PATH_INFO
property to
resolutionPathInfo
if not null
.
SlingBindings.RESOURCE
property to resource
if not
null
.
SlingBindings.RESPONSE
property to response
if not
null
.
SlingBindings.SLING
property to sling
if not
null
.
AbstractSlingRepository.acquireRepository()
but before the repository is registered as a
service.
SlingScriptHelper
for the request
(value is "sling").
sling.home
value if no other value can be
resolvled (value is "sling").
SlingBindings
class is used to prepare global variables
for script execution.SlingBridge
extends the base Sling
class
calling the Eclipse Equinox Http Service activator for the proxy servlet to
be able to handle requests.SlingConstants
interface provides some symbolic constants
for well known constant strings in Sling.SlingContext
extends Context to overwrite the
SlingContext.initStandardObjects(ScriptableObject, boolean)
method to add more
standard objects.SlingContextFactory
extends the standard Rhino
ContextFactory to provide customized settings, such as having the dynamic
scope feature enabled by default.SlingException
is the base exception used throughout the
Sling API.SlingGlobal
class provides two interesting new global
functions which are not part of the ECMAScript standard but which are
available in the Rhino Shell and which may be of use by JavaScripts:
print(args, ...)- SlingGlobal() -
Constructor for class org.apache.sling.scripting.javascript.helper.SlingGlobal
-
- SlingHttpServletRequest - Interface in org.apache.sling.api
- The
SlingHttpServletRequest
defines the interface to provide
client request information to a servlet. - SlingHttpServletRequestWrapper - Class in org.apache.sling.api.wrappers
- The
SlingHttpServletRequestWrapper
class is a default wrapper
class around a SlingHttpServletRequest
which may be extended to amend
the functionality of the original request object. - SlingHttpServletRequestWrapper(SlingHttpServletRequest) -
Constructor for class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
- Create a wrapper for the supplied wrappedRequest
- SlingHttpServletResponse - Interface in org.apache.sling.api
- The
SlingHttpServletResponse
defines the interface to assist a
servlet in creating and sending a response to the client. - SlingHttpServletResponseWrapper - Class in org.apache.sling.api.wrappers
- The
SlingHttpServletResponseWrapper
class is a default wrapper
class around a SlingHttpServletResponse
which may be extended to
amend the functionality of the original response object. - SlingHttpServletResponseWrapper(SlingHttpServletResponse) -
Constructor for class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
- Create a wrapper for the supplied wrappedRequest
- SlingIntegrationTestClient - Class in org.apache.sling.commons.testing.integration
- Client functions to interact with Sling in integration tests
- SlingIntegrationTestClient(HttpClient) -
Constructor for class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
-
- SlingIOException - Exception in org.apache.sling.api
- The
SlingIOException
is a runtime exception wrapper for the
Java IOException
. - SlingIOException(IOException) -
Constructor for exception org.apache.sling.api.SlingIOException
-
- SlingPostConstants - Interface in org.apache.sling.servlets.post
- The
SlingPostConstants
interface provides constants for well
known parameters of the core SlingPostServlet. - SlingPostOperation - Interface in org.apache.sling.servlets.post
- The
SlingPostOperation
interface defines the service API to be
implemented by service providers extending the Sling default POST servlet. - SlingPostProcessor - Interface in org.apache.sling.servlets.post
- The
SlingPostProcessor
interface defines a service API to be
implemented by service providers extending the Sling default POST servlet. - 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. for included requests.
- SlingRequestPaths() -
Constructor for class org.apache.sling.api.wrappers.SlingRequestPaths
-
- SlingSafeMethodsServlet - Class in org.apache.sling.api.servlets
- Helper base class for read-only Servlets used in Sling.
- SlingSafeMethodsServlet() -
Constructor for class org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- SlingScript - Interface in org.apache.sling.api.scripting
- The
SlingScript
defines the API for objects which encapsulate
a script resolved by the SlingScriptResolver
. - SlingScriptHelper - Interface in org.apache.sling.api.scripting
- The
SlingScriptHelper
interface defines the API of a helper
class which is provided to the scripts called from sling through the global
sling
variable. - SlingScriptResolver - Interface in org.apache.sling.api.scripting
- The
ScriptResolver
interface defines the API for a service
capable of locating scripts. - slingServerReady() -
Method in class org.apache.sling.commons.testing.integration.HttpTestBase
- Return true if able to create and retrieve a node on server
- SlingServlet - Class in org.apache.sling.launchpad.webapp
- The
SlingServlet
is the externally visible Web Application
launcher for Sling. - SlingServlet() -
Constructor for class org.apache.sling.launchpad.webapp.SlingServlet
-
- SlingServletDelegate - Class in org.apache.sling.launchpad.base.webapp
- The
SlingServletDelegate
serves as a basic servlet for Project Sling. - SlingServletDelegate() -
Constructor for class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
-
- SlingServletException - Exception in org.apache.sling.api
- The
SlingServletException
is a runtime exception wrapper for
the Servlet API ServletException
. - SlingServletException(ServletException) -
Constructor for exception org.apache.sling.api.SlingServletException
-
- SlingSettingsService - Interface in org.apache.sling.engine
- The
SlingSettingsService
provides basic Sling settings. - SlingWrapFactory - Class in org.apache.sling.scripting.javascript.helper
-
- SlingWrapFactory() -
Constructor for class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
-
- SlingWrapper - Interface in org.apache.sling.scripting.javascript
- Wrapper with an additional methods to indicate the wrapped classes
- spool(InputStream, File) -
Static method in class org.apache.sling.launchpad.base.shared.Loader
- Spools the contents of the input stream to the given file replacing the
contents of the file with the contents of the input stream.
- STAR_CREATE_SUFFIX -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- An alternative suffix to the resource path used to indicate to
automatically generate the name of the new item to create during a
content creation request (value is "/*").
- start() -
Method in class org.apache.sling.commons.testing.osgi.MockBundle
-
- start(int) -
Method in class org.apache.sling.commons.testing.osgi.MockBundle
-
- start() -
Method in class org.apache.sling.launchpad.base.app.MainDelegate
-
- start() -
Method in interface org.apache.sling.launchpad.base.shared.Launcher
- Starts the framework and returns
true
if successfull.
- start() -
Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
-
- startRepository() -
Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
- Start a new repository
- startTimer(String) -
Method in interface org.apache.sling.api.request.RequestProgressTracker
- Starts a named timer.
- startTimer(String) -
Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
-
- STATUS_VALUE_BROWSER -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- The supported value for the
SlingPostConstants.RP_STATUS
request parameter
requesting to not report success or failure of request processing using
standard HTTP status codes but instead alwas set the status to 200/OK and
only report the real success or failure status in the XHTML response.
- STATUS_VALUE_STANDARD -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- The supported value for the
SlingPostConstants.RP_STATUS
request parameter
requesting to report success or failure of request processing using
standard HTTP status codes.
- stop() -
Method in class org.apache.sling.commons.testing.osgi.MockBundle
-
- stop(int) -
Method in class org.apache.sling.commons.testing.osgi.MockBundle
-
- stop() -
Method in class org.apache.sling.launchpad.base.app.MainDelegate
-
- stop() -
Method in interface org.apache.sling.launchpad.base.shared.Launcher
- Stops the framework.
- stop() -
Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
-
- stopped() -
Method in class org.apache.sling.launchpad.app.Main
- The framework has been stopped by calling the
Bundle.stop()
on the system bundle.
- stopped() -
Method in interface org.apache.sling.launchpad.base.shared.Notifiable
- Called when the OSGi framework has been stopped because the
Bundle.stop
method has been called on the system bundle.
- stopped() -
Method in class org.apache.sling.launchpad.webapp.SlingServlet
- The framework has been stopped by calling the
Bundle.stop()
on the system bundle.
- stopRepository() -
Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
- Stop a repository.
- SUFFIX_COPY_FROM -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Suffix indicating that the named item is to be set from an item whose
absolute or relative path is given in the parameter's value (value is
"@CopyFrom").
- SUFFIX_DELETE -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Suffix indicating that the named property is to be removed before
applying any new content (value is "@Delete").
- SUFFIX_MOVE_FROM -
Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
- Suffix indicating that the named item is to be set from an item whose
absolute or relative path is given in the parameter's value (value is
"@MoveFrom").
- syntaxError(String) -
Method in class org.apache.sling.commons.json.JSONTokener
- Make a JSONException to signal a syntax error.
- SyntheticResource - Class in org.apache.sling.api.resource
- The
SyntheticResource
class is a simple implementation of the
Resource
interface which may be used to provide a resource
object which has no actual resource data. - SyntheticResource(ResourceResolver, String, String) -
Constructor for class org.apache.sling.api.resource.SyntheticResource
- Creates a synthetic resource with the given
path
and
resourceType
.
- SyntheticResource(ResourceResolver, ResourceMetadata, String) -
Constructor for class org.apache.sling.api.resource.SyntheticResource
- Creates a synthetic resource with the given
ResourceMetadata
and resourceType
.
- SYSTEM_USER_MANAGER_GROUP_PATH -
Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
-
- SYSTEM_USER_MANAGER_GROUP_PREFIX -
Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
-
- SYSTEM_USER_MANAGER_PATH -
Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
-
- SYSTEM_USER_MANAGER_USER_PATH -
Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
-
- SYSTEM_USER_MANAGER_USER_PREFIX -
Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
-
AbstractSlingRepository.disposeRepository(Repository)
method.
defaultValue
if no such service reference property exist.
defaultValue
if no such reference property exists or if
the property is not an Double
and cannot be converted to
an Double
from the property's string value.
defaultValue
if no such reference property exists or if
the property is not an Integer
and cannot be converted to
an Integer
from the property's string value.
toJSONString
method allows a class to produce its own JSON
serialization.
defaultValue
if no such reference property exists or if
the property is not an Integer
and cannot be converted to
a Long
from the property's string value.
TooManyCallsException
is thrown by the Sling implementation
if to many inclusions have been called for during a single request.defaultValue
if no such reference property exists.
%
hh sequences to single characters, and
convert plus to space.
serviceRegistration
.
Bundle.update
methods on the system bundle.
Bundle.update
methods has been called on the system bundle.
Bundle.update
methods on the system bundle.
true
or the value
false
.
ValueMap
is an easy way to access properties of a resource.ValueMapDecorator
decorates another Map
to provide a basic implementation for the additional methods
of a ValueMap
.AccessManagerPlugin
can define its own WorkspaceAccessManagerPlugin
,
if desired.message
to the output destination.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |