File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
modules/org.restlet/src/org/restlet/data Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ public final class MediaType extends Metadata {
7070 public static final MediaType APPLICATION_ALL = register ("application/*" ,
7171 "All application documents" );
7272
73+ public static final MediaType APPLICATION_ALL_JSON = register (
74+ "application/*+json" , "All application/*+json documents" );
75+
7376 public static final MediaType APPLICATION_ALL_XML = register (
7477 "application/*+xml" , "All application/*+xml documents" );
7578
@@ -147,6 +150,10 @@ public final class MediaType extends Metadata {
147150 public static final MediaType APPLICATION_JSON = register (
148151 "application/json" , "JavaScript Object Notation document" );
149152
153+ // [ifndef gwt] member
154+ public static final MediaType APPLICATION_JSON_ACTIVITY = register (
155+ "application/activity+json" , "Activity Streams JSON document" );
156+
150157 // [ifndef gwt] member
151158 public static final MediaType APPLICATION_JSON_PATCH = register (
152159 "application/json-patch" , "JSON patch document" );
You can’t perform that action at this time.
0 commit comments