Uses of Class
org.restlet.client.data.MediaType

Packages that use MediaType
org.restlet.client Core classes of the API. 
org.restlet.client.data Information exchanged by components. 
org.restlet.client.representation Common representation data elements. 
org.restlet.client.resource Client and server resource classes. 
org.restlet.client.service Services used by applications and components. 
org.restlet.client.util Various utility classes. 
 

Uses of MediaType in org.restlet.client
 

Methods in org.restlet.client with parameters of type MediaType
 void Message.setEntity(String value, MediaType mediaType)
          Sets a textual entity.
 

Uses of MediaType in org.restlet.client.data
 

Fields in org.restlet.client.data declared as MediaType
static MediaType MediaType.ALL
           
static MediaType MediaType.APPLICATION_ALL
           
static MediaType MediaType.APPLICATION_ALL_XML
           
static MediaType MediaType.APPLICATION_ATOM
           
static MediaType MediaType.APPLICATION_JAVA_OBJECT_GWT
           
static MediaType MediaType.APPLICATION_JAVASCRIPT
           
static MediaType MediaType.APPLICATION_JSON
           
static MediaType MediaType.APPLICATION_MSML
           
static MediaType MediaType.APPLICATION_SDP
           
static MediaType MediaType.APPLICATION_WWW_FORM
           
static MediaType MediaType.APPLICATION_XHTML
           
static MediaType MediaType.APPLICATION_XMI
           
static MediaType MediaType.APPLICATION_XMI_XML
          Deprecated. 
static MediaType MediaType.APPLICATION_XML
           
static MediaType MediaType.TEXT_ALL
           
static MediaType MediaType.TEXT_CSS
           
static MediaType MediaType.TEXT_HTML
           
static MediaType MediaType.TEXT_JAVASCRIPT
           
static MediaType MediaType.TEXT_PLAIN
           
static MediaType MediaType.TEXT_URI_LIST
           
static MediaType MediaType.TEXT_XML
           
 

Methods in org.restlet.client.data that return MediaType
static MediaType MediaType.getMostSpecific(MediaType... mediaTypes)
          Returns the first of the most specific media type of the given array of MediaTypes.
 MediaType MediaType.getParent()
          Returns the parent metadata if available or null.
static MediaType MediaType.register(String name, String description)
          Register a media type as a known type that can later be retrieved using valueOf(String).
static MediaType MediaType.valueOf(String name)
          Returns the media type associated to a name.
 

Methods in org.restlet.client.data that return types with arguments of type MediaType
 List<Preference<MediaType>> ClientInfo.getAcceptedMediaTypes()
          Returns the modifiable list of media type preferences.
 

Methods in org.restlet.client.data with parameters of type MediaType
static MediaType MediaType.getMostSpecific(MediaType... mediaTypes)
          Returns the first of the most specific media type of the given array of MediaTypes.
 

Method parameters in org.restlet.client.data with type arguments of type MediaType
 void ClientInfo.setAcceptedMediaTypes(List<Preference<MediaType>> acceptedMediaTypes)
          Sets the media type preferences.
 

Constructors in org.restlet.client.data with parameters of type MediaType
ClientInfo(MediaType mediaType)
          Constructor from a media type.
 

Uses of MediaType in org.restlet.client.representation
 

Methods in org.restlet.client.representation that return MediaType
 MediaType Variant.getMediaType()
          Returns the media type.
 

Methods in org.restlet.client.representation with parameters of type MediaType
 void Variant.setMediaType(MediaType mediaType)
          Sets the media type.
 

Constructors in org.restlet.client.representation with parameters of type MediaType
CharacterRepresentation(MediaType mediaType)
          Constructor.
InputRepresentation(InputStream inputStream, MediaType mediaType)
          Constructor.
InputRepresentation(InputStream inputStream, MediaType mediaType, long expectedSize)
          Constructor.
Representation(MediaType mediaType)
          Constructor.
Representation(MediaType mediaType, Date modificationDate)
          Constructor.
Representation(MediaType mediaType, Date modificationDate, Tag tag)
          Constructor.
Representation(MediaType mediaType, Tag tag)
          Constructor.
RepresentationInfo(MediaType mediaType)
          Constructor.
RepresentationInfo(MediaType mediaType, Date modificationDate)
          Constructor.
RepresentationInfo(MediaType mediaType, Date modificationDate, Tag tag)
          Constructor.
RepresentationInfo(MediaType mediaType, Tag tag)
          Constructor.
StreamRepresentation(MediaType mediaType)
          Constructor.
StringRepresentation(CharSequence text, MediaType mediaType)
          Constructor.
StringRepresentation(CharSequence text, MediaType mediaType, Language language)
          Constructor.
StringRepresentation(CharSequence text, MediaType mediaType, Language language, CharacterSet characterSet)
          Constructor.
Variant(MediaType mediaType)
          Constructor.
Variant(MediaType mediaType, Language language)
          Constructor.
 

Uses of MediaType in org.restlet.client.resource
 

Methods in org.restlet.client.resource with parameters of type MediaType
 Representation ClientResource.delete(MediaType mediaType)
          Deletes the target resource and all its representations.
 Representation ClientResource.get(MediaType mediaType)
          Represents the resource using a given media type.
protected  Representation ClientResource.handle(Method method, MediaType mediaType)
          Handles the call by cloning the prototype request, setting the method and entity.
protected  Representation ClientResource.handle(Method method, Representation entity, MediaType mediaType)
          Handles the call by cloning the prototype request, setting the method and entity.
 Representation ClientResource.head(MediaType mediaType)
          Represents the resource using a given media type.
 Representation ClientResource.options(MediaType mediaType)
          Describes the resource using a given media type.
 Representation ClientResource.post(Object entity, MediaType mediaType)
          Posts an object entity.
 Representation ClientResource.put(Object entity, MediaType mediaType)
          Puts an object entity.
 

Uses of MediaType in org.restlet.client.service
 

Methods in org.restlet.client.service that return MediaType
 MediaType MetadataService.getDefaultMediaType()
          Returns the default media type for representations.
 MediaType MetadataService.getMediaType(String extension)
          Returns the mediatype associated to this extension.
 

Methods in org.restlet.client.service that return types with arguments of type MediaType
 List<MediaType> MetadataService.getAllMediaTypes(String extension)
          Returns all the media types associated to this extension.
 

Methods in org.restlet.client.service with parameters of type MediaType
 void MetadataService.setDefaultMediaType(MediaType defaultMediaType)
          Sets the default media type for local representations.
 

Uses of MediaType in org.restlet.client.util
 

Methods in org.restlet.client.util that return MediaType
 MediaType WrapperRepresentation.getMediaType()
           
 

Methods in org.restlet.client.util with parameters of type MediaType
 void WrapperResponse.setEntity(String value, MediaType mediaType)
          Sets a textual entity.
 void WrapperRequest.setEntity(String value, MediaType mediaType)
          Sets a textual entity.
 void WrapperRepresentation.setMediaType(MediaType mediaType)
           
 



Copyright © 2005-2013 Restlet S.A.S..