Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / HttpRawResponse.cs / 1 / HttpRawResponse.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* Lean representation of response data
*
* Copyright (c) 1998 Microsoft Corporation
*/
namespace System.Web {
using System.Collections;
internal class HttpRawResponse {
private int _statusCode;
private String _statusDescr;
private ArrayList _headers;
private ArrayList _buffers;
private bool _hasSubstBlocks;
internal HttpRawResponse(int statusCode, string statusDescription, ArrayList headers, ArrayList buffers, bool hasSubstBlocks) {
_statusCode = statusCode;
_statusDescr = statusDescription;
_headers = headers;
_buffers = buffers;
_hasSubstBlocks = hasSubstBlocks;
}
internal int StatusCode {
get { return _statusCode;}
}
internal String StatusDescription {
get { return _statusDescr;}
}
// list of HttpResponseHeader objects
internal ArrayList Headers {
get { return _headers;}
}
// list of IHttpResponseElement objects
internal ArrayList Buffers {
get {
return _buffers;
}
}
internal bool HasSubstBlocks {
get { return _hasSubstBlocks;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* Lean representation of response data
*
* Copyright (c) 1998 Microsoft Corporation
*/
namespace System.Web {
using System.Collections;
internal class HttpRawResponse {
private int _statusCode;
private String _statusDescr;
private ArrayList _headers;
private ArrayList _buffers;
private bool _hasSubstBlocks;
internal HttpRawResponse(int statusCode, string statusDescription, ArrayList headers, ArrayList buffers, bool hasSubstBlocks) {
_statusCode = statusCode;
_statusDescr = statusDescription;
_headers = headers;
_buffers = buffers;
_hasSubstBlocks = hasSubstBlocks;
}
internal int StatusCode {
get { return _statusCode;}
}
internal String StatusDescription {
get { return _statusDescr;}
}
// list of HttpResponseHeader objects
internal ArrayList Headers {
get { return _headers;}
}
// list of IHttpResponseElement objects
internal ArrayList Buffers {
get {
return _buffers;
}
}
internal bool HasSubstBlocks {
get { return _hasSubstBlocks;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpModuleCollection.cs
- XmlMembersMapping.cs
- TextViewElement.cs
- SignatureHelper.cs
- DataGridViewTopRowAccessibleObject.cs
- documentsequencetextcontainer.cs
- processwaithandle.cs
- Queue.cs
- SettingsBindableAttribute.cs
- Attributes.cs
- CompareInfo.cs
- PrintDialog.cs
- ToolStrip.cs
- GridViewUpdatedEventArgs.cs
- MonitorWrapper.cs
- DbDataRecord.cs
- XmlTextReaderImplHelpers.cs
- GlobalizationAssembly.cs
- DataGridBeginningEditEventArgs.cs
- XmlRootAttribute.cs
- ObjectDataSourceEventArgs.cs
- AnnotationResourceChangedEventArgs.cs
- ControlBindingsCollection.cs
- LookupTables.cs
- CanonicalFontFamilyReference.cs
- SqlFunctionAttribute.cs
- InternalControlCollection.cs
- ServiceModelExtensionCollectionElement.cs
- MarkupObject.cs
- ServiceModelConfigurationSectionGroup.cs
- UpdateCompiler.cs
- BindingMemberInfo.cs
- EntityDataReader.cs
- TextServicesProperty.cs
- FullTextState.cs
- ControlPaint.cs
- TextServicesPropertyRanges.cs
- CollectionView.cs
- SapiInterop.cs
- DelayedRegex.cs
- DifferencingCollection.cs
- XmlSchemaSimpleContent.cs
- HyperLinkDesigner.cs
- SoapIncludeAttribute.cs
- HtmlHead.cs
- DocumentPageViewAutomationPeer.cs
- SizeKeyFrameCollection.cs
- ConversionContext.cs
- SimpleWorkerRequest.cs
- Vector3DAnimationBase.cs
- XmlSchemaSimpleContent.cs
- ContextQuery.cs
- MouseButtonEventArgs.cs
- BufferedOutputAsyncStream.cs
- HttpApplicationFactory.cs
- SoapFormatter.cs
- PeerNameRecord.cs
- Debug.cs
- TraceUtility.cs
- MouseBinding.cs
- WebBrowserUriTypeConverter.cs
- ObjectQuery_EntitySqlExtensions.cs
- PointAnimationBase.cs
- ScrollBar.cs
- CodeMemberMethod.cs
- _TimerThread.cs
- BindingMAnagerBase.cs
- AlternateViewCollection.cs
- FontStretches.cs
- WindowsGraphicsCacheManager.cs
- Dynamic.cs
- EnumBuilder.cs
- UndoEngine.cs
- RelationshipEndCollection.cs
- NumberSubstitution.cs
- parserscommon.cs
- NotifyParentPropertyAttribute.cs
- Brush.cs
- ProviderIncompatibleException.cs
- followingquery.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- RegexCompilationInfo.cs
- MemberInfoSerializationHolder.cs
- HtmlGenericControl.cs
- _NegoStream.cs
- GPPOINT.cs
- WebHeaderCollection.cs
- SiteMapNodeCollection.cs
- TypeBuilderInstantiation.cs
- SqlUDTStorage.cs
- GridView.cs
- HttpMethodAttribute.cs
- HtmlInputPassword.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- AssemblyHash.cs
- GrowingArray.cs
- PerfCounters.cs
- WindowsFormsHostAutomationPeer.cs
- Rect3D.cs
- ImageSourceValueSerializer.cs