Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / HttpGetServerProtocol.cs / 1305376 / HttpGetServerProtocol.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { internal class HttpGetServerProtocolFactory : ServerProtocolFactory { protected override ServerProtocol CreateIfRequestCompatible(HttpRequest request){ if (request.PathInfo.Length < 2) return null; if (request.HttpMethod != "GET") // MethodNotAllowed = 405, return new UnsupportedRequestProtocol(405); return new HttpGetServerProtocol(); } } internal class HttpGetServerProtocol : HttpServerProtocol { internal HttpGetServerProtocol() : base(false) { } } } // 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
- ColorTransformHelper.cs
- TableLayout.cs
- FormsAuthenticationConfiguration.cs
- webclient.cs
- Baml2006Reader.cs
- PropertyCondition.cs
- SoapElementAttribute.cs
- EntityDataSourceConfigureObjectContext.cs
- HttpRequest.cs
- EmptyImpersonationContext.cs
- PrimitiveType.cs
- DiscoveryClientDuplexChannel.cs
- ClientFormsIdentity.cs
- BooleanFacetDescriptionElement.cs
- DataServiceProcessingPipeline.cs
- FloaterParaClient.cs
- PackageRelationshipCollection.cs
- Schema.cs
- XmlNavigatorStack.cs
- TableSectionStyle.cs
- DataGridClipboardCellContent.cs
- EntityContainerEntitySetDefiningQuery.cs
- HwndAppCommandInputProvider.cs
- SignatureDescription.cs
- WinEventTracker.cs
- WebPartHeaderCloseVerb.cs
- TypeDescriptorFilterService.cs
- TextBox.cs
- StringArrayConverter.cs
- WindowsFont.cs
- Compensate.cs
- AssemblyBuilder.cs
- CaseExpr.cs
- PointHitTestParameters.cs
- PropertyTabChangedEvent.cs
- BooleanAnimationBase.cs
- AppPool.cs
- Int32Storage.cs
- CompilationUnit.cs
- XamlVector3DCollectionSerializer.cs
- Image.cs
- HttpCookiesSection.cs
- DataServiceQueryException.cs
- PeerEndPoint.cs
- UnsafeNativeMethods.cs
- XPathParser.cs
- ClaimTypes.cs
- contentDescriptor.cs
- FileDialog.cs
- DesignerTransaction.cs
- WindowsFont.cs
- ResourceDescriptionAttribute.cs
- SecurityBindingElementImporter.cs
- SetStateDesigner.cs
- SqlBuffer.cs
- LocalizabilityAttribute.cs
- ManualResetEventSlim.cs
- AndCondition.cs
- TrackPointCollection.cs
- BezierSegment.cs
- FillBehavior.cs
- SafeRegistryHandle.cs
- DbParameterCollection.cs
- FieldAccessException.cs
- HtmlTitle.cs
- GPPOINTF.cs
- DataGridViewCellValueEventArgs.cs
- SqlEnums.cs
- DynamicDiscoveryDocument.cs
- TextDecorationUnitValidation.cs
- DataServiceRequestException.cs
- JumpPath.cs
- XmlReflectionMember.cs
- _SslSessionsCache.cs
- FontStretchConverter.cs
- WindowsGrip.cs
- CommonDialog.cs
- CreateUserErrorEventArgs.cs
- CursorConverter.cs
- DelimitedListTraceListener.cs
- ListViewInsertionMark.cs
- MessageQueueAccessControlEntry.cs
- NGCPageContentSerializerAsync.cs
- IntMinMaxAggregationOperator.cs
- ComponentManagerBroker.cs
- EntitySetDataBindingList.cs
- CompositeCollection.cs
- RoleManagerSection.cs
- CodeBinaryOperatorExpression.cs
- QilParameter.cs
- Int64Animation.cs
- Size.cs
- RSACryptoServiceProvider.cs
- _NestedMultipleAsyncResult.cs
- _Win32.cs
- XslTransform.cs
- ControlEvent.cs
- ResXResourceSet.cs
- StringConverter.cs
- PaperSize.cs