@Deprecated public interface OAuth2Response
Modifier and Type | Method and Description |
---|---|
io.vertx.core.buffer.Buffer |
body()
Deprecated.
The HTTP response body as a buffer
|
String |
getHeader(String name)
Deprecated.
Looks up a HTTP response header by name, in case where the response is a list of headers,
the first one is returned.
|
io.vertx.core.MultiMap |
headers()
Deprecated.
The HTTP response headers from the HTTP layer.
|
boolean |
is(String contentType)
Deprecated.
Helper to analize the response body.
|
io.vertx.core.json.JsonArray |
jsonArray()
Deprecated.
The HTTP response body as a JsonArray
|
io.vertx.core.json.JsonObject |
jsonObject()
Deprecated.
The HTTP response body as a JsonObject
|
int |
statusCode()
Deprecated.
the returned status code from the HTTP layer.
|
int statusCode()
io.vertx.core.MultiMap headers()
String getHeader(String name)
name
- of the header to look upio.vertx.core.buffer.Buffer body()
io.vertx.core.json.JsonObject jsonObject()
io.vertx.core.json.JsonArray jsonArray()
boolean is(String contentType)
contentType
- a content type to test, e.g.: application/jsonCopyright © 2020 Eclipse. All rights reserved.