Package io.vertx.mutiny.ext.auth.oauth2
Class OAuth2Response
- java.lang.Object
 - 
- io.vertx.mutiny.ext.auth.oauth2.OAuth2Response
 
 
- 
public class OAuth2Response extends Object
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 theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<OAuth2Response>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description OAuth2Response(io.vertx.ext.auth.oauth2.OAuth2Response delegate)OAuth2Response(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Bufferbody()Deprecated.booleanequals(Object o)io.vertx.ext.auth.oauth2.OAuth2ResponsegetDelegate()StringgetHeader(String name)Deprecated.inthashCode()MultiMapheaders()Deprecated.booleanis(String contentType)Deprecated.io.vertx.core.json.JsonArrayjsonArray()Deprecated.io.vertx.core.json.JsonObjectjsonObject()Deprecated.static OAuth2ResponsenewInstance(io.vertx.ext.auth.oauth2.OAuth2Response arg)intstatusCode()Deprecated.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<OAuth2Response> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
OAuth2Response
public OAuth2Response(io.vertx.ext.auth.oauth2.OAuth2Response delegate)
 
- 
OAuth2Response
public OAuth2Response(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.auth.oauth2.OAuth2Response getDelegate()
 
- 
statusCode
@Deprecated public int statusCode()
Deprecated.- Returns:
 - HTTP status code
 
 
- 
headers
@Deprecated public MultiMap headers()
Deprecated.- Returns:
 - the HTTP headers
 
 
- 
getHeader
@Deprecated public String getHeader(String name)
Deprecated.- Parameters:
 name- of the header to look up- Returns:
 - the single value for the header.
 
 
- 
body
@Deprecated public Buffer body()
Deprecated.- Returns:
 - a buffer with the HTTP response body
 
 
- 
jsonObject
@Deprecated public io.vertx.core.json.JsonObject jsonObject()
Deprecated.- Returns:
 - a JsonObject from the HTTP response body
 
 
- 
jsonArray
@Deprecated public io.vertx.core.json.JsonArray jsonArray()
Deprecated.- Returns:
 - a JsonArray from the HTTP response body
 
 
- 
is
@Deprecated public boolean is(String contentType)
Deprecated.- Parameters:
 contentType- a content type to test, e.g.: application/json- Returns:
 - true if the header matches
 
 
- 
newInstance
public static OAuth2Response newInstance(io.vertx.ext.auth.oauth2.OAuth2Response arg)
 
 - 
 
 -