Created
October 17, 2017 18:55
-
-
Save thombergs/c6fab0cd7d56f33be91b4f82f7923c9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ConnectionChecker { | |
private String uri; | |
public ConnectionChecker(String uri){ | |
this.uri = uri; | |
} | |
public boolean connect() { | |
... // try to connect to the uri | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment