public class

CronetResponse

extends Object
java.lang.Object
   ↳ org.chromium.net.apihelpers.CronetResponse<T>

Class Overview

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

Summary

Public Methods
boolean equals(Object o)
T getResponseBody()
Returns the full body of the response, after performing a user-defined deserialization.
UrlResponseInfo getUrlResponseInfo()
Returns the headers and other metadata of the response.
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object o)

Parameters
o Object
Returns
boolean

public T getResponseBody ()

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

Returns
T

public UrlResponseInfo getUrlResponseInfo ()

Returns the headers and other metadata of the response.

Returns
UrlResponseInfo

public int hashCode ()

Returns
int