Package com.bumptech.glide.load.model
Interface Headers
- All Known Implementing Classes:
LazyHeaders
public interface Headers
An interface for a wrapper for a set of headers to be included in a Glide request.
Implementations must implement equals() and hashcode().
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a non-null map containing a set of headers to apply to an http request.
-
Field Details
-
NONE
Deprecated.UseDEFAULTinstead.An empty Headers object that can be used if users don't want to provide headers. -
DEFAULT
A Headers object containing reasonable defaults that should be used when users don't want to provide their own headers.
-
-
Method Details
-
getHeaders
Returns a non-null map containing a set of headers to apply to an http request.
-
DEFAULTinstead.