com.bumptech.glide.load.model
Class LazyHeaders
java.lang.Object
com.bumptech.glide.load.model.LazyHeaders
- All Implemented Interfaces:
- Headers
public final class LazyHeaders
- extends Object
- implements Headers
A wrapper class for a set of headers to be included in a Glide request, allowing headers to be
constructed lazily.
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.
Fields inherited from interface com.bumptech.glide.load.model.Headers |
NONE |
getHeaders
public Map<String,String> getHeaders()
- Specified by:
getHeaders
in interface Headers
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object