Partager via


DefaultContentNegotiator Classe

Définition

public class DefaultContentNegotiator : System.Net.Http.Formatting.IContentNegotiator
type DefaultContentNegotiator = class
    interface IContentNegotiator
Public Class DefaultContentNegotiator
Implements IContentNegotiator
Héritage
DefaultContentNegotiator
Implémente

Constructeurs

DefaultContentNegotiator()
DefaultContentNegotiator(Boolean)

Propriétés

ExcludeMatchOnTypeOnly

Méthodes

ComputeFormatterMatches(Type, HttpRequestMessage, IEnumerable<MediaTypeFormatter>)
MatchAcceptHeader(IEnumerable<MediaTypeWithQualityHeaderValue>, 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)

S’applique à