The actual use depends on the environment. For example a
using a JCR
repository may name Sling node types and items using namespaces mapped to
this prefix. A JSP tag library for Sling may use this prefix as the
namespace prefix for its tags.
org.apache.sling.api.resource.ResourceResolver
The actual namespace URI depends on the environment. For example a
using a JCR
repository may define its namespace as
org.apache.sling.api.resource.ResourceResolverNAMESPACE_URI_ROOT + "jcr/sling/1.0". A JSP
tag library for Sling may define its namespace as
NAMESPACE_URI_ROOT + "taglib/sling/1.0".
Servlet
which included the servlet currently being active (value is
"org.apache.sling.api.include.servlet"). This attribute is only set if
the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is javax.servlet.Servlet.
Resource
underlying the Servlet which included the servlet currently
being active (value is "org.apache.sling.api.include.resource"). This
attribute is only set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is
org.apache.sling.api.resource.Resource.
RequestPathInfo underlying the Servlet which
included the servlet currently being active (value is
"org.apache.sling.api.include.request_path_info"). This attribute is only
set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is
org.apache.sling.api.request.RequestPathInfo.
public static final String ATTR_REQUEST_PATH_INFO = "org.apache.sling.api.include.request_path_info";
HttpServletRequest.getRequestURI() of the request which
included the servlet currently being active underlying the
Servlet which included the servlet currently being active
(value is "javax.servlet.include.request_uri"). This attribute is only
set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is String.
Note: In Sling, the
HttpServletRequest.getRequestURI() method will always return
the same result regardless of whether it is called from the client
request processing servlet or script or from an included servlet or
script. This request attribute is set for compatibility with the Servlet
API specification.
HttpServletRequest.getContextPath() of the request which
included the servlet currently being active underlying the
Servlet which included the servlet currently being active
(value is "javax.servlet.include.context_path"). This attribute is only
set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is String.
Note: In Sling, the
HttpServletRequest.getContextPath() method will always
return the same result regardless of whether it is called from the client
request processing servlet or script or from an included servlet or
script. This request attribute is set for compatibility with the Servlet
API specification.
HttpServletRequest.getServletPath() of the request which
included the servlet currently being active underlying the
Servlet which included the servlet currently being active
(value is "javax.servlet.include.servlet_path"). This attribute is only
set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is String.
Note: In Sling, the
HttpServletRequest.getServletPath() method will always
return the same result regardless of whether it is called from the client
request processing servlet or script or from an included servlet or
script. This request attribute is set for compatibility with the Servlet
API specification.
HttpServletRequest.getPathInfo() of the request which
included the servlet currently being active underlying the
Servlet which included the servlet currently being active
(value is "javax.servlet.include.path_info"). This attribute is only set
if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is String.
Note: In Sling, the HttpServletRequest.getPathInfo()
method will always return the same result regardless of whether it is
called from the client request processing servlet or script or from an
included servlet or script. This request attribute is set for
compatibility with the Servlet API specification.
HttpServletRequest.getQueryString() of the request which
included the servlet currently being active underlying the
Servlet which included the servlet currently being active
(value is "javax.servlet.include.query_string"). This attribute is only
set if the serlvet or script is included via
RequestDispatcher.include from another servlet or script.
The type of the attribute value is String.
Note: In Sling, the
HttpServletRequest.getQueryString() method will always
return the same result regardless of whether it is called from the client
request processing servlet or script or from an included servlet or
script. This request attribute is set for compatibility with the Servlet
API specification.
The type of the attribute value is java.lang.Throwable.
Throwable itself.
The type of the attribute value is java.lang.String.
Throwable.getMessage(). If error handling is caused by a
call to one of the SlingHttpServletResponse.sendError
methods, this attribute contains the optional message.
The type of the attribute value is java.lang.String.
SlingHttpServletRequest.getRequestURI() method.
The type of the attribute value is java.lang.String.
The type of the attribute value is java.lang.Integer.
PROPERTY_PATH, PROPERTY_RESOURCE_SUPER_TYPE
and PROPERTY_RESOURCE_TYPE poperties.
public static final String TOPIC_RESOURCE_ADDED = "org/apache/sling/api/resource/Resource/ADDED";
PROPERTY_PATH.As the resource has already been removed
no further information like resource type etc. might be available.
public static final String TOPIC_RESOURCE_REMOVED = "org/apache/sling/api/resource/Resource/REMOVED";
PROPERTY_PATH, PROPERTY_RESOURCE_SUPER_TYPE
and PROPERTY_RESOURCE_TYPE poperties.
public static final String TOPIC_RESOURCE_CHANGED = "org/apache/sling/api/resource/Resource/CHANGED";
PROPERTY_PATH property.
public static final String TOPIC_RESOURCE_PROVIDER_ADDED = "org/apache/sling/api/resource/ResourceProvider/ADDED";
PROPERTY_PATH property.
public static final String TOPIC_RESOURCE_PROVIDER_REMOVED = "org/apache/sling/api/resource/ResourceProvider/REMOVED";
PROPERTY_ADAPTABLE_CLASSES,
and PROPERTY_ADAPTER_CLASSES poperties.
public static final String TOPIC_ADAPTER_FACTORY_ADDED = "org/apache/sling/api/adapter/AdapterFactory/ADDED";
PROPERTY_ADAPTABLE_CLASSES,
and PROPERTY_ADAPTER_CLASSES poperties.
public static final String TOPIC_ADAPTER_FACTORY_REMOVED = "org/apache/sling/api/adapter/AdapterFactory/REMOVED";