public class OAuth2API extends Object
| Constructor and Description |
|---|
OAuth2API() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fetch(Vertx vertx,
OAuth2ClientOptions config,
HttpMethod method,
String path,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback) |
static HttpClientRequest |
makeRequest(Vertx vertx,
HttpClientOptions options,
HttpMethod method,
String uri,
Handler<AsyncResult<OAuth2Response>> callback) |
static void |
processNonStandardHeaders(JsonObject json,
OAuth2Response reply,
String sep) |
static JsonObject |
queryToJSON(String query) |
static String |
stringify(JsonObject json) |
public static void fetch(Vertx vertx, OAuth2ClientOptions config, HttpMethod method, String path, JsonObject headers, Buffer payload, Handler<AsyncResult<OAuth2Response>> callback)
public static HttpClientRequest makeRequest(Vertx vertx, HttpClientOptions options, HttpMethod method, String uri, Handler<AsyncResult<OAuth2Response>> callback)
public static String stringify(JsonObject json)
public static JsonObject queryToJSON(String query) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static void processNonStandardHeaders(JsonObject json, OAuth2Response reply, String sep)
Copyright © 2020. All rights reserved.