public class ErpDestinationHeaderProvider extends Object implements DestinationHeaderProvider
DestinationHeaderProvider
to add SAP S/4HANA-specific headers to implicit requests via
destination. By default "sap-client" and "sap-language" are added to the the list of request headers.Constructor and Description |
---|
ErpDestinationHeaderProvider() |
Modifier and Type | Method and Description |
---|---|
List<Header> |
getHeaders(Destination destination)
Provides a list of
Header objects which should be used with the given destination. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultHeaders
@Nonnull public List<Header> getHeaders(@Nonnull Destination destination)
Header
objects which should be used with the given destination.getHeaders
in interface DestinationHeaderProvider
destination
- The destination to provide additional headers for.Copyright © 2020 SAP SE. All rights reserved.