public abstract class AbstractHeaderMapper<T> extends Object implements HeaderMapper<T>
HeaderMapper implementation| Constructor and Description | 
|---|
| AbstractHeaderMapper() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | fromHeaderName(String headerName)Generate the name to use to set the header defined by the specified
  headerNameto the protocol specific message. | 
| protected <V> V | getHeaderIfAvailable(Map<String,Object> headers,
                    String name,
                    Class<V> type)Return the header value, or  nullif it does not exist
 or does not match the requestedtype. | 
| void | setInboundPrefix(String inboundPrefix)Specify a prefix to be appended to the message header name for any
 user-defined property that is being mapped into the MessageHeaders. | 
| void | setOutboundPrefix(String outboundPrefix)Specify a prefix to be appended to the protocol property name for any
 user-defined message header that is being mapped into the protocol-specific
 Message. | 
| protected String | toHeaderName(String propertyName)Generate the name to use to set the header defined by the specified
  propertyNameto theMessageHeadersinstance. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromHeaders, toHeadersprotected final Log logger
public void setInboundPrefix(String inboundPrefix)
public void setOutboundPrefix(String outboundPrefix)
protected String fromHeaderName(String headerName)
headerName to the protocol specific message.setOutboundPrefix(java.lang.String)protected String toHeaderName(String propertyName)
propertyName to the MessageHeaders instance.setInboundPrefix(String)