org.apache.awf.web.http.protocol
Class ContentType

java.lang.Object
  extended by org.apache.awf.web.http.protocol.ContentType

public class ContentType
extends Object

A collection of known content types, for convenience.


Field Summary
static String APPLICATION_FORM_URLENCODED
          application/x-www-form-urlencoded
static String APPLICATION_JSON
          application/json
static String APPLICATION_OCTET_STREAM
          application/octet-stream
static String APPLICATION_XML
          application/xml
static String MULTIPART_FORM_DATA
          multipart/form-data
static String TEXT_HTML
          text/html
static String TEXT_PLAIN
          text/plain
static String TEXT_XML
          text/xml
 
Constructor Summary
ContentType()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_XML

public static final String APPLICATION_XML
application/xml

See Also:
Constant Field Values

APPLICATION_JSON

public static final String APPLICATION_JSON
application/json

See Also:
Constant Field Values

APPLICATION_FORM_URLENCODED

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

See Also:
Constant Field Values

APPLICATION_OCTET_STREAM

public static final String APPLICATION_OCTET_STREAM
application/octet-stream

See Also:
Constant Field Values

MULTIPART_FORM_DATA

public static final String MULTIPART_FORM_DATA
multipart/form-data

See Also:
Constant Field Values

TEXT_HTML

public static final String TEXT_HTML
text/html

See Also:
Constant Field Values

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
Constructor Detail

ContentType

public ContentType()


Copyright © 2012. All Rights Reserved.