Record Class Seal.MessageHeader

java.lang.Object
java.lang.Record
com.jsql.view.subscriber.Seal.MessageHeader
All Implemented Interfaces:
Seal
Enclosing interface:
Seal

public static record Seal.MessageHeader(String url, String post, Map<String,String> header, Map<String,String> response, String source, String size, String metadataStrategy, String metadataProcess, AbstractCallableBit<?> metadataBoolean) extends Record implements Seal
  • Constructor Details

    • MessageHeader

      public MessageHeader(String url, String post, Map<String,String> header, Map<String,String> response, String source, String size, String metadataStrategy, String metadataProcess, AbstractCallableBit<?> metadataBoolean)
      Creates an instance of a MessageHeader record class.
      Parameters:
      url - the value for the url record component
      post - the value for the post record component
      header - the value for the header record component
      response - the value for the response record component
      source - the value for the source record component
      size - the value for the size record component
      metadataStrategy - the value for the metadataStrategy record component
      metadataProcess - the value for the metadataProcess record component
      metadataBoolean - the value for the metadataBoolean record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • url

      public String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • post

      public String post()
      Returns the value of the post record component.
      Returns:
      the value of the post record component
    • header

      public Map<String,String> header()
      Returns the value of the header record component.
      Returns:
      the value of the header record component
    • response

      public Map<String,String> response()
      Returns the value of the response record component.
      Returns:
      the value of the response record component
    • source

      public String source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • size

      public String size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • metadataStrategy

      public String metadataStrategy()
      Returns the value of the metadataStrategy record component.
      Returns:
      the value of the metadataStrategy record component
    • metadataProcess

      public String metadataProcess()
      Returns the value of the metadataProcess record component.
      Returns:
      the value of the metadataProcess record component
    • metadataBoolean

      public AbstractCallableBit<?> metadataBoolean()
      Returns the value of the metadataBoolean record component.
      Returns:
      the value of the metadataBoolean record component