open class OAuth2Response
A response from a fetch request. This class represents a secure response from a Oauth2 fetch call. A fetch is a simplified HTTP response from a protected resource. NOTE: This class has been automatically generated from the io.vertx.ext.auth.oauth2.OAuth2Response non RX-ified interface using Vert.x codegen.
OAuth2Response(delegate: OAuth2Response) |
static val __TYPE_ARG: TypeArg<OAuth2Response> |
open fun body(): Buffer
The HTTP response body as a buffer |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): OAuth2Response |
|
open fun getHeader(name: String): String
Looks up a HTTP response header by name, in case where the response is a list of headers, the first one is returned. |
|
open fun hashCode(): Int |
|
open fun headers(): MultiMap
The HTTP response headers from the HTTP layer. |
|
open fun is(contentType: String): Boolean
Helper to analize the response body. The test is performed against the header Content-Type, the content of the body is not analyzed. |
|
open fun jsonArray(): JsonArray
The HTTP response body as a JsonArray |
|
open fun jsonObject(): JsonObject
The HTTP response body as a JsonObject |
|
open static fun newInstance(arg: OAuth2Response): OAuth2Response |
|
open fun statusCode(): Int
the returned status code from the HTTP layer. |
|
open fun toString(): String |