public final class Response extends Object
Constructor and Description |
---|
Response(int status,
String reason,
List<Header> headers,
TypedInput body) |
Modifier and Type | Method and Description |
---|---|
TypedInput |
getBody()
Response body.
|
List<Header> |
getHeaders()
An unmodifiable collection of headers.
|
String |
getReason()
Status line reason phrase.
|
int |
getStatus()
Status line code.
|
public Response(int status, String reason, List<Header> headers, TypedInput body)
public int getStatus()
public String getReason()
public TypedInput getBody()
null
.Copyright © 2013 Square, Inc.. All Rights Reserved.