Skip to content

Commit eb22feb

Browse files
committed
Printing Server variables
1 parent 9a824c7 commit eb22feb

File tree

1 file changed

+1
-1
lines changed
  • monostate/src/main/java/com/iluwatar/monostate

1 file changed

+1
-1
lines changed

monostate/src/main/java/com/iluwatar/monostate/Server.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public int getPort() {
2626
}
2727

2828
public final void serve(Request request) {
29-
System.out.println("Server ID " + id + " processed request with value " + request.value);
29+
System.out.println("Server ID " + id + " associated to host : " + getHost() + " and Port " + getPort() +" Processed request with value " + request.value);
3030
}
3131
}

0 commit comments

Comments
 (0)