<media type>/<sub type>
. The media type can be something like application
or text
and the the sub type can be something like xml
or plain
. Both the media type and sub type can also be the wild card *
such as */*
and text/*
. Note, if the media type is the wild card then the sub type must also be a wild card.
@author Steven McArdle
Utility class for declaring MIME types to use for various requests and provide utility manipulation methods.
Added Content-Encoding capability, with defaults @author Rapha\u00ebl Luta @author Santiago Gala @version $Id: MimeType.java,v 1.9 2005/03/21 18:21:44 sgala Exp $
application/xrds+xml
, application/xrd+xml
and text/uri-list
.
@author wtan
Consists of a {@linkplain #getType() type} and a {@linkplain #getSubtype() subtype}. Also has functionality to parse media types from a string using {@link #valueOf(String)}. For more parsing options see {@link MimeTypeUtils}. @author Arjen Poutsma @author Juergen Hoeller @author Rossen Stoyanchev @since 4.0 @see MimeTypeUtils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|