Class JsonWebResponse

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Jwe, Jwt

    public class JsonWebResponse
    extends java.lang.Object
    implements java.io.Serializable
    JSON Web Token is a compact token format intended for space constrained environments such as HTTP Authorization headers and URI query parameters.
    Author:
    Yuriy Movchan Date: 06/30/2015
    See Also:
    Serialized Form
    • Constructor Detail

      • JsonWebResponse

        public JsonWebResponse()
    • Method Detail

      • setHeader

        public void setHeader​(JwtHeader header)
      • setClaim

        public void setClaim​(java.lang.String key,
                             java.lang.String value)
      • setClaims

        public void setClaims​(JwtClaims claims)
      • asString

        public java.lang.String asString()
      • toString

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