C# Класс ServiceStack.WebHost.Endpoints.Extensions.HttpRequestExtensions

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

Открытые свойства

Свойство Тип Описание
PreferredContentTypes string[]

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

Метод Описание
GetBaseUrl ( this request ) : string
GetHttpRequest ( this request ) : IHttpRequest
GetLastPathInfo ( this request ) : string
GetOperationName ( this request ) : string
GetOperationNameFromLastPathInfo ( string lastPathInfo ) : string
GetParentBaseUrl ( this request ) : string
GetPathInfo ( this request ) : string
GetQueryStringContentType ( this httpReq ) : string
GetRequestParams ( this request ) : string>.Dictionary
GetResponseContentType ( this httpReq ) : string
GetUrlHostName ( this request ) : string
HasAnyOfContentTypes ( this request ) : bool
IsContentType ( this request, string contentType ) : bool

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

Метод Описание
GetAuthority ( HttpRequest request ) : string
GetLastPathInfoFromRawUrl ( string rawUrl ) : string
GetPathInfo ( string pathInfo, string fullPath ) : string
HttpRequestExtensions ( ) : System
ResolvePathInfoFromMappedPath ( string fullPath, string mappedPathRoot ) : string

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

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

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

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

public static GetHttpRequest ( this request ) : IHttpRequest
request this
Результат IHttpRequest

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

public static GetLastPathInfo ( this request ) : string
request this
Результат string

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

public static GetOperationName ( this request ) : string
request this
Результат string

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

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

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

public static GetParentBaseUrl ( this request ) : string
request this
Результат string

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

public static GetPathInfo ( this request ) : string
request this
Результат string

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

public static GetQueryStringContentType ( this httpReq ) : string
httpReq this
Результат string

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

public static GetRequestParams ( this request ) : string>.Dictionary
request this
Результат string>.Dictionary

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

public static GetResponseContentType ( this httpReq ) : string
httpReq this
Результат string

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

public static GetUrlHostName ( this request ) : string
request this
Результат string

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

public static HasAnyOfContentTypes ( this request ) : bool
request this
Результат bool

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

public static IsContentType ( this request, string contentType ) : bool
request this
contentType string
Результат bool

Описание свойств

PreferredContentTypes публичное статическое свойство

public static string[] PreferredContentTypes
Результат string[]