其中req.getSchema()是获取项目的访问协议如:http、https; req.getServerName()是获取项目的服务器名字; req.getServerPort()是获取服务器端口如:8080;