You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by da...@locus.apache.org on 2000/10/21 03:37:30 UTC
cvs commit: jakarta-servletapi/src/share/javax/servlet Filter.java FilterChain.java
dannyc 00/10/20 18:37:30
Modified: src/share/javax/servlet Tag: SERVLET_23_JSP_12 Filter.java
FilterChain.java
Log:
change to make clear static content can be filtered
Revision Changes Path
No revision
No revision
1.1.2.4 +3 -3 jakarta-servletapi/src/share/javax/servlet/Attic/Filter.java
Index: Filter.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/Attic/Filter.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- Filter.java 2000/10/20 01:20:54 1.1.2.3
+++ Filter.java 2000/10/21 01:37:29 1.1.2.4
@@ -64,8 +64,8 @@
/**
** A filter is an object than perform filtering tasks
- ** on either the request to a servlet, or on the response from
- ** a servlet, or both.<br><br>
+ ** on either the request to a resource (a servlet or static content), or on the response from
+ ** a resource, or both.<br><br>
** Filters perform filtering in the <code>doFilter</code> method. Every Filter has access to
** a FilterConfig object from which it can obtain its initialization parameters, a
** reference to the ServletContext which it can use, for example, to load resources
@@ -104,7 +104,7 @@
/**
* The <code>doFilter</code> method of the Filter is called by the container
* each time a request/response pair is passed through the chain due
- * to a client request for the Servlet at the end of the chain. The FilterChain passed in to this
+ * to a client request for a resource at the end of the chain. The FilterChain passed in to this
* method allows the Filter to pass on the request and response to the next entity in the
* chain.<p>
* A typical implementation of this method would follow the following pattern:- <br>
1.1.2.2 +3 -3 jakarta-servletapi/src/share/javax/servlet/Attic/FilterChain.java
Index: FilterChain.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/Attic/FilterChain.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- FilterChain.java 2000/10/20 01:20:54 1.1.2.1
+++ FilterChain.java 2000/10/21 01:37:29 1.1.2.2
@@ -64,9 +64,9 @@
/**
* A FilterChain is an object provided by the servlet container to the developer
- * giving a view into the invocation chain of a filtered servlet request. Filters
+ * giving a view into the invocation chain of a filtered request for a resource. Filters
* use the FilterChain to invoke the next filter in the chain, or if the calling filter
- * is the last filter in the chain, to invoke the Servlet at the end of the chain.
+ * is the last filter in the chain, to invoke the rosource at the end of the chain.
*
* @see Filter
* @since Servlet 2.3
@@ -76,7 +76,7 @@
/**
* Causes the next filter in the chain to be invoked, or if the calling filter is the last filter
- * in the chain, causes the Servlet at the end of the chain to be invoked.
+ * in the chain, causes the resource at the end of the chain to be invoked.
*
* @param request the request to pass along the chain.
* @param response the response to pass along the chain.