[Statelessfilter-commits] SF.net SVN: statelessfilter:[83] trunk
Status: Beta
Brought to you by:
nricheton
|
From: <nri...@us...> - 2011-07-25 06:25:00
|
Revision: 83
http://statelessfilter.svn.sourceforge.net/statelessfilter/?rev=83&view=rev
Author: nricheton
Date: 2011-07-25 06:24:54 +0000 (Mon, 25 Jul 2011)
Log Message:
-----------
https://sourceforge.net/apps/mantisbt/statelessfilter/view.php?id=25
0000025: Full response buffering is overkill for cookies backends
Modified Paths:
--------------
trunk/stateless-processor-cookie/src/main/java/net/sourceforge/statelessfilter/processor/request/Cookie2AttributeProcessor.java
trunk/stateless-session/src/main/java/net/sourceforge/statelessfilter/backend/session/SessionBackend.java
Modified: trunk/stateless-processor-cookie/src/main/java/net/sourceforge/statelessfilter/processor/request/Cookie2AttributeProcessor.java
===================================================================
--- trunk/stateless-processor-cookie/src/main/java/net/sourceforge/statelessfilter/processor/request/Cookie2AttributeProcessor.java 2011-07-24 21:51:13 UTC (rev 82)
+++ trunk/stateless-processor-cookie/src/main/java/net/sourceforge/statelessfilter/processor/request/Cookie2AttributeProcessor.java 2011-07-25 06:24:54 UTC (rev 83)
@@ -16,6 +16,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import net.sourceforge.statelessfilter.filter.Configuration;
import net.sourceforge.statelessfilter.processor.IRequestProcessor;
import net.sourceforge.statelessfilter.utils.CookieUtils;
@@ -114,8 +115,8 @@
*
* @see net.sourceforge.statelessfilter.filter.IPlugin#isBufferingRequired()
*/
- public boolean isBufferingRequired() {
- return true;
+ public String isBufferingRequired() {
+ return Configuration.BUFFERING_HEADERS;
}
/**
Modified: trunk/stateless-session/src/main/java/net/sourceforge/statelessfilter/backend/session/SessionBackend.java
===================================================================
--- trunk/stateless-session/src/main/java/net/sourceforge/statelessfilter/backend/session/SessionBackend.java 2011-07-24 21:51:13 UTC (rev 82)
+++ trunk/stateless-session/src/main/java/net/sourceforge/statelessfilter/backend/session/SessionBackend.java 2011-07-25 06:24:54 UTC (rev 83)
@@ -24,6 +24,7 @@
import net.sourceforge.statelessfilter.backend.ISessionBackend;
import net.sourceforge.statelessfilter.backend.ISessionData;
import net.sourceforge.statelessfilter.backend.support.CookieDataSupport;
+import net.sourceforge.statelessfilter.filter.Configuration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -76,8 +77,8 @@
// Nothing to init
}
- public boolean isBufferingRequired() {
- return true;
+ public String isBufferingRequired() {
+ return Configuration.BUFFERING_HEADERS;
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|