| Package | Description |
|---|---|
| org.mule.module.apikit |
| Modifier and Type | Method and Description |
|---|---|
protected static RestContentTypeParser.ParseResults |
RestContentTypeParser.parseMediaRange(String range)
Carves up a media range and returns a ParseResults.
|
protected static RestContentTypeParser.ParseResults |
RestContentTypeParser.parseMimeType(String mimeType)
Carves up a mime-type and returns a ParseResults object
For example, the media range 'application/xhtml;q=0.5' would get parsed
into:
('application', 'xhtml', {'q', '0.5'})
|
| Modifier and Type | Method and Description |
|---|---|
protected static RestContentTypeParser.FitnessAndQuality |
RestContentTypeParser.fitnessAndQualityParsed(String mimeType,
Collection<RestContentTypeParser.ParseResults> parsedRanges)
Find the best match for a given mimeType against a list of media_ranges
that have already been parsed by MimeParse.parseMediaRange().
|
Copyright © 2014. All rights reserved.