public class Response extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
cause |
protected String |
data |
protected boolean |
failed |
protected io.higgs.http.client.Response |
rawResponse |
| Constructor and Description |
|---|
Response(String data,
io.higgs.http.client.Response rawResponse) |
protected String data
protected io.higgs.http.client.Response rawResponse
protected boolean failed
protected Throwable cause
public Response(String data, io.higgs.http.client.Response rawResponse)
public boolean hasFailed()
public Throwable failureCause()
public int status()
public String statusMessage()
public float protocolVersion()
public boolean isChunked()
public String data()
Copyright © 2015. All Rights Reserved.