File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/main/java/com/softlayer/api Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 3030 */
3131public class RestApiClient implements ApiClient {
3232
33+ /**
34+ * The publically available API URL.
35+ */
3336 public static final String BASE_URL = "https://api.softlayer.com/rest/v3.1/" ;
37+
38+ /**
39+ * The API URL that should be used when connecting via the softlayer/classic infrastructure private network.
40+ */
41+ public static final String BASE_SERVICE_URL = "https://api.service.softlayer.com/rest/v3.1/" ;
3442
3543 static final String BASE_PKG = Entity .class .getPackage ().getName ();
3644
@@ -58,6 +66,9 @@ public class RestApiClient implements ApiClient {
5866 private boolean loggingEnabled = false ;
5967 private HttpBasicAuthCredentials credentials ;
6068
69+ /**
70+ * Create a Rest client that uses the publically available API.
71+ */
6172 public RestApiClient () {
6273 this (BASE_URL );
6374 }
You can’t perform that action at this time.
0 commit comments