public final class OAuthUtils extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
OAuthUtils() |
| Modifier and Type | Method and Description |
|---|---|
static javax.json.JsonObject |
getWithHeader(java.net.URL url)
Returns a JsonObject containing the result of making a GET request with the
authorization header.
|
private OAuthUtils()
public static javax.json.JsonObject getWithHeader(java.net.URL url) throws java.io.IOException
url - The URL where the request must be made.java.io.IOException - Errors relating to the connection.