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.
限定符和类型 | 类和说明 |
---|---|
static class |
LazyHeaders.Builder
Adds an
LazyHeaderFactory that will be used to construct a value for the given
key* lazily on a background thread. |