Uses of Class
org.apache.jena.atlas.web.MediaType
-
Packages that use MediaType Package Description org.apache.jena.atlas.web -
-
Uses of MediaType in org.apache.jena.atlas.web
Subclasses of MediaType in org.apache.jena.atlas.web Modifier and Type Class Description classMediaRangeA media range is a media type used in content negotiation.Methods in org.apache.jena.atlas.web that return MediaType Modifier and Type Method Description static MediaTypeMediaType. create(java.lang.String string)static MediaTypeMediaType. create(java.lang.String contentType, java.lang.String charset)static MediaTypeMediaType. create(java.lang.String contentType, java.lang.String subType, java.lang.String charset)static MediaTypeMediaType. createFromContentType(java.lang.String string)static MediaTypeAcceptList. match(AcceptList proposalList, AcceptList offerList)Find the best thing in offer list 8sever side) matching the proposal (client, Accept header).Methods in org.apache.jena.atlas.web with parameters of type MediaType Modifier and Type Method Description booleanMediaRange. accepts(MediaType item)static AcceptListAcceptList. create(MediaType... acceptItems)Create a list of accept items from the give MediaTypes.booleanMediaRange. grounded(MediaType item)MediaRangeAcceptList. match(MediaType offer)Find and return a match for a specific MediaType.booleanMediaRange. moreGroundedThan(MediaType item)Constructors in org.apache.jena.atlas.web with parameters of type MediaType Constructor Description MediaRange(MediaType other)MediaType(MediaType other)TypedOutputStream(java.io.OutputStream out, MediaType mediaType)
-