Add the HTTP method to the service lookup
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -141,7 +141,7 @@ public class DirectControlServlet extends HttpServlet { | ... | @@ -141,7 +141,7 @@ public class DirectControlServlet extends HttpServlet { |
141 | 141 | ||
142 | // If there is a mapping for this pathInfo, run the corresponding service | 142 | // If there is a mapping for this pathInfo, run the corresponding service |
143 | // otherwise, return an error | 143 | // otherwise, return an error |
144 | String serviceName = serviceURLMappings.get(pathInfo) + "#" + method; | 144 | String serviceName = serviceURLMappings.get(pathInfo + "#" + method); |
145 | if (serviceName == null) { | 145 | if (serviceName == null) { |
146 | serviceName = serviceURLMappings.get(pathInfo); | 146 | serviceName = serviceURLMappings.get(pathInfo); |
147 | if (serviceName == null) { | 147 | if (serviceName == null) { | ... | ... |
-
Please register or sign in to post a comment