vertx / io.vertx.rxjava.ext.auth.oauth2 / OAuth2Response

# OAuth2Response

`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.

### Constructors

<init> | `OAuth2Response(delegate: OAuth2Response)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<OAuth2Response>`

### Functions

body | `open fun body(): Buffer` The HTTP response body as a buffer
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): OAuth2Response`
getHeader | `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.
hashCode | `open fun hashCode(): Int`
headers | `open fun headers(): MultiMap` The HTTP response headers from the HTTP layer.
is | `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.
jsonArray | `open fun jsonArray(): JsonArray` The HTTP response body as a JsonArray
jsonObject | `open fun jsonObject(): JsonObject` The HTTP response body as a JsonObject
newInstance | `open static fun newInstance(arg: OAuth2Response): OAuth2Response`
statusCode | `open fun statusCode(): Int` the returned status code from the HTTP layer.
toString | `open fun toString(): String`