CronetResponse

public class CronetResponse extends Object

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

Public Method Summary

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

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public boolean equals (Object o)

Parameters
o

public T getResponseBody ()

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

public UrlResponseInfo getUrlResponseInfo ()

Returns the headers and other metadata of the response.

public int hashCode ()