Class ErpDestinationHeaderProvider
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.ErpDestinationHeaderProvider
- All Implemented Interfaces:
DestinationHeaderProvider
Adds the headers "sap-client" and "sap-language", if the respective properties are present on a destination.
- Since:
- 4.16.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHeaders(DestinationRequestContext requestContext) Provides a list ofHeaderobjects which should be used with the given destination for a request URI.
-
Constructor Details
-
ErpDestinationHeaderProvider
public ErpDestinationHeaderProvider()
-
-
Method Details
-
getHeaders
Description copied from interface:DestinationHeaderProviderProvides a list ofHeaderobjects which should be used with the given destination for a request URI.- Specified by:
getHeadersin interfaceDestinationHeaderProvider- Parameters:
requestContext- The destination and request specific context.- Returns:
- The headers to use with the given destination.
-