1 type derived from WebHeaderCollection
System.ServiceModel (1)
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (1)
25internal class HttpHeadersWebHeaderCollection : WebHeaderCollection
25 instantiations of WebHeaderCollection
PresentationCore (2)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
199_headers = new WebHeaderCollection();
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
771return new WebHeaderCollection();
System (18)
net\System\Net\_ChunkParser.cs (1)
668WebHeaderCollection trailer = new WebHeaderCollection();
net\System\Net\_Connection.cs (1)
2615m_ResponseData.m_ResponseHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebResponse);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
1774ctx.CacheHeaders = new WebHeaderCollection();
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
453CacheHeaders = new WebHeaderCollection(); 637CacheHeaders = new WebHeaderCollection();
net\System\Net\filewebrequest.cs (1)
56m_headers = new WebHeaderCollection(WebHeaderCollectionType.FileWebRequest);
net\System\Net\filewebresponse.cs (1)
57m_headers = new WebHeaderCollection(WebHeaderCollectionType.FileWebResponse);
net\System\Net\FtpWebRequest.cs (1)
1830m_FtpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.FtpWebRequest);
net\System\Net\FtpWebResponse.cs (1)
149m_FtpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.FtpWebResponse);
net\System\Net\HttpListenerResponse.cs (1)
44m_WebHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpListenerResponse);
net\System\Net\HttpWebRequest.cs (3)
2665WebHeaderCollection newWebHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest); 4302? new WebHeaderCollection(ctx.CacheHeaders) 5154_HttpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest);
net\System\Net\UnsafeNativeMethods.cs (1)
2981WebHeaderCollection headerCollection = new WebHeaderCollection(WebHeaderCollectionType.HttpListenerRequest);
net\System\Net\webclient.cs (3)
204m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest); 602m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest); 742m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest);
net\System\Net\WebSockets\ClientWebSocket.cs (1)
415requestHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest);
System.Data.Services (2)
System\Data\Services\BatchServiceHost.cs (2)
112this.requestHeaders = new WebHeaderCollection(); 113this.responseHeaders = new WebHeaderCollection();
System.ServiceModel (3)
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
226this.headers = new WebHeaderCollection();
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
246this.headers = new WebHeaderCollection();
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
451this.webHeaderCollection = new WebHeaderCollection();
140 references to WebHeaderCollection
PresentationCore (7)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (1)
83WebHeaderCollection headers = httpResponse.Headers;
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
854static private bool CheckContentRange(WebHeaderCollection responseHeaders, int beginOffset, ref int endOffset)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
193public override WebHeaderCollection Headers 382private WebHeaderCollection _headers; // empty is default
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
328public override WebHeaderCollection Headers
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (2)
339public override WebHeaderCollection Headers 766internal WebHeaderCollection Headers
System (76)
net\System\Net\_ChunkParser.cs (1)
668WebHeaderCollection trailer = new WebHeaderCollection();
net\System\Net\_Connection.cs (3)
1769WebHeaderCollection.HeaderEncoding.GetString( 2065string s = WebHeaderCollection.HeaderEncoding.GetString(byteBuffer + beginning, bytesParsed - beginning); 2077string s = WebHeaderCollection.HeaderEncoding.GetString(byteBuffer + beginning, bytesParsed - beginning);
net\System\Net\_NTAuthentication.cs (6)
806list.Add(new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(incomingBlob), BufferType.Token)); 807list.Add(new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestMethod), BufferType.Parameters)); 854list.Add(incomingBlob == null ? new SecurityBuffer(0, BufferType.Token) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(incomingBlob), BufferType.Token)); 855list.Add(requestMethod == null ? new SecurityBuffer(0, BufferType.Parameters) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestMethod), BufferType.Parameters)); 856list.Add(requestedUri == null ? new SecurityBuffer(0, BufferType.Parameters) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestedUri), BufferType.Parameters)); 941outgoingBlob = WebHeaderCollection.HeaderEncoding.GetString(decodedOutgoingBlob, 0, outSecurityBuffer.size);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1176WebHeaderCollection cc = resp.Headers; 1736WebHeaderCollection cc = ctx.Request.Headers;
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
54private WebHeaderCollection m_Headers; 94internal WebHeaderCollection CacheHeaders {get{return m_Headers;} set{m_Headers = value;}} 674WebHeaderCollection wc = cc as WebHeaderCollection; 727WebHeaderCollection cc = forCache? CacheHeaders: Response.Headers;
net\System\Net\filewebrequest.cs (5)
30WebHeaderCollection m_headers; 66m_headers = (WebHeaderCollection)serializationInfo.GetValue("headers", typeof(WebHeaderCollection)); 94serializationInfo.AddValue("headers", m_headers, typeof(WebHeaderCollection)); 156public override WebHeaderCollection Headers {
net\System\Net\filewebresponse.cs (5)
25WebHeaderCollection m_headers; 74m_headers = (WebHeaderCollection)serializationInfo.GetValue("headers", typeof(WebHeaderCollection)); 98serializationInfo.AddValue("headers", m_headers, typeof(WebHeaderCollection)); 121public override WebHeaderCollection Headers {
net\System\Net\FtpWebRequest.cs (2)
231private WebHeaderCollection m_FtpRequestHeaders; 1824public override WebHeaderCollection Headers {
net\System\Net\FtpWebResponse.cs (2)
28private WebHeaderCollection m_FtpRequestHeaders; 140public override WebHeaderCollection Headers {
net\System\Net\HttpListener.cs (1)
1750inBlob = WebHeaderCollection.HeaderEncoding.GetString(bytes, 0, bytes.Length);
net\System\Net\HttpListenerRequest.cs (1)
226private WebHeaderCollection m_WebHeaders;
net\System\Net\HttpListenerResponse.cs (10)
33private WebHeaderCollection m_WebHeaders; 250public WebHeaderCollection Headers { 524byte[] statusDescriptionBytes = new byte[WebHeaderCollection.HeaderEncoding.GetByteCount(StatusDescription)]; 527WebHeaderCollection.HeaderEncoding.GetBytes(StatusDescription, 0, statusDescriptionBytes.Length, statusDescriptionBytes, 0); 819bytes = new byte[WebHeaderCollection.HeaderEncoding.GetByteCount(headerName)]; 821WebHeaderCollection.HeaderEncoding.GetBytes(headerName, 0, bytes.Length, bytes, 0); 828bytes = new byte[WebHeaderCollection.HeaderEncoding.GetByteCount(headerValue)]; 830WebHeaderCollection.HeaderEncoding.GetBytes(headerValue, 0, bytes.Length, bytes, 0); 842bytes = new byte[WebHeaderCollection.HeaderEncoding.GetByteCount(headerValue)]; 844WebHeaderCollection.HeaderEncoding.GetBytes(headerValue, 0, bytes.Length, bytes, 0);
net\System\Net\HttpWebRequest.cs (13)
190private WebHeaderCollection _HttpRequestHeaders; 2653public override WebHeaderCollection Headers { 2664WebHeaderCollection webHeaders = value; 2665WebHeaderCollection newWebHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest); 3107value = WebHeaderCollection.CheckBadChars(value, true); 4968string host = WebHeaderCollection.HeaderEncoding.GetString(hhs.Bytes, 0, hhs.ByteCount); 5080int requestHeadersSize = WebHeaderCollection.HeaderEncoding.GetByteCount(requestHeadersString); 5109WebHeaderCollection.HeaderEncoding.GetBytes(requestHeadersString, 0, requestHeadersString.Length, WriteBuffer, offset); 5273_HttpRequestHeaders = (WebHeaderCollection)serializationInfo.GetValue("_HttpRequestHeaders", typeof(WebHeaderCollection)); 5351serializationInfo.AddValue("_HttpRequestHeaders", _HttpRequestHeaders, typeof(WebHeaderCollection)); 6242if (!WebHeaderCollection.IsValidToken(rangeSpecifier)) { 6258if (!WebHeaderCollection.IsValidToken(rangeSpecifier)) {
net\System\Net\HttpWebResponse.cs (5)
44private WebHeaderCollection m_HttpResponseHeaders; 137public override WebHeaderCollection Headers { 575m_HttpResponseHeaders = (WebHeaderCollection)serializationInfo.GetValue("m_HttpResponseHeaders", typeof(WebHeaderCollection)); 616serializationInfo.AddValue("m_HttpResponseHeaders", m_HttpResponseHeaders, typeof(WebHeaderCollection));
net\System\Net\Internal.cs (2)
1760public WebHeaderCollection m_ResponseHeaders; 1859public delegate void HttpContinueDelegate(int StatusCode, WebHeaderCollection httpHeaders);
net\System\Net\Logging.cs (1)
602string output = "<<" + WebHeaderCollection.HeaderEncoding.GetString(buffer, offset, length) + ">>";
net\System\Net\UnsafeNativeMethods.cs (2)
2976internal static WebHeaderCollection GetHeaders(byte[] memoryBlob, IntPtr originalAddress) 2981WebHeaderCollection headerCollection = new WebHeaderCollection(WebHeaderCollectionType.HttpListenerRequest);
net\System\Net\webclient.cs (3)
40WebHeaderCollection m_headers; 201public WebHeaderCollection Headers { 225public WebHeaderCollection ResponseHeaders {
net\System\Net\WebHeaderCollection.cs (1)
975/// Initializes a new instance of the <see cref='System.Net.WebHeaderCollection'/>
net\System\Net\WebRequest.cs (2)
692public virtual WebHeaderCollection Headers { 694Contract.Ensures(Contract.Result<WebHeaderCollection>() != null);
net\System\Net\WebResponse.cs (2)
237public virtual WebHeaderCollection Headers { 240Contract.Ensures(Contract.Result<WebHeaderCollection>() != null);
net\System\Net\WebSockets\ClientWebSocket.cs (2)
401private readonly WebHeaderCollection requestHeaders; 432internal WebHeaderCollection RequestHeaders { get { return requestHeaders; } }
System.Data.Services (15)
System\Data\Services\BatchServiceHost.cs (4)
57private readonly WebHeaderCollection requestHeaders; 60private readonly WebHeaderCollection responseHeaders; 262WebHeaderCollection IDataServiceHost2.RequestHeaders 268WebHeaderCollection IDataServiceHost2.ResponseHeaders
System\Data\Services\DataServiceHostWrapper.cs (4)
106private WebHeaderCollection requestHeaders; 109private WebHeaderCollection responseHeaders; 306internal WebHeaderCollection RequestHeaders 325internal WebHeaderCollection ResponseHeaders
System\Data\Services\DataServiceOperationContext.cs (2)
125public WebHeaderCollection RequestHeaders 133public WebHeaderCollection ResponseHeaders
System\Data\Services\HttpContextServiceHost.cs (2)
351WebHeaderCollection IDataServiceHost2.RequestHeaders 358WebHeaderCollection IDataServiceHost2.ResponseHeaders
System\Data\Services\IDataServiceHost.cs (2)
185WebHeaderCollection RequestHeaders 191WebHeaderCollection ResponseHeaders
System\Data\Services\Serializers\BatchWriter.cs (1)
72System.Net.WebHeaderCollection responseHeaders = host.ResponseHeaders;
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (1)
2010System.Net.WebHeaderCollection requestHeaders;
System\Data\Services\Client\SendingRequestEventArgs.cs (3)
29private System.Net.WebHeaderCollection requestHeaders; 36internal SendingRequestEventArgs(System.Net.WebRequest request, System.Net.WebHeaderCollection requestHeaders) 73public System.Net.WebHeaderCollection RequestHeaders
System.Net (1)
AssemblyInfo.cs (1)
40[assembly: TypeForwardedToAttribute(typeof(System.Net.WebHeaderCollection))]
System.ServiceModel (29)
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
2534WebHeaderCollection requestHeaders = requestProperty.Headers; 2983WebHeaderCollection responseHeaders = responseProperty.Headers; 4240public void CopyHeaders(WebHeaderCollection headers)
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (2)
17/// The HttpHeadersWebHeaderCollection is an implementation of the <see cref="WebHeaderCollection"/> class 20/// <see cref="WebHeaderCollection"/>. This is because the <see cref="HttpRequestMessage"/> or
System\ServiceModel\Channels\HttpRequestContext.cs (1)
884void HttpRequestMessageProperty.IHttpHeaderProvider.CopyHeaders(WebHeaderCollection headers)
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (6)
41public WebHeaderCollection Headers 201void CopyHeaders(WebHeaderCollection headers); 209WebHeaderCollection headers; 220public WebHeaderCollection Headers 272public WebHeaderCollection Headers 387WebHeaderCollection headersToMerge = propertyToMerge.Headers;
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (9)
21: this((WebHeaderCollection)null) 25internal HttpResponseMessageProperty(WebHeaderCollection originalHeaders) 42public WebHeaderCollection Headers 229WebHeaderCollection headers; 230WebHeaderCollection originalHeaders; 233public TraditionalHttpResponseMessageProperty(WebHeaderCollection originalHeaders) 240public WebHeaderCollection Headers 294public WebHeaderCollection Headers 406WebHeaderCollection headersToMerge = propertyToMerge.Headers;
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (2)
314WebHeaderCollection responseHeaders = responseProperty.Headers; 336WebHeaderCollection responseHeaders = requestProperty.Headers;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
439WebHeaderCollection webHeaderCollection; 548else if (typeof(T) == typeof(WebHeaderCollection))
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
47WebHeaderCollection webHeaderCollection; 57public WebHeaderCollection WebHeaders
System\ServiceModel\Security\Tokens\InitiatorServiceModelSecurityTokenRequirement.cs (2)
19WebHeaderCollection webHeaderCollection; 75internal WebHeaderCollection WebHeaders
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
575WebHeaderCollection responseHeaders = responseProperty.Headers; 783void HttpRequestMessageProperty.IHttpHeaderProvider.CopyHeaders(WebHeaderCollection headers)
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\MessageExtensionMethods.cs (2)
151WebHeaderCollection headers = requestMessageProperty.Headers; 180WebHeaderCollection headers = responseMessageProperty.Headers;
System.ServiceModel.Web (4)
System\ServiceModel\Web\IncomingWebRequestContext.cs (1)
105public WebHeaderCollection Headers
System\ServiceModel\Web\IncomingWebResponseContext.cs (1)
33public WebHeaderCollection Headers
System\ServiceModel\Web\OutgoingWebRequestContext.cs (1)
41public WebHeaderCollection Headers
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
50public WebHeaderCollection Headers