myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sless...@apache.org
Subject svn commit: r763446 - in /myfaces/core/branches/2_0_0: api/src/main/java/javax/faces/context/ExternalContext.java impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
Date Wed, 08 Apr 2009 22:59:28 GMT
Author: slessard
Date: Wed Apr  8 22:59:28 2009
New Revision: 763446

URL: http://svn.apache.org/viewvc?rev=763446&view=rev
Log:
MYFACES-2182 - Implement IMPL - method isResponseCommitted of ExternalContext.

Modified:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/context/ExternalContext.java
    myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java

Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/context/ExternalContext.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/context/ExternalContext.java?rev=763446&r1=763445&r2=763446&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/context/ExternalContext.java
(original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/context/ExternalContext.java
Wed Apr  8 22:59:28 2009
@@ -248,7 +248,6 @@
      */
     public void invalidateSession()
     {
-        // TODO: IMPLEMENT IMPL
         throw new UnsupportedOperationException();
     }
 
@@ -260,7 +259,6 @@
      */
     public boolean isResponseCommitted()
     {
-        // TODO: IMPLEMENT IMPL
         throw new UnsupportedOperationException();
     }
 

Modified: myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java?rev=763446&r1=763445&r2=763446&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
(original)
+++ myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
Wed Apr  8 22:59:28 2009
@@ -474,6 +474,15 @@
             session.invalidate();
         }
     }
+    
+    /**
+     * @since 2.0
+     */
+    @Override
+    public boolean isResponseCommitted()
+    {
+        return _httpServletResponse.isCommitted();
+    }
 
     @Override
     public void log(final String message)



Mime
View raw message