Uses of Class
org.apache.jena.atlas.web.MediaType
-
Uses of MediaType in org.apache.jena.atlas.web
Modifier and TypeClassDescriptionclass
A media range is a media type used in content negotiation.Modifier and TypeMethodDescriptionstatic MediaType
static MediaType
static MediaType
static MediaType
MediaType.createFromContentType
(String string) static MediaType
AcceptList.match
(AcceptList proposalList, AcceptList offerList) Find the best thing in offer list 8sever side) matching the proposal (client, Accept header).Modifier and TypeMethodDescriptionboolean
boolean
ContentType.agreesWith
(MediaType mt) Return true if the media type has same type and subtype.static AcceptList
Create a list of accept items from the give MediaTypes.boolean
Find and return a match for a specific MediaType.boolean
MediaRange.moreGroundedThan
(MediaType item) ModifierConstructorDescriptionMediaRange
(MediaType other) TypedOutputStream
(OutputStream out, MediaType mediaType)