You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/06/25 23:10:05 UTC
svn commit: r671660 -
/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java
Author: skitching
Date: Wed Jun 25 14:10:05 2008
New Revision: 671660
URL: http://svn.apache.org/viewvc?rev=671660&view=rev
Log:
Add javadoc only
Modified:
myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java?rev=671660&r1=671659&r2=671660&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/ExtensionsFilter.java Wed Jun 25 14:10:05 2008
@@ -68,7 +68,7 @@
* this filter checks the http content-type header. If it is not html or xhtml,
* then the data is simply send to the response stream without further processing.
*
- * For html or xhtml responses, this filter canses the data to be post-processed
+ * For html or xhtml responses, this filter causes the data to be post-processed
* to insert any "resources" registered via the AddResources framework. This
* allows jsf components (and other code if it wants) to register data that
* should be output into an HTML page, particularly into places like an html
@@ -115,6 +115,14 @@
* refers to. A number of configuration properties on this filter control
* maximum file upload sizes and various other useful settings.
*
+ * <h2>Avoiding Processing</h2>
+ *
+ * When the ExtensionsFilter is enabled, and the DefaultAddResources
+ * implementation is used then there is no way to avoid having the
+ * response buffered in memory. However as long as the mime-type set
+ * for the response data is <i>not</i> text/html then the data will
+ * be written out without any modifications.
+ *
* @author Sylvain Vieujot (latest modification by $Author$)
* @version $Revision$ $Date$
*/