[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/coyote ...
Tom Elrod
tom.elrod at jboss.com
Mon Mar 19 23:18:43 EDT 2007
User: telrod
Date: 07/03/19 23:18:43
Modified: src/main/org/jboss/remoting/transport/coyote Tag:
remoting_2_x CoyoteInvoker.java
Log:
Updates for 2.2.0.GA release.
Revision Changes Path
No revision
No revision
1.23.2.3 +7 -5 JBossRemoting/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CoyoteInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java,v
retrieving revision 1.23.2.2
retrieving revision 1.23.2.3
diff -u -b -r1.23.2.2 -r1.23.2.3
--- CoyoteInvoker.java 23 Feb 2007 08:46:06 -0000 1.23.2.2
+++ CoyoteInvoker.java 20 Mar 2007 03:18:43 -0000 1.23.2.3
@@ -418,6 +418,7 @@
{
case Version.VERSION_1:
case Version.VERSION_2:
+ case Version.VERSION_2_2:
{
String responseContentType = responseObject == null ? req.getContentType() : WebUtil.getContentType(responseObject);
res.setContentType(responseContentType);
@@ -427,7 +428,7 @@
}
default:
{
- throw new IOException("Can not send response due to version (" + version + ") not being supported. Supported versions: " + Version.VERSION_1 + ", " + Version.VERSION_2);
+ throw new IOException("Can not send response due to version (" + version + ") not being supported. Supported versions: " + Version.VERSION_1 + ", " + Version.VERSION_2 + ", " + Version.VERSION_2_2);
}
}
}
@@ -439,6 +440,7 @@
{
case Version.VERSION_1:
case Version.VERSION_2:
+ case Version.VERSION_2_2:
{
receivedInvocationRequest.set(FALSE);
@@ -479,7 +481,7 @@
default:
{
- throw new IOException("Can not processes request due to incorrect version (" + version + "). Can only process versions: " + Version.VERSION_1 + ", " + Version.VERSION_2);
+ throw new IOException("Can not processes request due to incorrect version (" + version + "). Can only process versions: " + Version.VERSION_1 + ", " + Version.VERSION_2 + ", " + Version.VERSION_2_2);
}
}
}
More information about the jboss-cvs-commits
mailing list