@CompileStatic class DefaultAcceptHeaderParser extends Object implements AcceptHeaderParser
Parsed the HTTP accept header into a a list of MimeType instances in the order of priority. Priority is dictated by the order of the mime entries and the associated q parameter. The higher the q parameter the higher the priority.
Type | Name and description |
---|---|
MimeType[] |
configuredMimeTypes |
static org.apache.commons.logging.Log |
logger |
Constructor and description |
---|
DefaultAcceptHeaderParser() |
DefaultAcceptHeaderParser(MimeType[] configuredMimeTypes) |