@Beta public class JsonWebToken extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonWebToken.Header
|
static class |
JsonWebToken.Payload
|
Constructor and Description |
---|
JsonWebToken(JsonWebToken.Header header,
JsonWebToken.Payload payload) |
Modifier and Type | Method and Description |
---|---|
JsonWebToken.Header |
getHeader()
Returns the header.
|
JsonWebToken.Payload |
getPayload()
Returns the payload.
|
String |
toString() |
public JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
header
- headerpayload
- payloadpublic JsonWebToken.Header getHeader()
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public JsonWebToken.Payload getPayload()
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
Copyright © 2011-2013 Google. All Rights Reserved.