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
-
Method Summary
Modifier and TypeMethodDescriptiongetHeaders
(DestinationRequestContext requestContext) Provides a list ofHeader
objects which should be used with the given destination for a request URI.
-
Constructor Details
-
ErpDestinationHeaderProvider
public ErpDestinationHeaderProvider()
-
-
Method Details
-
getHeaders
Description copied from interface:DestinationHeaderProvider
Provides a list ofHeader
objects which should be used with the given destination for a request URI.- Specified by:
getHeaders
in interfaceDestinationHeaderProvider
- Parameters:
requestContext
- The destination and request specific context.- Returns:
- The headers to use with the given destination.
-