You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/10/15 23:49:23 UTC
svn commit: r1532554 -
/myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java
Author: lu4242
Date: Tue Oct 15 21:49:23 2013
New Revision: 1532554
URL: http://svn.apache.org/r1532554
Log:
MYFACES-3723 JSF 2.2: Support parameter javax.faces.SERIALIZE_SERVER_STATE (Thanks to Michael Kurz for provide this patch)
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java?rev=1532554&r1=1532553&r2=1532554&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/application/StateManager.java Tue Oct 15 21:49:23 2013
@@ -107,7 +107,16 @@ public abstract class StateManager
public static final String IS_BUILDING_INITIAL_STATE = "javax.faces.IS_BUILDING_INITIAL_STATE";
public static final String IS_SAVING_STATE = "javax.faces.IS_SAVING_STATE";
-
+
+ /**
+ * Indicate if the state should be serialized before save it on the session.
+ * <p>
+ * Only applicable if state saving method is "server" (= default).
+ * If <code>true</code> (default) the state will be serialized to a byte stream before it is
+ * written to the session.
+ * If <code>false</code> the state will not be serialized to a byte stream.
+ * </p>
+ */
@JSFWebConfigParam(since="2.2", group="state", tags="performance",
defaultValue="false", expectedValues="true,false")
public static final java.lang.String SERIALIZE_SERVER_STATE_PARAM_NAME = "javax.faces.SERIALIZE_SERVER_STATE";