org.directwebremoting.util
Interface MimeConstants


public interface MimeConstants

Various constants from generating output.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Field Summary
static java.lang.String MIME_HTML
          MIME constant for HTML
static java.lang.String MIME_JS
          MIME constant for Javascript
static java.lang.String MIME_JSON
          MIME constant for JSON
static java.lang.String MIME_PLAIN
          MIME constant for plain text.
 

Field Detail

MIME_PLAIN

static final java.lang.String MIME_PLAIN
MIME constant for plain text. If we need to do more advanced char processing then we should consider adding "; charset=utf-8" to the end of these 3 strings and altering the marshalling to assume utf-8, which it currently does not.

See Also:
Constant Field Values

MIME_HTML

static final java.lang.String MIME_HTML
MIME constant for HTML

See Also:
Constant Field Values

MIME_JS

static final java.lang.String MIME_JS
MIME constant for Javascript

See Also:
Constant Field Values

MIME_JSON

static final java.lang.String MIME_JSON
MIME constant for JSON

See Also:
Constant Field Values

Copyright 2008