【练习】Creating Asynchronous Methods

1.依赖

【练习】Creating Asynchronous Methods

 2.Create a Representation of a GitHub User创建 GitHub 用户的表示

src/main/java/com/example/asyncmethod/User.java

【练习】Creating Asynchronous Methods

3.Create a GitHub Lookup Service创建 GitHub 查找服务

src/main/java/com/example/asyncmethod/GitHubLookupService.java

【练习】Creating Asynchronous Methods

 4.Make the Application Executable使应用程序可执行

src/main/java/com/example/asyncmethod/AsyncMethodApplication.java

【练习】Creating Asynchronous Methods

src/main/java/com/example/asyncmethod/AppRunner.java 

【练习】Creating Asynchronous Methods

 Build an executable JAR构建一个可执行的 JAR

mvnw clean package

【练习】Creating Asynchronous Methods

 【练习】Creating Asynchronous Methods

 

上一篇:与众不同 windows phone (31) - Communication(通信)之基于 Socket UDP 开发一个多人聊天室


下一篇:Python直接用字典数组导入到函数的非固定参数