public class Response<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Response.Head |
| Modifier and Type | Field and Description |
|---|---|
protected T |
body |
protected Response.Head |
head |
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
T |
getBody() |
Response.Head |
getHead() |
String |
json() |
void |
setBody(T t) |
void |
setHead(Response.Head head) |
String |
toString() |
protected Response.Head head
protected T body
public Response.Head getHead()
public void setHead(Response.Head head)
public T get()
public void setBody(T t)
public T getBody()
public String json()
Copyright © 2015. All rights reserved.