Description

Negotiates the prefered content type from what the application provides and what the request has in its Accept header.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
boolbool acceptLanguage(IRequest request, string langCode)
string[]string[] acceptedLanguages(IRequest request)
Json[string]Json[string] parseAccept(IRequest request)
Json[string]Json[string] parseAcceptLanguage(IRequest request)
stringstring preferredType(IRequest request, string[] supportedContenttypeChoices = null)
string[][string]string[][string] parseQualifiers(string headerValue)