# | Line 7 | Line 7 | import java.net.URL; | |
---|---|---|
7 | import java.net.HttpURLConnection; | |
8 | ||
9 | /** | |
10 | < | * A first REAL service check! ;-) |
10 | > | * Tests whether a webserver is responding on port 80. |
11 | * Connects on port 80 and performs a simple HTTP HEAD request. | |
12 | * Currently it sends back 200 for OK, anything else indicates a failure. | |
13 | * |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |