Class EventStreamMessage


  • public class EventStreamMessage
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EventStreamMessage​(java.util.Optional<java.lang.String> event, java.util.Optional<java.lang.String> id, java.util.Optional<java.lang.Integer> retryMs, java.lang.String data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String data()  
      java.util.Optional<java.lang.String> event()  
      java.util.Optional<java.lang.String> id()  
      boolean isEmpty()  
      java.util.Optional<java.lang.Integer> retryMs()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EventStreamMessage

        public EventStreamMessage​(java.util.Optional<java.lang.String> event,
                                  java.util.Optional<java.lang.String> id,
                                  java.util.Optional<java.lang.Integer> retryMs,
                                  java.lang.String data)
    • Method Detail

      • event

        public java.util.Optional<java.lang.String> event()
      • id

        public java.util.Optional<java.lang.String> id()
      • retryMs

        public java.util.Optional<java.lang.Integer> retryMs()
      • data

        public java.lang.String data()
      • isEmpty

        public boolean isEmpty()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object