|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.oauth.http.HttpMessage
net.oauth.http.HttpResponseMessage
public abstract class HttpResponseMessage
An HTTP response.
| Field Summary | |
|---|---|
static java.lang.String |
EOL
The standard end-of-line marker in an HTTP message. |
static java.lang.String |
LOCATION
The name of a dump entry whose value is the response Location header. |
static java.lang.String |
STATUS_CODE
The name of a dump entry whose value is the HTTP status code. |
static int |
STATUS_OK
The statusCode that indicates a normal outcome. |
| Fields inherited from class net.oauth.http.HttpMessage |
|---|
ACCEPT_ENCODING, body, CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CHARSET, headers, method, REQUEST, RESPONSE, url |
| Constructor Summary | |
|---|---|
protected |
HttpResponseMessage(java.lang.String method,
java.net.URL url)
|
| Method Summary | |
|---|---|
void |
dump(java.util.Map<java.lang.String,java.lang.Object> into)
Put a description of this message and its origins into the given Map. |
abstract int |
getStatusCode()
|
| Methods inherited from class net.oauth.http.HttpMessage |
|---|
getBody, getContentCharset, getHeader, newRequest, openBody, removeHeaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LOCATION
public static final java.lang.String STATUS_CODE
public static final int STATUS_OK
public static final java.lang.String EOL
| Constructor Detail |
|---|
protected HttpResponseMessage(java.lang.String method,
java.net.URL url)
| Method Detail |
|---|
public void dump(java.util.Map<java.lang.String,java.lang.Object> into)
throws java.io.IOException
HttpMessage
dump in class HttpMessagejava.io.IOException
public abstract int getStatusCode()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||