This is an automated email from the ASF dual-hosted git repository.
radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new e01402b SLING-8170 - Allow Sling servlets to declare a resource super
type
e01402b is described below
commit e01402b8fb868dd413143a9844253a0f910a1e78
Author: Radu Cotescu <[email protected]>
AuthorDate: Thu Dec 13 14:17:01 2018 +0100
SLING-8170 - Allow Sling servlets to declare a resource super type
* documented the new sling.servlet.resourceSuperType property
---
src/main/jbake/content/documentation/the-sling-engine/servlets.md | 1 +
src/main/jbake/content/releases.md | 3 ++-
src/main/jbake/templates/downloads.tpl | 6 +++---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/main/jbake/content/documentation/the-sling-engine/servlets.md
b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
index 3588f06..44b1b40 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/servlets.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
@@ -17,6 +17,7 @@ Servlets can be registered as OSGi services. The following
service reference pro
| --- | --- |
| `sling.servlet.paths` | A list of absolute paths under which the servlet is
accessible as a Resource. The property value must either be a single String, an
array of Strings or a Vector of Strings.<br>A servlet using this property might
be ignored unless its path is included in the *Execution Paths*
(`servletresolver.paths`) configuration setting of the `SlingServletResolver`
service. Either this property or the `sling.servlet.resourceTypes` property
must be set, or the servlet is ignor [...]
| `sling.servlet.resourceTypes` | The resource type(s) supported by the
servlet. The property value must either be a single String, an array of Strings
or a Vector of Strings. Either this property or the `sling.servlet.paths`
property must be set, or the servlet is ignored. If both are set, the servlet
is registered using both ways. |
+| `sling.servlet.resourceSuperType` | The resource super type, indicating
which previously registered servlet could intercept the request if the request
matches the resource super type better. The property value must be a single
String. This property is only considered for the registration with
`sling.servlet.resourceTypes`. (since version `2.3.0` of the
`org.apache.sling.api.servlets` API, version `2.5.2` of the
`org.apache.sling.servlets.resolver` bundle)|
| `sling.servlet.selectors` | The request URL selectors supported by the
servlet. The selectors must be configured as they would be specified in the URL
that is as a list of dot-separated strings such as <em>print.a4</em>. In case
this is not empty the first selector(s) (i.e. the one(s) on the left) in the
request URL must match, otherwise the servlet is not executed. After that may
follow arbitrarily many non-registered selectors. The property value must
either be a single String, an ar [...]
| `sling.servlet.extensions` | The request URL extensions supported by the
servlet for requests. The property value must either be a single String, an
array of Strings or a Vector of Strings. This property is only considered for
the registration with `sling.servlet.resourceTypes`. |
| `sling.servlet.methods` | The request methods supported by the servlet. The
property value must either be a single String, an array of Strings or a Vector
of Strings. This property is only considered for the registration with
`sling.servlet.resourceTypes`. If this property is missing, the value defaults
to GET and HEAD, regardless of which methods are actually implemented/handled
by the servlet. |
diff --git a/src/main/jbake/content/releases.md
b/src/main/jbake/content/releases.md
index 8b6b2b3..3044cf8 100644
--- a/src/main/jbake/content/releases.md
+++ b/src/main/jbake/content/releases.md
@@ -8,7 +8,8 @@ This is a list of all our releases, available from our
[downloads](/downloads.cg
## December 2018
-* Capabilities 0.1.2, Capabilities JCR 0.1.2 /17th)
+* API 2.20.0, Servlets Resolver 2.5.2, Servlets Annotations 1.2.4 (18th)
+* Capabilities 0.1.2, Capabilities JCR 0.1.2 (17th)
* JCR Base 3.0.6 (16th)
* JCR Oak Server 1.2.2 (16th)
* Servlet GET 2.1.40 (11th)
diff --git a/src/main/jbake/templates/downloads.tpl
b/src/main/jbake/templates/downloads.tpl
index 25b6500..654349f 100644
--- a/src/main/jbake/templates/downloads.tpl
+++ b/src/main/jbake/templates/downloads.tpl
@@ -36,7 +36,7 @@ def mavenPlugins=[
def bundles=[
"Adapter|org.apache.sling.adapter|2.1.10|Y|jar",
"Adapter Annotations|adapter-annotations|1.0.0|Y|jar",
- "API|org.apache.sling.api|2.18.4|Y|jar",
+ "API|org.apache.sling.api|2.20.0|Y|jar",
"Auth Core|org.apache.sling.auth.core|1.4.2|Y|jar",
"Auth Form|org.apache.sling.auth.form|1.0.12|Y|jar",
"Authentication XING API|org.apache.sling.auth.xing.api|0.0.2|Y|jar",
@@ -205,11 +205,11 @@ def bundles=[
"Security|org.apache.sling.security|1.1.16|Y|jar",
"Service User Mapper|org.apache.sling.serviceusermapper|1.4.2|Y|jar",
"Service User
WebConsole|org.apache.sling.serviceuser.webconsole|1.0.0|Y|jar",
- "Servlet Annotations|org.apache.sling.servlets.annotations|1.1.0|Y|jar",
+ "Servlet Annotations|org.apache.sling.servlets.annotations|1.2.4|Y|jar",
"Servlet Helpers|org.apache.sling.servlet-helpers|1.1.8|Y|jar",
"Servlets Get|org.apache.sling.servlets.get|2.1.40|Y|jar",
"Servlets Post|org.apache.sling.servlets.post|2.3.26|Y|jar",
- "Servlets Resolver|org.apache.sling.servlets.resolver|2.4.24|Y|jar",
+ "Servlets Resolver|org.apache.sling.servlets.resolver|2.5.2|Y|jar",
"Settings|org.apache.sling.settings|1.3.10|Y|jar",
"Slf4j MDC Filter|org.apache.sling.extensions.slf4j.mdc|1.0.0|Y|jar",
"Sling Query|org.apache.sling.query|4.0.2|Y|jar",