You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ The goal of these programming exercises is to practise:
11
11
12
12
**<ins>Exercise 1</ins>**
13
13
14
-
Complete a Java class that constructs `HttpRequest` objects with specific properties.
14
+
Complete a Java class that constructs [HttpRequest](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.html) objects with specific properties.
15
15
16
-
**Task:** Implement the `build()` method in the `HttpRequestBuilder` class to return a configured [HttpRequest](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.html#newBuilder()) object. Use the [HttpRequest.build()](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.html#newBuilder()) method to create a [Builder](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.Builder.html) instance and build a request with the following properties:
16
+
**Task:** Implement the `build()` method in the `HttpRequestBuilder` class to return a configured `HttpRequest` object. Use the [HttpRequest.newBuilder()](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.html#newBuilder()) method to create a [Builder](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpRequest.Builder.html) instance and build a request with the following properties:
Complete a Java class that processes `HttpResponse` objects and extracts key information into a `Map`.
35
+
Complete a Java class that processes [HttpResponse](https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpResponse.html) objects and extracts key information into a `Map`.
36
36
37
37
**Task:** Implement the `parse()` method in the `HttpResponseParser` class to return a `Map<String, String>` containing:
0 commit comments