tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1489557 - /tomcat/trunk/java/org/apache/catalina/connector/Response.java
Date Tue, 04 Jun 2013 18:46:53 GMT
Author: kkolinko
Date: Tue Jun  4 18:46:52 2013
New Revision: 1489557

URL: http://svn.apache.org/r1489557
Log:
Restore Javadoc to the getCoyoteResponse() method
which has been deprecated, removed (r1188402) and resurrected (r1358055).

This method is currently used by RewriteValve.

BTW, one place where I see that getCoyoteResponse() method would be useful
is to access response.getCoyoteResponse().getMimeHeaders(),
e.g. to call removeHeader(String) which is not exposed via Servlet API.

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Response.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Response.java?rev=1489557&r1=1489556&r2=1489557&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Response.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Response.java Tue Jun  4 18:46:52 2013
@@ -144,6 +144,9 @@ public class Response
         outputBuffer.setResponse(coyoteResponse);
     }
 
+    /**
+     * Get the Coyote response.
+     */
     public org.apache.coyote.Response getCoyoteResponse() {
         return this.coyoteResponse;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message