public static interface HttpConfiguration.HeadersProvider
Thread-safety: The implementation must be thread-safe. The callback method will be invoked simultaneously on different threads if there are simultaneous vAPI invocations with this configuration.
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<HttpConfiguration.Header> |
getHeaders()
Retrieves the headers to be added to an HTTP request.
|
java.lang.Iterable<HttpConfiguration.Header> getHeaders()
null
, but the headers cannot contain
null
elements.