Class MqContentType

java.lang.Object
com.mayam.wf.mq.MqContentType

public final class MqContentType extends Object
Message content type.
Author:
Markus MÃ¥rtensson
See Also:
  • Method Details

    • type

      public String type()
      Returns:
      a type for use as message header.
    • of

      public static MqContentType of(@NotNull @NotNull String type)
      MqContentType factory.
      Parameters:
      type - content type string representation.
      Returns:
      matching MqContentType object.
    • equals

      public boolean equals(Object peer)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object