Skip to content

Commit 1373e51

Browse files
committed
第二周第六题请求作业提交
1 parent a80b353 commit 1373e51

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

02nio/homework02/src/main/java/work/AllGet.java renamed to 02nio/homework02/src/main/java/work/第6题作业.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55

66
import java.io.IOException;
77

8-
public class AllGet {
8+
public class 第6题作业 {
99
public static void main(String[] args) throws IOException {
1010
String url = "http://localhost:8801";
1111
String httpClientResponse = new HttpClientWork().get(url);
1212
System.out.println("httpClientResponse" + httpClientResponse);
1313

1414
String okHttpResponse = new OkHttpWork().get(url);
1515
System.out.println("okHttpResponse:" + okHttpResponse);
16+
17+
1618
}
1719

1820
}

0 commit comments

Comments
 (0)