JsonWebToken instead@Deprecated public class JsonWebToken extends Object
Implementation is not thread-safe.
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonWebToken.Header
Deprecated.
(scheduled to be removed in 1.15) Use
JsonWebToken.Header instead |
static class |
JsonWebToken.Payload
Deprecated.
(scheduled to be removed in 1.15) Use
JsonWebToken.Payload instead |
| Constructor and Description |
|---|
JsonWebToken(JsonWebToken.Header header,
JsonWebToken.Payload payload)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsonWebToken.Header |
getHeader()
Deprecated.
Returns the header.
|
JsonWebToken.Payload |
getPayload()
Deprecated.
Returns the payload.
|
public JsonWebToken(JsonWebToken.Header header, JsonWebToken.Payload payload)
header - headerpayload - payloadpublic JsonWebToken.Header getHeader()
Subclasses may override only to change the return type.
public JsonWebToken.Payload getPayload()
Subclasses may override only to change the return type.
Copyright © 2011-2013 Google. All Rights Reserved.