You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/01/29 13:41:47 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina Wrapper.java
remm 2003/01/29 04:41:47
Modified: catalina/src/share/org/apache/catalina Wrapper.java
Log:
- Add a way to get the mappings associated with a wrapper (there was none
which of course is a problem unless the mapper is the context itself).
Revision Changes Path
1.2 +26 -4 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Wrapper.java
Index: Wrapper.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Wrapper.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Wrapper.java 18 Jul 2002 16:47:38 -0000 1.1
+++ Wrapper.java 29 Jan 2003 12:41:47 -0000 1.2
@@ -205,6 +205,14 @@
/**
+ * Add a mapping associated with the Wrapper.
+ *
+ * @param pattern The new wrapper mapping
+ */
+ public void addMapping(String mapping);
+
+
+ /**
* Add a new security role reference record to the set of records for
* this servlet.
*
@@ -260,6 +268,12 @@
/**
+ * Return the mappings associated with this wrapper.
+ */
+ public String[] findMappings();
+
+
+ /**
* Return the security role link for the specified security role
* reference name, if any; otherwise return <code>null</code>.
*
@@ -302,6 +316,14 @@
* @param listener The listener to remove
*/
public void removeInstanceListener(InstanceListener listener);
+
+
+ /**
+ * Remove a mapping associated with the wrapper.
+ *
+ * @param mapping The pattern to remove
+ */
+ public void removeMapping(String mapping);
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org