Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / HttpRawResponse.cs / 3 / 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.
//------------------------------------------------------------------------------
//
// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RuleRef.cs
- BoundColumn.cs
- UserPreferenceChangingEventArgs.cs
- BaseDataListDesigner.cs
- IntSecurity.cs
- ElementHost.cs
- TraceLog.cs
- SqlConnectionPoolGroupProviderInfo.cs
- remotingproxy.cs
- VariableQuery.cs
- XmlArrayAttribute.cs
- CellQuery.cs
- BufferModesCollection.cs
- RsaSecurityKey.cs
- _Events.cs
- XmlLoader.cs
- XmlCharCheckingWriter.cs
- ShellProvider.cs
- TextEvent.cs
- HtmlTableRowCollection.cs
- TransferRequestHandler.cs
- BehaviorEditorPart.cs
- JsonDeserializer.cs
- CounterSetInstanceCounterDataSet.cs
- WindowExtensionMethods.cs
- XmlHelper.cs
- AsyncPostBackTrigger.cs
- ObjectDataSourceFilteringEventArgs.cs
- SimpleColumnProvider.cs
- DtdParser.cs
- Item.cs
- TextSegment.cs
- ConstructorExpr.cs
- InheritanceService.cs
- control.ime.cs
- WebPartMovingEventArgs.cs
- ScriptBehaviorDescriptor.cs
- Set.cs
- DataTableReaderListener.cs
- DataGridViewCellStateChangedEventArgs.cs
- ProfileEventArgs.cs
- MimeMultiPart.cs
- SqlReorderer.cs
- SpellerStatusTable.cs
- ChtmlSelectionListAdapter.cs
- ArrayWithOffset.cs
- FormatException.cs
- WorkItem.cs
- DataPagerFieldCommandEventArgs.cs
- SafeReversePInvokeHandle.cs
- JobStaple.cs
- StringPropertyBuilder.cs
- SEHException.cs
- TypeBuilderInstantiation.cs
- HtmlButton.cs
- ExpressionsCollectionEditor.cs
- TextPenaltyModule.cs
- DataGrid.cs
- NavigationProgressEventArgs.cs
- SqlErrorCollection.cs
- Base64Stream.cs
- InputLanguageManager.cs
- WebConfigurationManager.cs
- SchemaCollectionCompiler.cs
- TogglePattern.cs
- WorkflowApplicationCompletedException.cs
- BasicViewGenerator.cs
- DataBinding.cs
- CodeGenerator.cs
- MemoryMappedFile.cs
- ServiceNameElementCollection.cs
- CompiledIdentityConstraint.cs
- InputScopeNameConverter.cs
- XmlAttributeProperties.cs
- ChangeToolStripParentVerb.cs
- BitmapEffectGroup.cs
- ValidationPropertyAttribute.cs
- QilInvoke.cs
- AuthenticatedStream.cs
- ScrollProviderWrapper.cs
- EdmError.cs
- BitmapSource.cs
- Token.cs
- ActiveDesignSurfaceEvent.cs
- ObjectFullSpanRewriter.cs
- LogExtentCollection.cs
- AmbientEnvironment.cs
- ManagementDateTime.cs
- DocumentGridContextMenu.cs
- Polyline.cs
- RuntimeConfigurationRecord.cs
- ProgressChangedEventArgs.cs
- XpsLiterals.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ConnectionOrientedTransportManager.cs
- ObjectStateManagerMetadata.cs
- Preprocessor.cs
- ContainsSearchOperator.cs
- IPPacketInformation.cs
- WhiteSpaceTrimStringConverter.cs