public class HttpMessage extends PayloadEnclosingImpl
HttpCommandExecutorService
Modifier and Type | Class and Description |
---|---|
static class |
HttpMessage.Builder<T extends HttpMessage.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,String> |
headers |
payload
Modifier | Constructor and Description |
---|---|
protected |
HttpMessage(com.google.common.collect.Multimap<String,String> headers,
Payload payload) |
Modifier and Type | Method and Description |
---|---|
static HttpMessage.Builder<?> |
builder() |
boolean |
equals(Object obj) |
String |
getFirstHeaderOrNull(String string)
try to get the value, then try as lowercase.
|
com.google.common.collect.Multimap<String,String> |
getHeaders() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
HttpMessage.Builder<?> |
toBuilder() |
String |
toString() |
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
public static HttpMessage.Builder<?> builder()
public HttpMessage.Builder<?> toBuilder()
public String getFirstHeaderOrNull(String string)
public int hashCode()
hashCode
in class PayloadEnclosingImpl
public boolean equals(Object obj)
equals
in class PayloadEnclosingImpl
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.