File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
android/guava/src/com/google/common/net
guava/src/com/google/common/net Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -491,6 +491,13 @@ private static MediaType addKnownType(MediaType mediaType) {
491491
492492 public static final MediaType JSON_UTF_8 = createConstantUtf8 (APPLICATION_TYPE , "json" );
493493
494+ /**
495+ * For <a href="https://tools.ietf.org/html/7519">JWT objects using the compact Serialization</a>.
496+ *
497+ * @since NEXT
498+ */
499+ public static final MediaType JWT = createConstant (APPLICATION_TYPE , "jwt" );
500+
494501 /**
495502 * The <a href="http://www.w3.org/TR/appmanifest/">Manifest for a web application</a>.
496503 *
Original file line number Diff line number Diff line change @@ -491,6 +491,13 @@ private static MediaType addKnownType(MediaType mediaType) {
491491
492492 public static final MediaType JSON_UTF_8 = createConstantUtf8 (APPLICATION_TYPE , "json" );
493493
494+ /**
495+ * For <a href="https://tools.ietf.org/html/7519">JWT objects using the compact Serialization</a>.
496+ *
497+ * @since NEXT
498+ */
499+ public static final MediaType JWT = createConstant (APPLICATION_TYPE , "jwt" );
500+
494501 /**
495502 * The <a href="http://www.w3.org/TR/appmanifest/">Manifest for a web application</a>.
496503 *
You can’t perform that action at this time.
0 commit comments