24 instantiations of HttpHeaderValueCollection
System.Net.Http (24)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
18_allow ??= new HttpHeaderValueCollection<string>(KnownHeaders.Allow.Descriptor, this); 29_contentEncoding ??= new HttpHeaderValueCollection<string>(KnownHeaders.ContentEncoding.Descriptor, this); 32_contentLanguage ??= new HttpHeaderValueCollection<string>(KnownHeaders.ContentLanguage.Descriptor, this);
System\Net\Http\Headers\HttpGeneralHeaders.cs (7)
77_pragma ??= new HttpHeaderValueCollection<NameValueHeaderValue>(KnownHeaders.Pragma.Descriptor, _parent); 80_trailer ??= new HttpHeaderValueCollection<string>(KnownHeaders.Trailer.Descriptor, _parent); 135_upgrade ??= new HttpHeaderValueCollection<ProductHeaderValue>(KnownHeaders.Upgrade.Descriptor, _parent); 138_via ??= new HttpHeaderValueCollection<ViaHeaderValue>(KnownHeaders.Via.Descriptor, _parent); 141_warning ??= new HttpHeaderValueCollection<WarningHeaderValue>(KnownHeaders.Warning.Descriptor, _parent); 144_connection ??= new HttpHeaderValueCollection<string>(KnownHeaders.Connection.Descriptor, _parent); 147_transferEncoding ??= new HttpHeaderValueCollection<TransferCodingHeaderValue>(KnownHeaders.TransferEncoding.Descriptor, _parent);
System\Net\Http\Headers\HttpRequestHeaders.cs (9)
38GetSpecializedCollection(AcceptSlot, static thisRef => new HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue>(KnownHeaders.Accept.Descriptor, thisRef)); 41GetSpecializedCollection(AcceptCharsetSlot, static thisRef => new HttpHeaderValueCollection<StringWithQualityHeaderValue>(KnownHeaders.AcceptCharset.Descriptor, thisRef)); 44GetSpecializedCollection(AcceptEncodingSlot, static thisRef => new HttpHeaderValueCollection<StringWithQualityHeaderValue>(KnownHeaders.AcceptEncoding.Descriptor, thisRef)); 47GetSpecializedCollection(AcceptLanguageSlot, static thisRef => new HttpHeaderValueCollection<StringWithQualityHeaderValue>(KnownHeaders.AcceptLanguage.Descriptor, thisRef)); 126GetSpecializedCollection(IfMatchSlot, static thisRef => new HttpHeaderValueCollection<EntityTagHeaderValue>(KnownHeaders.IfMatch.Descriptor, thisRef)); 135GetSpecializedCollection(IfNoneMatchSlot, static thisRef => new HttpHeaderValueCollection<EntityTagHeaderValue>(KnownHeaders.IfNoneMatch.Descriptor, thisRef)); 195GetSpecializedCollection(TransferEncodingSlot, static thisRef => new HttpHeaderValueCollection<TransferCodingWithQualityHeaderValue>(KnownHeaders.TE.Descriptor, thisRef)); 198GetSpecializedCollection(UserAgentSlot, static thisRef => new HttpHeaderValueCollection<ProductInfoHeaderValue>(KnownHeaders.UserAgent.Descriptor, thisRef)); 201GetSpecializedCollection(ExpectSlot, static thisRef => new HttpHeaderValueCollection<NameValueWithParametersHeaderValue>(KnownHeaders.Expect.Descriptor, thisRef));
System\Net\Http\Headers\HttpResponseHeaders.cs (5)
33GetSpecializedCollection(AcceptRangesSlot, static thisRef => new HttpHeaderValueCollection<string>(KnownHeaders.AcceptRanges.Descriptor, thisRef)); 54GetSpecializedCollection(ProxyAuthenticateSlot, static thisRef => new HttpHeaderValueCollection<AuthenticationHeaderValue>(KnownHeaders.ProxyAuthenticate.Descriptor, thisRef)); 63GetSpecializedCollection(ServerSlot, static thisRef => new HttpHeaderValueCollection<ProductInfoHeaderValue>(KnownHeaders.Server.Descriptor, thisRef)); 66GetSpecializedCollection(VarySlot, static thisRef => new HttpHeaderValueCollection<string>(KnownHeaders.Vary.Descriptor, thisRef)); 69GetSpecializedCollection(WwwAuthenticateSlot, static thisRef => new HttpHeaderValueCollection<AuthenticationHeaderValue>(KnownHeaders.WWWAuthenticate.Descriptor, thisRef));
53 references to HttpHeaderValueCollection
netstandard (1)
netstandard.cs (1)
1105[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.HttpHeaderValueCollection<>))]
System.Net.Http (51)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
13private HttpHeaderValueCollection<string>? _allow; 14private HttpHeaderValueCollection<string>? _contentEncoding; 15private HttpHeaderValueCollection<string>? _contentLanguage;
System\Net\Http\Headers\HttpGeneralHeaders.cs (14)
12private HttpHeaderValueCollection<string>? _connection; 13private HttpHeaderValueCollection<string>? _trailer; 14private HttpHeaderValueCollection<TransferCodingHeaderValue>? _transferEncoding; 15private HttpHeaderValueCollection<ProductHeaderValue>? _upgrade; 16private HttpHeaderValueCollection<ViaHeaderValue>? _via; 17private HttpHeaderValueCollection<WarningHeaderValue>? _warning; 18private HttpHeaderValueCollection<NameValueHeaderValue>? _pragma; 76public HttpHeaderValueCollection<NameValueHeaderValue> Pragma => 79public HttpHeaderValueCollection<string> Trailer => 134public HttpHeaderValueCollection<ProductHeaderValue> Upgrade => 137public HttpHeaderValueCollection<ViaHeaderValue> Via => 140public HttpHeaderValueCollection<WarningHeaderValue> Warning => 143public HttpHeaderValueCollection<string> Connection => 146public HttpHeaderValueCollection<TransferCodingHeaderValue> TransferEncoding =>
System\Net\Http\Headers\HttpRequestHeaders.cs (16)
37public HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue> Accept => 40public HttpHeaderValueCollection<StringWithQualityHeaderValue> AcceptCharset => 43public HttpHeaderValueCollection<StringWithQualityHeaderValue> AcceptEncoding => 46public HttpHeaderValueCollection<StringWithQualityHeaderValue> AcceptLanguage => 125public HttpHeaderValueCollection<EntityTagHeaderValue> IfMatch => 134public HttpHeaderValueCollection<EntityTagHeaderValue> IfNoneMatch => 194public HttpHeaderValueCollection<TransferCodingWithQualityHeaderValue> TE => 197public HttpHeaderValueCollection<ProductInfoHeaderValue> UserAgent => 200public HttpHeaderValueCollection<NameValueWithParametersHeaderValue> Expect => 213public HttpHeaderValueCollection<string> Connection 230public HttpHeaderValueCollection<NameValueHeaderValue> Pragma 235public HttpHeaderValueCollection<string> Trailer 240public HttpHeaderValueCollection<TransferCodingHeaderValue> TransferEncoding 251public HttpHeaderValueCollection<ProductHeaderValue> Upgrade 256public HttpHeaderValueCollection<ViaHeaderValue> Via 261public HttpHeaderValueCollection<WarningHeaderValue> Warning
System\Net\Http\Headers\HttpResponseHeaders.cs (12)
32public HttpHeaderValueCollection<string> AcceptRanges => 53public HttpHeaderValueCollection<AuthenticationHeaderValue> ProxyAuthenticate => 62public HttpHeaderValueCollection<ProductInfoHeaderValue> Server => 65public HttpHeaderValueCollection<string> Vary => 68public HttpHeaderValueCollection<AuthenticationHeaderValue> WwwAuthenticate => 81public HttpHeaderValueCollection<string> Connection 98public HttpHeaderValueCollection<NameValueHeaderValue> Pragma 103public HttpHeaderValueCollection<string> Trailer 108public HttpHeaderValueCollection<TransferCodingHeaderValue> TransferEncoding 119public HttpHeaderValueCollection<ProductHeaderValue> Upgrade 124public HttpHeaderValueCollection<ViaHeaderValue> Via 129public HttpHeaderValueCollection<WarningHeaderValue> Warning
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (5)
44private static bool TryGetChallengeDataForScheme(string scheme, HttpHeaderValueCollection<AuthenticationHeaderValue> authenticationHeaderValues, out string? challengeData) 68HttpHeaderValueCollection<AuthenticationHeaderValue> authenticationHeaderValues = GetResponseAuthenticationHeaderValues(response, isProxyAuth: false); 81HttpHeaderValueCollection<AuthenticationHeaderValue> authenticationHeaderValues, out AuthenticationChallenge challenge) 119HttpHeaderValueCollection<AuthenticationHeaderValue> authenticationHeaderValues = GetResponseAuthenticationHeaderValues(response, isProxyAuth); 157private static HttpHeaderValueCollection<AuthenticationHeaderValue> GetResponseAuthenticationHeaderValues(HttpResponseMessage response, bool isProxyAuth)
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
39private static bool EncodingExists(HttpHeaderValueCollection<StringWithQualityHeaderValue> acceptEncodingHeader, string encoding)
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1292HttpHeaderValueCollection<NameValueHeaderValue> pragmaHeaders = request.Headers.Pragma;