Permalink
Browse files

Fix for handling HTTP requests properly

  • Loading branch information...
1 parent 7d44e90 commit 0e294318ad013cb51f2d90f3d48633ce1d29e338 @mbogoevici mbogoevici committed Sep 10, 2012
@@ -20,9 +20,13 @@ public Source processTripRequest(Source requestSource) throws Exception{
return new StringSource(res.toString());
}
+ public OkResponse processTripRequest(String requestSource) throws Exception{
+ logger.info("Trip request recevied");
+ return new OkResponse();
+ }
+
public OkResponse processTripRequest(LegQuoteCommand legQuoteCommand) throws Exception{
logger.info("Trip request received:" + legQuoteCommand);
- StringResult res = new StringResult();
return new OkResponse();
}

0 comments on commit 0e29431

Please sign in to comment.