public class ConnectionInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
connectionLength
The size of the connection in bytes
|
long |
connectionTime
The time in milliseconds when the connection was made
|
String |
connectionUrl
The URL of the request that was made
|
okhttp3.Headers |
requestHeaders
The request headers that were sent
|
RequestMode |
requestMethod
The request method
|
int |
responseCode
The response code from the server
|
okhttp3.Headers |
responseHeaders
The headers that were received from the server
|
long |
responseLength
The size of the response in bytes
|
long |
responseTime
The time the server responded in milliseconds
|
| Constructor and Description |
|---|
ConnectionInfo() |
public String connectionUrl
public RequestMode requestMethod
public long connectionTime
public long connectionLength
public long responseLength
public int responseCode
public long responseTime
public okhttp3.Headers requestHeaders
public okhttp3.Headers responseHeaders