Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,11 @@ public partial interface IHttpHandler
bool IsReusable { get; }
void ProcessRequest(System.Web.HttpContext context);
}
public partial interface IHttpHandlerFactory
{
System.Web.IHttpHandler GetHandler(System.Web.HttpContext context, string requestType, string url, string pathTranslated);
void ReleaseHandler(System.Web.IHttpHandler handler);
}
public partial interface IHttpModule
{
void Dispose();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.HttpUnhandledException))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.IHttpAsyncHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.IHttpHandler))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.IHttpHandlerFactory))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.IHttpModule))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.ISubscriptionToken))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Web.ReadEntityBodyMode))]
Expand Down
12 changes: 12 additions & 0 deletions src/Microsoft.AspNetCore.SystemWebAdapters/IHttpHandlerFactory.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace System.Web;

public interface IHttpHandlerFactory
{
[Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1054:URI-like parameters should not be strings", Justification = Constants.ApiFromAspNet)]
IHttpHandler GetHandler(HttpContext context, String requestType, String url, String pathTranslated);

void ReleaseHandler(IHttpHandler handler);
}