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 java.util.Map<java.lang.String,java.lang.Object> |
extractStandardHeaders(org.jivesoftware.smack.packet.Message source) |
protected java.util.Map<java.lang.String,java.lang.Object> |
extractUserDefinedHeaders(org.jivesoftware.smack.packet.Message source) |
protected java.lang.String |
getStandardHeaderPrefix()
Returns the list of standard REPLY headers.
|
protected java.util.List<java.lang.String> |
getStandardReplyHeaderNames()
Returns the list of standard REQUEST headers.
|
protected java.util.List<java.lang.String> |
getStandardRequestHeaderNames()
Returns the PREFIX used by standard headers (if any)
|
protected void |
populateStandardHeaders(java.util.Map<java.lang.String,java.lang.Object> headers,
org.jivesoftware.smack.packet.Message target) |
protected void |
populateUserDefinedHeader(java.lang.String headerName,
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> extractStandardHeaders(org.jivesoftware.smack.packet.Message source)
extractStandardHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected java.util.Map<java.lang.String,java.lang.Object> extractUserDefinedHeaders(org.jivesoftware.smack.packet.Message source)
extractUserDefinedHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected void populateStandardHeaders(java.util.Map<java.lang.String,java.lang.Object> headers, org.jivesoftware.smack.packet.Message target)
populateStandardHeaders
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected void populateUserDefinedHeader(java.lang.String headerName, java.lang.Object headerValue, org.jivesoftware.smack.packet.Message target)
populateUserDefinedHeader
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected java.util.List<java.lang.String> getStandardReplyHeaderNames()
AbstractHeaderMapper
getStandardReplyHeaderNames
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected java.util.List<java.lang.String> getStandardRequestHeaderNames()
AbstractHeaderMapper
getStandardRequestHeaderNames
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>
protected java.lang.String getStandardHeaderPrefix()
AbstractHeaderMapper
getStandardHeaderPrefix
in class AbstractHeaderMapper<org.jivesoftware.smack.packet.Message>