mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-09-10 04:19:54 +00:00
docs: update client-side ui composition
This commit is contained in:
+1
@@ -45,6 +45,7 @@ public class ImageClientImpl implements ImageClient {
|
||||
*/
|
||||
@Override
|
||||
public String getImagePath() {
|
||||
|
||||
var httpClient = HttpClient.newHttpClient();
|
||||
var httpGet =
|
||||
HttpRequest.newBuilder().GET().uri(URI.create("http://localhost:50005/image-path")).build();
|
||||
|
||||
Reference in New Issue
Block a user