Class Header


public final class Header extends CustomizableEntity
Represents the Header as defined in the 6.1 section of the JWT specification.
  • Method Details

    • getType

      public String getType()
      Returns the typ JWT Header parameter.
      Returns:
      the typ JWT Header parameter.
    • getAlgorithm

      public String getAlgorithm()
      Returns the alg JWT Header parameter.
      Returns:
      the alg JWT Header parameter.
    • getContentType

      public String getContentType()
      Returns the cty JWT Header parameter.
      Returns:
      the cty JWT Header parameter.
    • toString

      public String toString()
      Overrides:
      toString in class CustomizableEntity