com.sap.aii.af.service.headermapping
Class HeaderMapper
java.lang.Object
com.sap.aii.af.service.headermapping.HeaderMapper
public final class HeaderMapper
- extends Object
Service for message header mapping within adapter framework
|
Method Summary |
static Map |
getMappedHeader(Message message,
Binding binding)
Returns a Map of key-value-pairs where each key is one of the constants
FROM_PARTY, FROM_SERVICE, TO_PARTY, TO_SERVICE
and the value is the one to which the respective header field should be mapped
If the Map is empty no mapping is required. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FROM_PARTY
public static final Short FROM_PARTY
FROM_SERVICE
public static final Short FROM_SERVICE
TO_PARTY
public static final Short TO_PARTY
TO_SERVICE
public static final Short TO_SERVICE
HeaderMapper
public HeaderMapper()
getMappedHeader
public static final Map getMappedHeader(Message message,
Binding binding)
throws HeaderMappingException
- Returns a Map of key-value-pairs where each key is one of the constants
FROM_PARTY, FROM_SERVICE, TO_PARTY, TO_SERVICE
and the value is the one to which the respective header field should be mapped
If the Map is empty no mapping is required.
The mapping values are determined according to the respective header mapping rules
as configured in the corresponding receiver agreement defined in the Integration Directory.
- Parameters:
message - Message the header of which requires the mappingbinding - Binding corresponding to the above receiver agreement
- Returns:
- map Map containing the header fields which require a mapping along with their target value
- Throws:
HeaderMappingException
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2014 SAP AG Complete Copyright Notice