public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentContext() |
static String |
getCurrentContext(String token) |
static String |
getJson(String url) |
static void |
setContext(String token) |
public static String getJson(String url) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic static String getCurrentContext() throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
org.gcube.common.authorization.client.exceptions.ObjectNotFoundExceptionpublic static String getCurrentContext(String token) throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
org.gcube.common.authorization.client.exceptions.ObjectNotFoundExceptionCopyright © 2019. All Rights Reserved.