This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch issues/SLING-8742
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git


The following commit(s) were added to refs/heads/issues/SLING-8742 by this push:
     new e355a4f  SLING-8742 : Allow overriding the extension when using the 
RequestDispatcher
e355a4f is described below

commit e355a4ff93ffc0f0f346c10ffce4800437b62994
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Wed Sep 29 18:27:48 2021 +0200

    SLING-8742 : Allow overriding the extension when using the RequestDispatcher
---
 .../java/org/apache/sling/api/request/RequestDispatcherOptions.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java 
b/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
index b55509d..3230bff 100644
--- a/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
+++ b/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
@@ -203,6 +203,7 @@ public class RequestDispatcherOptions extends 
HashMap<String, String> {
      * If this value contains an empty string, the original extension
      * will be removed.
      * @param replaceExtension The replace extension
+     * @since 2.5.0
      */
     public void setReplaceExtension(String replaceExtension) {
         if (replaceExtension != null) {
@@ -214,6 +215,7 @@ public class RequestDispatcherOptions extends 
HashMap<String, String> {
      * Returns the {@link #OPT_REPLACE_EXTENSION} option or <code>null</code> 
if
      * not set.
      * @return The replace extension
+     * @since 2.5.0
      */
     public String getReplaceExtension() {
         return get(OPT_REPLACE_EXTENSION);

Reply via email to