public final class LazyHeaders extends Object implements Headers
Ideally headers are constructed once and then re-used for multiple loads, rather then being constructed individually for each load.
This class is thread safe.
Modifier and Type | Class and Description |
---|---|
static class |
LazyHeaders.Builder
Adds an
LazyHeaderFactory that will be used to construct a value for the given
key* lazily on a background thread. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,String> |
getHeaders()
Returns a non-null map containing a set of headers to apply to an http request.
|
int |
hashCode() |
String |
toString() |