|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MediaType | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.service | Service classes used by Applications and Containers. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of MediaType in org.restlet |
---|
Methods in org.restlet that return MediaType | |
---|---|
MediaType |
Transformer.getResultMediaType()
Returns the media type of the result representation. |
Methods in org.restlet with parameters of type MediaType | |
---|---|
void |
Transformer.setResultMediaType(MediaType resultMediaType)
Sets the media type of the result representation. |
Uses of MediaType in org.restlet.data |
---|
Methods in org.restlet.data that return MediaType | |
---|---|
static MediaType |
MediaType.valueOf(String name)
Returns the media type associated to a name. |
Methods in org.restlet.data that return types with arguments of type MediaType | |
---|---|
List<Preference<MediaType>> |
ClientInfo.getAcceptedMediaTypes()
Returns the media type preferences. |
Methods in org.restlet.data with parameters of type MediaType | |
---|---|
boolean |
MediaType.includes(MediaType included)
Indicates if a given media type is included in the current one. |
void |
Message.setEntity(String value,
MediaType mediaType)
Sets a textual entity. |
Uses of MediaType in org.restlet.resource |
---|
Methods in org.restlet.resource that return MediaType | |
---|---|
MediaType |
Variant.getMediaType()
Returns the media type. |
Methods in org.restlet.resource with parameters of type MediaType | |
---|---|
void |
Variant.setMediaType(MediaType mediaType)
Sets the media type. |
Constructors in org.restlet.resource with parameters of type MediaType | |
---|---|
ChannelRepresentation(MediaType mediaType)
Constructor. |
|
DomRepresentation(MediaType mediaType)
Constructor for an empty document. |
|
DomRepresentation(MediaType mediaType,
Document xmlDocument)
Constructor from an existing DOM document. |
|
FileRepresentation(File file,
MediaType mediaType,
int timeToLive)
Constructor. |
|
FileRepresentation(String path,
MediaType mediaType,
int timeToLive)
Constructor. |
|
InputRepresentation(InputStream inputStream,
MediaType mediaType)
Constructor. |
|
InputRepresentation(InputStream inputStream,
MediaType mediaType,
long expectedSize)
Constructor. |
|
OutputRepresentation(MediaType mediaType)
Constructor. |
|
OutputRepresentation(MediaType mediaType,
long expectedSize)
Constructor. |
|
ReadableRepresentation(ReadableByteChannel readableChannel,
MediaType mediaType)
Constructor. |
|
ReadableRepresentation(ReadableByteChannel readableChannel,
MediaType mediaType,
long expectedSize)
Constructor. |
|
Representation(MediaType mediaType)
Constructor. |
|
SaxRepresentation(MediaType mediaType)
Constructor. |
|
SaxRepresentation(MediaType mediaType,
Document xmlDocument)
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. |
|
WritableRepresentation(MediaType mediaType)
Constructor. |
|
XmlRepresentation(MediaType mediaType)
Constructor. |
|
XmlRepresentation(MediaType mediaType,
long expectedSize)
Constructor. |
Uses of MediaType in org.restlet.service |
---|
Methods in org.restlet.service that return MediaType | |
---|---|
MediaType |
MetadataService.getDefaultMediaType()
Returns the default media type for local representations. |
Methods in org.restlet.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.util |
---|
Methods in org.restlet.util that return MediaType | |
---|---|
MediaType |
WrapperRepresentation.getMediaType()
Returns the media type. |
Methods in org.restlet.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)
Sets the media type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |