public abstract class Response
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_BAD_REQUEST
Bad request is error code 400 in the HTTP protocol.
|
static int |
HTTP_OK
Response code sent by HTTP server to indicate success.
|
static int |
HTTP_TOO_MANY_REQUESTS
Too many requests sent by client (rate limiting) error code.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
int |
getResponseCode() |
long |
getRetryAfterInMilliseconds() |
boolean |
isErroneousResponse() |
public static final int HTTP_OK
public static final int HTTP_BAD_REQUEST
public static final int HTTP_TOO_MANY_REQUESTS