下面列出了怎么用io.jsonwebtoken.impl.DefaultHeader的API类实例代码及写法,或者点击链接到github查看源代码。
/**
* Creates a new {@link Header} instance suitable for <em>plaintext</em> (not digitally signed) JWTs. As this
* is a less common use of JWTs, consider using the {@link #jwsHeader()} factory method instead if you will later
* digitally sign the JWT.
*
* @return a new {@link Header} instance suitable for <em>plaintext</em> (not digitally signed) JWTs.
*/
public static Header header() {
return new DefaultHeader();
}