|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.http.internal.PayloadEnclosingImpl org.jclouds.http.HttpMessage org.jclouds.http.HttpResponse
public class HttpResponse
Represents a response produced from HttpCommandExecutorService
Nested Class Summary | |
---|---|
static class |
HttpResponse.Builder
|
Field Summary |
---|
Fields inherited from class org.jclouds.http.HttpMessage |
---|
headers |
Fields inherited from class org.jclouds.http.internal.PayloadEnclosingImpl |
---|
payload |
Constructor Summary | |
---|---|
HttpResponse(int statusCode,
String message,
Payload payload)
|
|
HttpResponse(int statusCode,
String message,
Payload payload,
com.google.common.collect.Multimap<String,String> headers)
|
Method Summary | |
---|---|
static HttpResponse.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getMessage()
|
int |
getStatusCode()
|
String |
getStatusLine()
|
int |
hashCode()
|
HttpResponse.Builder |
toBuilder()
|
String |
toString()
|
Methods inherited from class org.jclouds.http.HttpMessage |
---|
getFirstHeaderOrNull, getHeaders |
Methods inherited from class org.jclouds.http.internal.PayloadEnclosingImpl |
---|
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpResponse(int statusCode, String message, @Nullable Payload payload)
public HttpResponse(int statusCode, String message, @Nullable Payload payload, com.google.common.collect.Multimap<String,String> headers)
Method Detail |
---|
public static HttpResponse.Builder builder()
public int getStatusCode()
public String getMessage()
public String toString()
toString
in class HttpMessage
public String getStatusLine()
public HttpResponse.Builder toBuilder()
toBuilder
in class HttpMessage
public int hashCode()
hashCode
in class HttpMessage
public boolean equals(Object obj)
equals
in class HttpMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |