DefaultContentNegotiator 类

定义

public class DefaultContentNegotiator : System.Net.Http.Formatting.IContentNegotiator
type DefaultContentNegotiator = class
    interface IContentNegotiator
Public Class DefaultContentNegotiator
Implements IContentNegotiator
继承
DefaultContentNegotiator
实现

构造函数

DefaultContentNegotiator()
DefaultContentNegotiator(Boolean)

属性

ExcludeMatchOnTypeOnly

方法

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)

适用于