public interface DestinationHeaderProvider
Modifier and Type | Method and Description |
---|---|
static Iterable<Header> |
getDefaultHeaders(Destination destination)
Creates a list of all default headers to be used in the provided destination.
|
List<Header> |
getHeaders(Destination destination)
Provides a list of
Header objects which should be used with the given destination. |
@Nonnull List<Header> getHeaders(@Nonnull Destination destination)
Header
objects which should be used with the given destination.destination
- The destination to provide additional headers for.@Nonnull static Iterable<Header> getDefaultHeaders(@Nonnull Destination destination)
This is done by getting all registered implementations of the DestinationHeaderProvider
interface, and
subsequently receiving all headers from these providers.
Copyright © 2020 SAP SE. All rights reserved.