CronetResponse

public class CronetResponse<T>


A helper object encompassing the headers, body and metadata of a response to Cronet URL requests.

Parameters
<T>

the response body type

Summary

Public methods

boolean
@Nullable T

Returns the full body of the response, after performing a user-defined deserialization.

UrlResponseInfo

Returns the headers and other metadata of the response.

int

Public methods

equals

public boolean equals(Object o)

getResponseBody

public @NullablegetResponseBody()

Returns the full body of the response, after performing a user-defined deserialization.

getUrlResponseInfo

public UrlResponseInfo getUrlResponseInfo()

Returns the headers and other metadata of the response.

hashCode

public int hashCode()