public class DefaultXmppHeaderMapper extends AbstractHeaderMapper<org.jivesoftware.smack.packet.Message> implements XmppHeaderMapper
XmppHeaderMapper
.logger, STANDARD_REPLY_HEADER_NAME_PATTERN, STANDARD_REQUEST_HEADER_NAME_PATTERN
Constructor and Description |
---|
DefaultXmppHeaderMapper() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
extractStandardHeaders(org.jivesoftware.smack.packet.Message source) |
protected Map<String,Object> |
extractUserDefinedHeaders(org.jivesoftware.smack.packet.Message source) |
protected String |
getStandardHeaderPrefix() |
protected List<String> |
getStandardReplyHeaderNames() |
protected List<String> |
getStandardRequestHeaderNames() |
protected void |
populateStandardHeaders(Map<String,Object> headers,
org.jivesoftware.smack.packet.Message target) |
protected void |
populateUserDefinedHeader(String headerName,
Object headerValue,
org.jivesoftware.smack.packet.Message target) |
fromHeadersToReply, fromHeadersToRequest, getHeaderIfAvailable, setReplyHeaderNames, setRequestHeaderNames, setUserDefinedHeaderPrefix, toHeadersFromReply, toHeadersFromRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromHeadersToReply, fromHeadersToRequest, toHeadersFromReply, toHeadersFromRequest
protected Map<String,Object> extractStandardHeaders(org.jivesoftware.smack.packet.Message source)
extractStandardHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected Map<String,Object> extractUserDefinedHeaders(org.jivesoftware.smack.packet.Message source)
extractUserDefinedHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected void populateStandardHeaders(Map<String,Object> headers, org.jivesoftware.smack.packet.Message target)
populateStandardHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected void populateUserDefinedHeader(String headerName, Object headerValue, org.jivesoftware.smack.packet.Message target)
populateUserDefinedHeader
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected List<String> getStandardReplyHeaderNames()
getStandardReplyHeaderNames
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected List<String> getStandardRequestHeaderNames()
getStandardRequestHeaderNames
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected String getStandardHeaderPrefix()
getStandardHeaderPrefix
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>