@Deprecated public interface OAuth2Response
Modifier and Type | Method and Description |
---|---|
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.
|
MultiMap |
headers()
Deprecated.
The HTTP response headers from the HTTP layer.
|
boolean |
is(String contentType)
Deprecated.
Helper to analize the response body.
|
JsonArray |
jsonArray()
Deprecated.
The HTTP response body as a JsonArray
|
JsonObject |
jsonObject()
Deprecated.
The HTTP response body as a JsonObject
|
int |
statusCode()
Deprecated.
the returned status code from the HTTP layer.
|
int statusCode()
MultiMap headers()
String getHeader(String name)
name
- of the header to look upBuffer body()
JsonObject jsonObject()
JsonArray jsonArray()
boolean is(String contentType)
contentType
- a content type to test, e.g.: application/jsonCopyright © 2021 Eclipse. All rights reserved.