/[Apache-SVN]/tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java
ViewVC logotype

Diff of /tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java	2006/04/04 00:01:51	391183
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java	2006/04/04 00:03:14	391184
@@ -89,6 +89,16 @@ public class FilterMap implements Serial
         this.servletName = servletName;
     }
 
+    
+    /**
+     * The flag that indicates this mapping will match all.
+     */
+    private boolean allMatch = false;
+    
+    public boolean getAllMatch() {
+        return allMatch;
+    }
+    
 
     /**
      * The URL pattern this mapping matches.
@@ -100,7 +110,11 @@ public class FilterMap implements Serial
     }
 
     public void setURLPattern(String urlPattern) {
-        this.urlPattern = RequestUtil.URLDecode(urlPattern);
+        if ("*".equals(urlPattern)) {
+            this.allMatch = true;
+        } else {
+            this.urlPattern = RequestUtil.URLDecode(urlPattern);
+        }
     }
     
     /**

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26