Skip to main content

HttpHandlerFactory

Assembly: ServiceStack.dll
View Source
Declaration
public class HttpHandlerFactory : IHttpHandlerFactory

Fields

WebHostPhysicalPath

View Source
Declaration
public static string WebHostPhysicalPath

DefaultRootFileName

View Source
Declaration
public static string DefaultRootFileName

DefaultHttpHandler

View Source
Declaration
public static IHttpHandler DefaultHttpHandler

NonRootModeDefaultHttpHandler

View Source
Declaration
public static RedirectHttpHandler NonRootModeDefaultHttpHandler

ForbiddenHttpHandler

View Source
Declaration
public static IHttpHandler ForbiddenHttpHandler

NotFoundHttpHandler

View Source
Declaration
public static IHttpHandler NotFoundHttpHandler

StaticFilesHandler

View Source
Declaration
public static IHttpHandler StaticFilesHandler

DebugLastHandlerArgs

View Source
Declaration
[ThreadStatic]
public static string DebugLastHandlerArgs

Methods

InitHandler(IHttpHandler, IHttpRequest)

View Source
Declaration
public static IHttpHandler InitHandler(IHttpHandler handler, IHttpRequest httpReq)
Returns

System.Web.IHttpHandler

Parameters
TypeName
System.Web.IHttpHandlerhandler
ServiceStack.Web.IHttpRequesthttpReq

GetHandler(HttpContext, String, String, String)

View Source
Declaration
public IHttpHandler GetHandler(HttpContext ctx, string requestType, string url, string pathTranslated)
Returns

System.Web.IHttpHandler

Parameters
TypeName
System.Web.HttpContextctx
System.StringrequestType
System.Stringurl
System.StringpathTranslated

GetHandler(IHttpRequest)

View Source
Declaration
public static IHttpHandler GetHandler(IHttpRequest httpReq)
Returns

System.Web.IHttpHandler

Parameters
TypeName
ServiceStack.Web.IHttpRequesthttpReq

ShouldAllow(String)

View Source
Declaration
public static bool ShouldAllow(string pathInfo)
Returns

System.Boolean

Parameters
TypeName
System.StringpathInfo

GetHandlerForPathInfo(IHttpRequest, String)

View Source
Declaration
public static IHttpHandler GetHandlerForPathInfo(IHttpRequest httpReq, string filePath)
Returns

System.Web.IHttpHandler

Parameters
TypeName
ServiceStack.Web.IHttpRequesthttpReq
System.StringfilePath

ReleaseHandler(IHttpHandler)

View Source
Declaration
public void ReleaseHandler(IHttpHandler handler)
Parameters
TypeName
System.Web.IHttpHandlerhandler

Implements

  • System.Web.IHttpHandlerFactory