ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1777202 - /webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java
Date Tue, 03 Jan 2017 19:20:23 GMT
Author: veithen
Date: Tue Jan  3 19:20:23 2017
New Revision: 1777202

URL: http://svn.apache.org/viewvc?rev=1777202&view=rev
Log:
Add a couple of other useful MIME types.

Modified:
    webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java

Modified: webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java?rev=1777202&r1=1777201&r2=1777202&view=diff
==============================================================================
--- webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java (original)
+++ webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/mime/MediaType.java Tue
Jan  3 19:20:23 2017
@@ -56,6 +56,16 @@ public final class MediaType {
      */
     public static final MediaType MULTIPART_RELATED = new MediaType("multipart", "related");
     
+    /**
+     * The media type for <tt>application/octet-stream</tt>.
+     */
+    public static final MediaType APPLICATION_OCTET_STREAM = new MediaType("application",
"octet-stream");
+    
+    /**
+     * The media type for <tt>text/plain</tt>.
+     */
+    public static final MediaType TEXT_PLAIN = new MediaType("text", "plain");
+    
     private final String primaryType;
     private final String subType;
     



Mime
View raw message