Class Jwt

    • Method Detail

      • newInstance

        public static Jwt newInstance​(String tokenStringRepresentation,
                                      CharSequence connectionCorrelationId)
        Returns a new instance of Jwt.
        Parameters:
        tokenStringRepresentation - the string representation of the token.
        connectionCorrelationId - the correlation ID of the connection that received the token.
        Returns:
        the instance.
        Throws:
        NullPointerException - if any argument is null.
      • getConnectionCorrelationId

        public String getConnectionCorrelationId()
        Returns the correlation ID of the connection that received the token.
        Returns:
        the correlation ID.
      • equals

        public boolean equals​(@Nullable
                              Object o)
        Overrides:
        equals in class Object
      • hashCode

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

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        this token as string.