public interface Headers
Implementations must implement equals() and hashcode().
| Modifier and Type | Field and Description |
|---|---|
static Headers |
DEFAULT
A Headers object containing reasonable defaults that should be used when users don't want
to provide their own headers.
|
static Headers |
NONE
Deprecated.
Use
DEFAULT instead. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getHeaders()
Returns a non-null map containing a set of headers to apply to an http request.
|
@Deprecated static final Headers NONE
DEFAULT instead.static final Headers DEFAULT