|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object retrofit.client.Response
public final class Response
An HTTP response.
Constructor Summary | |
---|---|
Response(int status,
String reason,
List<Header> headers,
TypedInput body)
|
Method Summary | |
---|---|
TypedInput |
getBody()
Response body. |
List<Header> |
getHeaders()
An unmodifiable collection of headers. |
String |
getReason()
Status line reason phrase. |
int |
getStatus()
Status line code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Response(int status, String reason, List<Header> headers, TypedInput body)
Method Detail |
---|
public int getStatus()
public String getReason()
public List<Header> getHeaders()
public TypedInput getBody()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |