Sdílet prostřednictvím


DefaultContentNegotiator Třída

Definice

public class DefaultContentNegotiator : System.Net.Http.Formatting.IContentNegotiator
type DefaultContentNegotiator = class
    interface IContentNegotiator
Public Class DefaultContentNegotiator
Implements IContentNegotiator
Dědičnost
DefaultContentNegotiator
Implementuje

Konstruktory

DefaultContentNegotiator()
DefaultContentNegotiator(Boolean)

Vlastnosti

ExcludeMatchOnTypeOnly

Metody

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)

Platí pro