Class JWT


  • public class JWT
    extends java.lang.Object
    This class contains constants used in the JWT implementation.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JWT.Builder
      A simple JWT builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClaimsSet getClaimsSet()
      Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.
      Header getHeader()
      Get the JWT Header as defined in the 6.1 section of the JWT specification.
      java.lang.String getRawString()
      Get the JWT raw string.
      java.lang.String getSignature()
      Get the JWT Signature.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getHeader

        public Header getHeader()
        Get the JWT Header as defined in the 6.1 section of the JWT specification.
        Returns:
        the JWT Header.
      • getClaimsSet

        public ClaimsSet getClaimsSet()
        Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.
        Returns:
        the JWT Claims Set
      • getSignature

        public java.lang.String getSignature()
        Get the JWT Signature.
        Returns:
        the JWT Signature.
      • getRawString

        public java.lang.String getRawString()
        Get the JWT raw string.
        Returns:
        the JWT raw string
      • toString

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