myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sless...@apache.org
Subject svn commit: r763444 - 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:57:35 GMT
Author: slessard
Date: Wed Apr  8 22:57:35 2009
New Revision: 763444

URL: http://svn.apache.org/viewvc?rev=763444&view=rev
Log:
MYFACES-2181 - Implement IMPL - method getResponseOutputWriter 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=763444&r1=763443&r2=763444&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:57:35 2009
@@ -224,7 +224,6 @@
      */
     public OutputStream getResponseOutputStream() throws IOException
     {
-        // TODO: IMPLEMENT IMPL
         throw new UnsupportedOperationException();
     }
 
@@ -233,7 +232,6 @@
      */
     public Writer getResponseOutputWriter() throws IOException
     {
-        // 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=763444&r1=763443&r2=763444&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:57:35 2009
@@ -21,6 +21,7 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
+import java.io.Writer;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.security.Principal;
@@ -173,6 +174,15 @@
     {
         return _servletResponse.getOutputStream();
     }
+    
+    /**
+     * @since JSF 2.0
+     */
+    @Override
+    public Writer getResponseOutputWriter() throws IOException
+    {
+        return _servletResponse.getWriter();
+    }
 
     @Override
     public Map<String, Object> getApplicationMap()



Mime
View raw message