public class HttpResponse extends HttpMessage
HttpCommandExecutorService
Modifier and Type | Class and Description |
---|---|
static class |
HttpResponse.Builder |
headers
payload
Constructor and Description |
---|
HttpResponse(int statusCode,
String message,
Payload payload) |
HttpResponse(int statusCode,
String message,
Payload payload,
com.google.common.collect.Multimap<String,String> headers) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse.Builder |
builder() |
boolean |
equals(Object obj) |
String |
getMessage() |
int |
getStatusCode() |
String |
getStatusLine() |
int |
hashCode() |
HttpResponse.Builder |
toBuilder() |
String |
toString() |
getFirstHeaderOrNull, getHeaders
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
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
Copyright © 2009-2012 jclouds. All Rights Reserved.