Class SpecialHeader

java.lang.Object
com.siperf.amistream.protocol.headers.common.Header
com.siperf.amistream.protocol.headers.special.SpecialHeader
Direct Known Subclasses:
SpecialWelcomeHeader

public class SpecialHeader extends Header
  • Field Details

  • Constructor Details

    • SpecialHeader

      public SpecialHeader(String value)
  • Method Details

    • getValue

      public String getValue()
    • getValueAsString

      public String getValueAsString()
    • toTextPresentation

      public String toTextPresentation()
      Description copied from class: Header
      Converts the header to its text representation.

      This method must be implemented by subclasses to define the specific text representation of the header.

      Specified by:
      toTextPresentation in class Header
      Returns:
      the text representation of the header.