mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
HttpGetClientProtocol.cs, HttpPostClientProtocol.cs, HttpSimpleClientProtocol.cs, MimeFormatter.cs, MimeParameterWriter.cs, NopReturnReader.cs, UrlEncodedParameterWriter.cs, UrlParameterReader.cs, UrlParameterWriter.cs, ValueCollectionParameterReader.cs, WebClientAsyncResult.cs, XmlReturnReader.cs, XmlReturnWriter.cs : Implemented. * HttpSoapWebServiceHandler.cs, SoapClientMessage.cs, SoapServerMessage.cs, SoapDocumentationHandler.cs, SoapHttpClientProtocol.cs, WebServiceHelper.cs: Changed due to modifications in TypeStubInfo. * Methods.cs: Moved common code to TypeStubInfo.cs. * WebServiceHandler.cs: Moved invoke code to HttpSoapWebServiceHandler.cs * ServerProtocol.cs, SoapServerProtocol.cs: Fixed formatting. * WebServiceHandlerFactory.cs: Added support for HttpGet and HttpPost. svn path=/trunk/mcs/; revision=18472
71 lines
1.3 KiB
C#
71 lines
1.3 KiB
C#
//
|
|
// System.Web.Services.Protocols.WebServiceHandler.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
// Lluis Sanchez Gual ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
using System;
|
|
using System.Reflection;
|
|
using System.Web.Services;
|
|
|
|
namespace System.Web.Services.Protocols
|
|
{
|
|
internal class WebServiceHandler: IHttpHandler
|
|
{
|
|
Type _type;
|
|
|
|
public WebServiceHandler (Type type)
|
|
{
|
|
_type = type;
|
|
}
|
|
|
|
public Type ServiceType
|
|
{
|
|
get { return _type; }
|
|
}
|
|
|
|
public virtual bool IsReusable
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public virtual void ProcessRequest (HttpContext context)
|
|
{
|
|
}
|
|
|
|
protected object CreateServerInstance ()
|
|
{
|
|
return Activator.CreateInstance (ServiceType);
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected IAsyncResult BeginCoreProcessRequest (AsyncCallback callback, object o)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected void CoreProcessRequest ()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected void EndCoreProcessRequest (IAsyncResult result)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
private void WriteReturns (object[] returnValues)
|
|
{
|
|
//protocol.WriteReturns (returnValues, outputStream);
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
}
|