View Javadoc

1   /*
2    * $Id: MimeTypes.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  package org.mule.transformer.types;
11  
12  /**
13   * Common mime types used in Mule
14   *
15   * @since 3.0
16   */
17  public interface MimeTypes
18  {
19      public static final String ANY = "*/*";
20  
21      public static final String JSON = "application/json";
22      public static final String ATOM = "application/atom+xml";
23      public static final String RSS = "application/rss+xml";
24      public static final String APPLICATION_XML = "application/xml";
25      public static final String XML = "text/xml";
26      public static final String TEXT = "text/plain";
27      public static final String HTML = "text/html";
28  
29      public static final String BINARY = "application/octet-stream";
30      public static final String UNKNOWN = "content/unknown";
31      public static final String MULTIPART_MIXED="multipart/mixed";
32      public static final String MULTIPART_RELATED="multipart/related";
33      public static final String MULTIPART_X_MIXED_REPLACE="multipart/x-mixed-replace";
34  
35  }