You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ke...@apache.org on 2008/01/13 14:26:39 UTC
svn commit: r611573 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java
Author: keithc
Date: Sun Jan 13 05:26:39 2008
New Revision: 611573
URL: http://svn.apache.org/viewvc?rev=611573&view=rev
Log:
Changing the order in which dispatchers are invoked. Using the HTTPLocation dispatcher first as its more likely to dispatch in the REST case.
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java?rev=611573&r1=611572&r2=611573&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java Sun Jan 13 05:26:39 2008
@@ -141,14 +141,13 @@
requestDispatcher.invoke(msgContext);
AxisService axisService = msgContext.getAxisService();
if (axisService != null) {
- RequestURIOperationDispatcher requestURIOperationDispatcher =
- new RequestURIOperationDispatcher();
- requestURIOperationDispatcher.invoke(msgContext);
-
+ HTTPLocationBasedDispatcher httpLocationBasedDispatcher =
+ new HTTPLocationBasedDispatcher();
+ httpLocationBasedDispatcher.invoke(msgContext);
if (msgContext.getAxisOperation() == null) {
- HTTPLocationBasedDispatcher httpLocationBasedDispatcher =
- new HTTPLocationBasedDispatcher();
- httpLocationBasedDispatcher.invoke(msgContext);
+ RequestURIOperationDispatcher requestURIOperationDispatcher =
+ new RequestURIOperationDispatcher();
+ requestURIOperationDispatcher.invoke(msgContext);
}
AxisOperation axisOperation;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org