public class ApiHttpHeaders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiHttpHeaders.HeaderEntry<K,V> |
static class |
ApiHttpHeaders.StringHeaderEntry |
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCEPT_ENCODING |
static String |
AUTHORIZATION |
static String |
CONTENT_ENCODING |
static String |
CONTENT_LENGTH |
static String |
CONTENT_TYPE |
static String |
USER_AGENT |
static String |
X_CORRELATION_ID |
static String |
X_DEPRECATION_NOTICE |
| Constructor and Description |
|---|
ApiHttpHeaders() |
ApiHttpHeaders(ApiHttpHeaders.StringHeaderEntry... headers) |
ApiHttpHeaders(ApiHttpHeaders t) |
ApiHttpHeaders(List<Map.Entry<String,String>> headers) |
| Modifier and Type | Method and Description |
|---|---|
ApiHttpHeaders |
addHeader(String key,
String value) |
boolean |
equals(Object o) |
String |
getFirst(String key) |
List<Map.Entry<String,String>> |
getHeaders() |
List<Map.Entry<String,String>> |
getHeaders(String key) |
List<String> |
getHeaderValue(String key) |
int |
hashCode() |
static ApiHttpHeaders.StringHeaderEntry |
headerEntry(String key) |
static ApiHttpHeaders.StringHeaderEntry |
headerEntry(String key,
String value) |
int |
reflectionHashCode() |
String |
toString() |
ApiHttpHeaders |
withHeader(String key,
String value) |
ApiHttpHeaders |
withHeaders(ApiHttpHeaders.StringHeaderEntry... headers) |
ApiHttpHeaders |
withHeaders(List<Map.Entry<String,String>> headers) |
ApiHttpHeaders |
withoutHeader(String key) |
public static final String ACCEPT_ENCODING
public static final String AUTHORIZATION
public static final String USER_AGENT
public static final String CONTENT_ENCODING
public static final String CONTENT_TYPE
public static final String CONTENT_LENGTH
public static final String X_CORRELATION_ID
public static final String X_DEPRECATION_NOTICE
public ApiHttpHeaders()
public ApiHttpHeaders(ApiHttpHeaders.StringHeaderEntry... headers)
public ApiHttpHeaders(ApiHttpHeaders t)
public static ApiHttpHeaders.StringHeaderEntry headerEntry(String key)
public static ApiHttpHeaders.StringHeaderEntry headerEntry(String key, String value)
public ApiHttpHeaders addHeader(String key, String value)
public ApiHttpHeaders withHeader(String key, String value)
public final ApiHttpHeaders withHeaders(ApiHttpHeaders.StringHeaderEntry... headers)
public ApiHttpHeaders withHeaders(List<Map.Entry<String,String>> headers)
public ApiHttpHeaders withoutHeader(String key)
public String toString()
public boolean equals(Object o)
public int hashCode()
public int reflectionHashCode()