C# Class ServiceStack.HttpHandlerFactory

Inheritance: IHttpHandlerFactory
ファイルを表示 Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method Description
GetBaseUrl ( ) : string
GetHandler ( HttpContext ctx, string requestType, string url, string pathTranslated ) : IHttpHandler
GetHandler ( IHttpRequest httpReq ) : IHttpHandler
GetHandlerForPathInfo ( string httpMethod, string pathInfo, string requestPath, string filePath ) : IHttpHandler
ReleaseHandler ( IHttpHandler handler ) : void
ShouldAllow ( string filePath ) : bool

Private Methods

Method Description
GetCatchAllHandlerIfAny ( string httpMethod, string pathInfo, string filePath ) : IHttpHandler
HttpHandlerFactory ( ) : System
ReturnDefaultHandler ( IHttpRequest httpReq ) : IHttpHandler
ReturnRequestInfo ( IHttpRequest httpReq ) : IHttpHandler
SetApplicationBaseUrl ( string absoluteUrl ) : void

Method Details

GetBaseUrl() public static method

public static GetBaseUrl ( ) : string
return string

GetHandler() public method

public GetHandler ( HttpContext ctx, string requestType, string url, string pathTranslated ) : IHttpHandler
ctx System.Web.HttpContext
requestType string
url string
pathTranslated string
return IHttpHandler

GetHandler() public static method

public static GetHandler ( IHttpRequest httpReq ) : IHttpHandler
httpReq IHttpRequest
return IHttpHandler

GetHandlerForPathInfo() public static method

public static GetHandlerForPathInfo ( string httpMethod, string pathInfo, string requestPath, string filePath ) : IHttpHandler
httpMethod string
pathInfo string
requestPath string
filePath string
return IHttpHandler

ReleaseHandler() public method

public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler
return void

ShouldAllow() public static method

public static ShouldAllow ( string filePath ) : bool
filePath string
return bool