public interface LazyHeaderFactory
Implementations should implement equals() and hashcode() .
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildHeader()
Returns an http header, or
null if no header could be built. |
@Nullable java.lang.String buildHeader()
null
if no header could be built.
Returning null
or an empty String from this method will result in this particular
key/value being excluded from the headers provided in the request. If there are multiple
factories or values for a particular key, any non-null values will still be included for that
key.