C# Класс ServiceStack.HttpHandlerFactory

Наследование: IHttpHandlerFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetCatchAllHandlerIfAny ( string httpMethod, string pathInfo, string filePath ) : IHttpHandler
HttpHandlerFactory ( ) : System
ReturnDefaultHandler ( IHttpRequest httpReq ) : IHttpHandler
ReturnRequestInfo ( IHttpRequest httpReq ) : IHttpHandler
SetApplicationBaseUrl ( string absoluteUrl ) : void

Описание методов

GetBaseUrl() публичный статический Метод

public static GetBaseUrl ( ) : string
Результат string

GetHandler() публичный Метод

public GetHandler ( HttpContext ctx, string requestType, string url, string pathTranslated ) : IHttpHandler
ctx System.Web.HttpContext
requestType string
url string
pathTranslated string
Результат IHttpHandler

GetHandler() публичный статический Метод

public static GetHandler ( IHttpRequest httpReq ) : IHttpHandler
httpReq IHttpRequest
Результат IHttpHandler

GetHandlerForPathInfo() публичный статический Метод

public static GetHandlerForPathInfo ( string httpMethod, string pathInfo, string requestPath, string filePath ) : IHttpHandler
httpMethod string
pathInfo string
requestPath string
filePath string
Результат IHttpHandler

ReleaseHandler() публичный Метод

public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler
Результат void

ShouldAllow() публичный статический Метод

public static ShouldAllow ( string filePath ) : bool
filePath string
Результат bool