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

Method getContentType

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

Returns the cty (Content Type) header value or null if not present. The cty (Content Type) Header Parameter is used by applications to declare the <a href="https://www.iana.org/assignments

()

Source from the content-addressed store, hash-verified

123 * @return the {@code typ} header parameter value or {@code null} if not present.
124 */
125 String getContentType();
126
127 /**
128 * Returns the JWT {@code alg} (Algorithm) header value or {@code null} if not present.

Callers 2

parseMethod · 0.95
hasContentTypeMethod · 0.65

Implementers 2

DefaultHeaderimpl/src/main/java/io/jsonwebtoken/imp
DefaultMutableJweHeaderimpl/src/main/java/io/jsonwebtoken/imp

Calls

no outgoing calls

Tested by

no test coverage detected