MCPcopy Create free account
hub / github.com/jwtk/jjwt / contentType

Method contentType

api/src/main/java/io/jsonwebtoken/HeaderMutator.java:95–95  ·  view source on GitHub ↗

Sets the compact cty (Content Type) header parameter value, used by applications to declare the IANA MediaType of the JWT payload. A {@

(String cty)

Source from the content-addressed store, hash-verified

93 * @return the instance for method chaining.
94 */
95 T contentType(String cty);
96
97 /**
98 * Deprecated since of 0.12.0, delegates to {@link #type(String)}.

Callers 1

compactMethod · 0.65

Implementers 1

DefaultJweHeaderMutatorimpl/src/main/java/io/jsonwebtoken/imp

Calls

no outgoing calls

Tested by

no test coverage detected