You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:24:15 UTC

[sling-org-apache-sling-urlrewriter] 07/10: SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter

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

rombert pushed a commit to annotated tag org.apache.sling.urlrewriter-0.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git

commit 34174a26807da2453d09c6f08686644ce89e9fe1
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Feb 24 13:56:51 2015 +0000

    SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
    
    * style
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter@1661953 13f79535-47bb-0310-9956-ffa450edef68
---
 .../internal/SlingUrlRewriteFilter.java            | 24 ++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
index 6427889..cca2d81 100644
--- a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
@@ -65,10 +65,26 @@ import org.xml.sax.helpers.DefaultHandler;
 )
 @Service
 @Properties({
-    @Property(name = Constants.SERVICE_VENDOR, value = "The Apache Software Foundation"),
-    @Property(name = Constants.SERVICE_DESCRIPTION, value = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter"),
-    @Property(name = Constants.SERVICE_RANKING, intValue = 0, propertyPrivate = false),
-    @Property(name = EngineConstants.SLING_FILTER_SCOPE, value = {EngineConstants.FILTER_SCOPE_REQUEST, EngineConstants.FILTER_SCOPE_FORWARD})
+    @Property(
+        name = Constants.SERVICE_VENDOR,
+        value = "The Apache Software Foundation"
+    ),
+    @Property(
+        name = Constants.SERVICE_DESCRIPTION,
+        value = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter"
+    ),
+    @Property(
+        name = Constants.SERVICE_RANKING,
+        intValue = 0,
+        propertyPrivate = false
+    ),
+    @Property(
+        name = EngineConstants.SLING_FILTER_SCOPE,
+        value = {
+            EngineConstants.FILTER_SCOPE_REQUEST,
+            EngineConstants.FILTER_SCOPE_FORWARD
+        }
+    )
 })
 public final class SlingUrlRewriteFilter implements Filter {
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.