// 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/ProjectModel.java
// @Controller
// public class ProjectModel {
// 
//     private Integer projectId;
//     private String projectName;
//     private String projectOwener;
// 
//     public Integer getProjectId() {
//         return projectId;
//     }
// 
//     public String getProjectName() {
//         return projectName;
//     }
// 
//     public String getProjectOwener() {
//         return projectOwener;
//     }
// }
// 
// 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/org/nesty/example/httpserver/handler/model/Type.java
// public enum Type {
//     A, B, C
// }


import org.nesty.commons.annotations.*;
import org.nesty.commons.constant.http.RequestMethod;
import org.nesty.example.httpserver.handler.model.ProjectModel;
import org.nesty.example.httpserver.handler.model.ServiceResponse;
import org.nesty.example.httpserver.handler.model.Type;
package org.nesty.example.httpserver.handler;


@Controller
@RequestMapping("/projects")
public class ServiceController {

    // [POST] http://host:port/projects/1
// 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/ProjectModel.java
// @Controller
// public class ProjectModel {
// 
//     private Integer projectId;
//     private String projectName;
//     private String projectOwener;
// 
//     public Integer getProjectId() {
//         return projectId;
//     }
// 
//     public String getProjectName() {
//         return projectName;
//     }
// 
//     public String getProjectOwener() {
//         return projectOwener;
//     }
// }
// 
// 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/org/nesty/example/httpserver/handler/model/Type.java
// public enum Type {
//     A, B, C
// }


// Path: example/src/main/java/org/nesty/example/httpserver/handler/ServiceController.java
import org.nesty.commons.annotations.*;
import org.nesty.commons.constant.http.RequestMethod;
import org.nesty.example.httpserver.handler.model.ProjectModel;
import org.nesty.example.httpserver.handler.model.ServiceResponse;
import org.nesty.example.httpserver.handler.model.Type;

package org.nesty.example.httpserver.handler;


@Controller
@RequestMapping("/projects")
public class ServiceController {

    // [POST] http://host:port/projects/1
    @RequestMapping(value = "/", method = RequestMethod.POST)