public final class OAuthUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
OAuthUtils() |
Modifier and Type | Method and Description |
---|---|
static javax.json.JsonObject |
getWithHeader(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(URL url) throws IOException
url
- The URL
where the request must be made.IOException
- Errors relating to the connection.