// Path: commons/src/main/java/org/nesty/commons/constant/http/RequestMethod.java
// public enum RequestMethod {
//     GET, POST, PUT, DELETE, UNKOWN
// }
// 
// Path: example/src/main/java/org/nesty/example/httpserver/handler/model/ServiceResponse.java
// public class ServiceResponse {
// 
//     private int errorCode = 0;
//     private String errorMsg = "success";
// }


import org.nesty.commons.annotations.Controller;
import org.nesty.commons.annotations.RequestMapping;
import org.nesty.commons.annotations.RequestParam;
import org.nesty.commons.constant.http.RequestMethod;
import org.nesty.example.httpserver.handler.model.ServiceResponse;
package com.nesty.test.neptune;


@Controller
@RequestMapping("/web/api")
public class CalculateTaskController {

    @RequestMapping(value = "/task/calculate.json", method = RequestMethod.POST)
// Path: commons/src/main/java/org/nesty/commons/constant/http/RequestMethod.java
// public enum RequestMethod {
//     GET, POST, PUT, DELETE, UNKOWN
// }
// 
// Path: example/src/main/java/org/nesty/example/httpserver/handler/model/ServiceResponse.java
// public class ServiceResponse {
// 
//     private int errorCode = 0;
//     private String errorMsg = "success";
// }


// Path: example/src/main/java/com/com/nesty/test/neptune/CalculateTaskController.java
import org.nesty.commons.annotations.Controller;
import org.nesty.commons.annotations.RequestMapping;
import org.nesty.commons.annotations.RequestParam;
import org.nesty.commons.constant.http.RequestMethod;
import org.nesty.example.httpserver.handler.model.ServiceResponse;

package com.nesty.test.neptune;


@Controller
@RequestMapping("/web/api")
public class CalculateTaskController {

    @RequestMapping(value = "/task/calculate.json", method = RequestMethod.POST)
    public ServiceResponse calculateTask(