This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 3a1097a Automatic website deployment
3a1097a is described below
commit 3a1097a81334d9e95b1e1841fe3920add4928fa3
Author: jenkins <[email protected]>
AuthorDate: Wed Jan 8 15:39:18 2020 +0000
Automatic website deployment
---
documentation/bundles/rendering-content-default-get-servlets.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/documentation/bundles/rendering-content-default-get-servlets.html
b/documentation/bundles/rendering-content-default-get-servlets.html
index eb0b319..1402179 100644
--- a/documentation/bundles/rendering-content-default-get-servlets.html
+++ b/documentation/bundles/rendering-content-default-get-servlets.html
@@ -245,8 +245,8 @@ curl -s
"http://localhost:8080/vtest.tidy.json;v=1.2"
"jcr:uuid": "3d55430b-2fa6-4562-b415-638fb6608c0e"
}
</code></pre>
-<h2><a href="#rendering-resources-using-the-default-get-servlet"
name="rendering-resources-using-the-default-get-servlet">Rendering resources
using the default GET servlet</a></h2>
-<p>There are scenarios where it is useful to render a resource using the
default GET servlet. However, there is no API to select a specific servlet or
to force a specific extension to be used. We can still use the default GET
servlet by taking advantage of the fact that it is also registered for the
<em>res</em> extension. The code to do what would be:</p>
+<h2><a href="#streaming-binaries-using-the-default-get-servlet"
name="streaming-binaries-using-the-default-get-servlet">Streaming binaries
using the default GET servlet</a></h2>
+<p>There are scenarios where it is useful to stream a binary resource using
the default GET servlet. However, there is no API to select a specific servlet.
We can still stream using the default GET servlet by taking advantage of the
fact that it is also registered for the <em>res</em> extension. The code to do
what would be:</p>
<pre><code>Resource toRender = /* code to obtain resource here */ null;
request
.getRequestDispatcher(toRender.getPath() + ".res")
@@ -259,7 +259,7 @@ request
</div><footer class="footer">
<div class="content has-text-centered is-small">
<div class="revisionInfo">
- Last modified by <span class="author">Robert
Munteanu</span> on <span class="comment">Tue Oct 15 11:30:43 2019 +0200</span>
+ Last modified by <span class="author">Robert
Munteanu</span> on <span class="comment">Wed Jan 8 16:35:00 2020 +0100</span>
</div> <p>
Apache Sling, Sling, Apache, the Apache feather logo,
and the Apache Sling project logo are trademarks of The Apache Software
Foundation. All other marks mentioned may be trademarks or registered
trademarks of their respective owners.
</p><p>