class ApiService { private static Logger log = Logger.GetInstance(); private HttpListener listener; private ControllerMapper mapper = new ControllerMapper(); /// <summary> /// APIサービスを起動する /// </summary> public void Start() { try { // HTTPサーバーを起動する this.listener = new HttpListener(); this.listener.Prefixes.Add(String.Format("http://+:{0}/{1}/", Settings.Default.API_PORT, Settings.Default.API_PATH)