public class

GoogleAuthApiResponse

extends Object
implements SafeParcelable
java.lang.Object
   ↳ com.google.android.gms.auth.api.GoogleAuthApiResponse

Class Overview

A response obtained by Apiary.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
Fields
public static final GoogleAuthApiResponseCreator CREATOR
Public Constructors
GoogleAuthApiResponse(int responseCode, Map<String, String> headers, byte[] body)
GoogleAuthApiResponse(int responseCode, Bundle headers, byte[] body)
GoogleAuthApiResponse(int versionCode, int responseCode, Bundle headers, byte[] body)
Public Methods
int describeContents()
byte[] getBody()
Gets the body of the http response as a byte array.
Bundle getHeaders()
Map<String, String> getHeadersAsMap()
int getResponseCode()
void writeToParcel(Parcel parcel, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final GoogleAuthApiResponseCreator CREATOR

Public Constructors

public GoogleAuthApiResponse (int responseCode, Map<String, String> headers, byte[] body)

public GoogleAuthApiResponse (int responseCode, Bundle headers, byte[] body)

public GoogleAuthApiResponse (int versionCode, int responseCode, Bundle headers, byte[] body)

Public Methods

public int describeContents ()

public byte[] getBody ()

Gets the body of the http response as a byte array.

Returns
  • Response body as byte array.

public Bundle getHeaders ()

public Map<String, String> getHeadersAsMap ()

public int getResponseCode ()

public void writeToParcel (Parcel parcel, int flags)