net.craftforge.essential.controller.constants
Class MediaType

java.lang.Object
  extended by net.craftforge.essential.controller.constants.MediaType

public class MediaType
extends Object

Internet media type constants.

Since:
14.03.2011
Author:
Christian Bick

Field Summary
static String TEXT_HTML
          text/json
static String TEXT_JSON
          text/json
static String TEXT_PLAIN
          text/plain
static String TEXT_XML
          text/xml
static String X_WWW_FORM_URLENCODED
          application/x-www-form-urlencoded
 
Constructor Summary
MediaType()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_PLAIN

public static final String TEXT_PLAIN
text/plain

See Also:
Constant Field Values

TEXT_XML

public static final String TEXT_XML
text/xml

See Also:
Constant Field Values

TEXT_JSON

public static final String TEXT_JSON
text/json

See Also:
Constant Field Values

TEXT_HTML

public static final String TEXT_HTML
text/json

See Also:
Constant Field Values

X_WWW_FORM_URLENCODED

public static final String X_WWW_FORM_URLENCODED
application/x-www-form-urlencoded

See Also:
Constant Field Values
Constructor Detail

MediaType

public MediaType()


Copyright © 2011. All Rights Reserved.