Compare commits
1 Commits
app-deploy
...
manage-bui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfaaf80549 |
@@ -19,7 +19,7 @@ public class ServerHostEndPoint {
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
String msg = "I am running on server "+host+" Version 1.0 \n";
|
||||
String msg = "I am running on server "+host+" Version 2.0 \n";
|
||||
return Response.ok(msg).build();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class Quip {
|
||||
@Produces("text/plain")
|
||||
public Response index() throws Exception {
|
||||
String host = InetAddress.getLocalHost().getHostName();
|
||||
return Response.ok("I came, I saw, I conquered...\n").build();
|
||||
return Response.ok("Veni, vidi, vici...\n").build();
|
||||
}
|
||||
|
||||
@GET
|
||||
|
||||
Reference in New Issue
Block a user