A new update method called updateStatus int userId, String status makes use of the saved access token see Listing 3. In the main method, comment out the line tt.updateStatus " studying."
名为updatestatus (int userId, String status)的新更新方法使用了存储的访问令牌(参见清单3)。
These requests for a token are serviced by a singleton class named Dashboard, which manages the status of the endpoints of one or several groups.
获取令牌的请求由一个名为Dashboard的单态类进行处理,该类负责管理一个或多个组的端点的状态。
If a free token is found, its status is changed to "assigned" and the URL of the corresponding endpoint is returned to the mediation flow, which invokes the Web service using the provided URL.
如果找到未占用的令牌,其状态将更改为“assigned”并且将相应端点的URL返回到仲裁流,后者调用使用所提供的URL的Web服务。
应用推荐