public class Response
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Response.Builder |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody() |
byte[] |
getBody(Limit sizeLimit) |
java.lang.String |
getBodyAsString() |
java.io.InputStream |
getBodyStream() |
ChunkedDribbleDelay |
getChunkedDribbleDelay() |
Fault |
getFault() |
HttpHeaders |
getHeaders() |
long |
getInitialDelay() |
int |
getStatus() |
java.lang.String |
getStatusMessage() |
boolean |
hasInlineBody() |
boolean |
isFromProxy() |
static Response |
notConfigured() |
static Response.Builder |
response() |
boolean |
shouldAddChunkedDribbleDelay() |
java.lang.String |
toString() |
boolean |
wasConfigured() |
public static Response notConfigured()
public static Response.Builder response()
public int getStatus()
public java.lang.String getStatusMessage()
public byte[] getBody()
public byte[] getBody(Limit sizeLimit)
public java.lang.String getBodyAsString()
public java.io.InputStream getBodyStream()
public boolean hasInlineBody()
public HttpHeaders getHeaders()
public Fault getFault()
public long getInitialDelay()
public ChunkedDribbleDelay getChunkedDribbleDelay()
public boolean shouldAddChunkedDribbleDelay()
public boolean wasConfigured()
public boolean isFromProxy()
public java.lang.String toString()
toString in class java.lang.Object