code: function(req, res) {
          _protoParent.handle.call(this, req, res);
  
          if (req.urlParsed.chunks.length === 1 && req.urlParsed.file === "session" && req.method === "POST") {
              _postNewSessionCommand(req, res);
              return;
          } else if (req.urlParsed.chunks.length === 1 && req.urlParsed.file === "sessions" && req.method === "GET") {
              _getActiveSessionsCommand(req, res);
              return;
          } else if (req.urlParsed.directory === "/session/") {
              if (req.method === "GET") {
                  _getSessionCapabilitiesCommand(req, res);
              } else if (req.method === "DELETE") {
                  _deleteSessionCommand(req, res);
              }
              return;
          }
  
          throw _errors.createInvalidReqInvalidCommandMethodEH(req);
      }
docs: private: