File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed
http-api/src/main/java/io/avaje/http/api Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ public interface MediaType {
35
35
*/
36
36
String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded" ;
37
37
38
-
39
38
/**
40
39
* A {@code String} constant representing {@value #MULTIPART_FORM_DATA} media type.
41
40
*/
@@ -51,7 +50,6 @@ public interface MediaType {
51
50
*/
52
51
String TEXT_PLAIN = "text/plain" ;
53
52
54
-
55
53
/**
56
54
* A {@code String} constant representing {@value #TEXT_XML} media type.
57
55
*/
@@ -71,5 +69,35 @@ public interface MediaType {
71
69
* {@link String} representation of {@value #APPLICATION_JSON_PATCH_JSON} media type..
72
70
*/
73
71
String APPLICATION_JSON_PATCH_JSON = "application/json-patch+json" ;
74
-
72
+
73
+ /**
74
+ * {@link String} representation of {@value #APPLICATION_PDF} media type.
75
+ */
76
+ String APPLICATION_PDF = "application/pdf" ;
77
+
78
+ /**
79
+ * {@link String} representation of {@value #IMAGE_GIF} media type.
80
+ */
81
+ String IMAGE_GIF = "image/gif" ;
82
+
83
+ /**
84
+ * {@link String} representation of {@value #IMAGE_JPEG} media type.
85
+ */
86
+ String IMAGE_JPEG = "image/jpeg" ;
87
+
88
+ /**
89
+ * {@link String} representation of {@value #IMAGE_PNG} media type.
90
+ */
91
+ String IMAGE_PNG = "image/png" ;
92
+
93
+ /**
94
+ * {@link String} representation of {@value #MULTIPART_MIXED} media type.
95
+ */
96
+ String MULTIPART_MIXED = "multipart/mixed" ;
97
+
98
+ /**
99
+ * {@link String} representation of {@value #MULTIPART_RELATED} media type.
100
+ */
101
+ String MULTIPART_RELATED = "multipart/related" ;
102
+
75
103
}
You can’t perform that action at this time.
0 commit comments