Class PubSubMessageHeader

  • public class PubSubMessageHeader
    extends java.lang.Object
    A key-value pair that is associated with a message
    • Constructor Summary

      Constructor Description
      PubSubMessageHeader​(java.lang.String key, byte[] value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object otherObj)  
      int hashCode()  
      java.lang.String key()  
      byte[] value()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PubSubMessageHeader

        public PubSubMessageHeader​(java.lang.String key,
                                   byte[] value)
    • Method Detail

      • key

        public java.lang.String key()
      • value

        public byte[] value()
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object otherObj)
        equals in class java.lang.Object