Class AbstractHeaderMapper<T>
java.lang.Object
org.springframework.messaging.support.AbstractHeaderMapper<T>
- Type Parameters:
- T- type of the instance to and from which headers will be mapped
- All Implemented Interfaces:
- HeaderMapper<T>
- Direct Known Subclasses:
- SimpleJmsHeaderMapper
A base 
HeaderMapper implementation.- Since:
- 4.1
- Author:
- Stephane Nicoll
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringfromHeaderName(String headerName) Generate the name to use to set the header defined by the specifiedheaderNameto the protocol specific message.protected <V> @Nullable VReturn the header value, ornullif it does not exist or does not match the requestedtype.voidsetInboundPrefix(@Nullable 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.voidsetOutboundPrefix(@Nullable 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 StringtoHeaderName(String propertyName) Generate the name to use to set the header defined by the specifiedpropertyNameto theMessageHeadersinstance.Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HeaderMapperfromHeaders, toHeaders
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log logger
 
- 
- 
Constructor Details- 
AbstractHeaderMapperpublic AbstractHeaderMapper()
 
- 
- 
Method Details- 
setInboundPrefix
- 
setOutboundPrefix
- 
fromHeaderName
- 
toHeaderNameGenerate the name to use to set the header defined by the specifiedpropertyNameto theMessageHeadersinstance.- See Also:
 
- 
getHeaderIfAvailable
 
-