|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MediaType | |
---|---|
org.restlet.gwt.data | Element of information handled by a component via a connector. |
org.restlet.gwt.resource | Common resource and representation data elements. |
org.restlet.gwt.util | Utility classes and interfaces used in the rest of the API. |
Uses of MediaType in org.restlet.gwt.data |
---|
Methods in org.restlet.gwt.data that return MediaType | |
---|---|
static MediaType |
MediaType.getMostSpecific(MediaType... mediaTypes)
Returns the first of the most specific MediaTypes of the given array of MediaTypes. |
static MediaType |
MediaType.register(java.lang.String name,
java.lang.String description)
Register a media type as a known type that can later be retrieved using valueOf(String) . |
static MediaType |
MediaType.valueOf(java.lang.String name)
Returns the media type associated to a name. |
Methods in org.restlet.gwt.data that return types with arguments of type MediaType | |
---|---|
java.util.List<Preference<MediaType>> |
ClientInfo.getAcceptedMediaTypes()
Returns the modifiable list of media type preferences. |
Methods in org.restlet.gwt.data with parameters of type MediaType | |
---|---|
static MediaType |
MediaType.getMostSpecific(MediaType... mediaTypes)
Returns the first of the most specific MediaTypes of the given array of MediaTypes. |
boolean |
MediaType.includes(MediaType included)
Indicates if a given media type is included in the current one. |
boolean |
MediaType.isCompatible(MediaType otherMediaType)
Checks if this MediaType is compatible with the given media type. |
void |
Message.setEntity(java.lang.String value,
MediaType mediaType)
Sets a textual entity. |
Method parameters in org.restlet.gwt.data with type arguments of type MediaType | |
---|---|
void |
ClientInfo.setAcceptedMediaTypes(java.util.List<Preference<MediaType>> acceptedMediaTypes)
Sets the media type preferences. |
Uses of MediaType in org.restlet.gwt.resource |
---|
Methods in org.restlet.gwt.resource that return MediaType | |
---|---|
MediaType |
Variant.getMediaType()
Returns the media type. |
Methods in org.restlet.gwt.resource with parameters of type MediaType | |
---|---|
void |
Variant.setMediaType(MediaType mediaType)
Sets the media type. |
Constructors in org.restlet.gwt.resource with parameters of type MediaType | |
---|---|
JsonRepresentation(MediaType mediaType)
Constructor for an empty document. |
|
JsonRepresentation(MediaType mediaType,
JSONValue value)
Constructor from an existing DOM document. |
|
Representation(MediaType mediaType)
Constructor. |
|
StringRepresentation(java.lang.String text,
MediaType mediaType)
Constructor. |
|
StringRepresentation(java.lang.String text,
MediaType mediaType,
Language language)
Constructor. |
|
StringRepresentation(java.lang.String text,
MediaType mediaType,
Language language,
CharacterSet characterSet)
Constructor. |
|
Variant(MediaType mediaType)
Constructor. |
|
XmlRepresentation(MediaType mediaType)
Constructor for an empty document. |
|
XmlRepresentation(MediaType mediaType,
Document xmlDocument)
Constructor from an existing DOM document. |
Uses of MediaType in org.restlet.gwt.util |
---|
Methods in org.restlet.gwt.util that return MediaType | |
---|---|
abstract MediaType |
Engine.parseContentType(java.lang.String contentType)
Parses the given Content Type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |