public class HttpResponse extends HttpMessage
HttpCommandExecutorService
Modifier and Type | Class and Description |
---|---|
static class |
HttpResponse.Builder<T extends HttpResponse.Builder<T>> |
headers
payload
Modifier | Constructor and Description |
---|---|
protected |
HttpResponse(int statusCode,
String message,
com.google.common.collect.Multimap<String,String> headers,
Payload payload) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse.Builder<?> |
builder() |
boolean |
equals(Object obj) |
String |
getMessage() |
int |
getStatusCode() |
String |
getStatusLine() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
HttpResponse.Builder<?> |
toBuilder() |
getFirstHeaderOrNull, getHeaders, toString
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload, setPayload
public static HttpResponse.Builder<?> builder()
public HttpResponse.Builder<?> toBuilder()
toBuilder
in class HttpMessage
public int getStatusCode()
public String getStatusLine()
public int hashCode()
hashCode
in class HttpMessage
public boolean equals(Object obj)
equals
in class HttpMessage
protected com.google.common.base.Objects.ToStringHelper string()
string
in class HttpMessage
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.