Package | Description |
---|---|
org.apache.jena.atlas.web |
Modifier and Type | Class and Description |
---|---|
class |
MediaRange
A media range is a media type used in content negotiation.
|
Modifier and Type | Method and Description |
---|---|
static MediaType |
MediaType.create(String string) |
static MediaType |
MediaType.create(String contentType,
String charset) |
static MediaType |
MediaType.create(String contentType,
String subType,
String charset) |
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 Type | Method and Description |
---|---|
boolean |
MediaRange.accepts(MediaType item) |
static AcceptList |
AcceptList.create(MediaType... acceptItems)
Create a list of accept items from the give MediaTypes.
|
boolean |
MediaRange.grounded(MediaType item) |
MediaRange |
AcceptList.match(MediaType offer)
Find and return a match for a specific MediaType.
|
boolean |
MediaRange.moreGroundedThan(MediaType item) |
Constructor and Description |
---|
MediaRange(MediaType other) |
MediaType(MediaType other) |
TypedOutputStream(OutputStream out,
MediaType mediaType) |
Licenced under the Apache License, Version 2.0