JWTBuilder.setPayload

Sets the JWT's payload to be a plaintext (non-JSON) string. setPayload(String) cannot be used with
addClaim(String, Object)
or of the set standard registered claims.

returns JWTBuilder

Parameters

java.lang.String  payload,