DefaultContentNegotiator Class

Definition

public class DefaultContentNegotiator : System.Net.Http.Formatting.IContentNegotiator
type DefaultContentNegotiator = class
    interface IContentNegotiator
Public Class DefaultContentNegotiator
Implements IContentNegotiator
Inheritance
DefaultContentNegotiator
Implements

Constructors

DefaultContentNegotiator()
DefaultContentNegotiator(Boolean)

Properties

ExcludeMatchOnTypeOnly

Methods

ComputeFormatterMatches(Type, HttpRequestMessage, IEnumerable<MediaTypeFormatter>)
MatchAcceptHeader(IEnumerable<MediaTypeWithQualityHeaderValue>, MediaTypeFormatter)
MatchMediaTypeMapping(HttpRequestMessage, MediaTypeFormatter)
MatchRequestMediaType(HttpRequestMessage, MediaTypeFormatter)
MatchType(Type, MediaTypeFormatter)
Negotiate(Type, HttpRequestMessage, IEnumerable<MediaTypeFormatter>)
SelectResponseCharacterEncoding(HttpRequestMessage, MediaTypeFormatter)
SelectResponseMediaTypeFormatter(ICollection<MediaTypeFormatterMatch>)
ShouldMatchOnType(IEnumerable<MediaTypeWithQualityHeaderValue>)
SortMediaTypeWithQualityHeaderValuesByQFactor(ICollection<MediaTypeWithQualityHeaderValue>)
SortStringWithQualityHeaderValuesByQFactor(ICollection<StringWithQualityHeaderValue>)
UpdateBestMatch(MediaTypeFormatterMatch, MediaTypeFormatterMatch)

Applies to