C# Class ServiceStack.WebHost.Endpoints.Extensions.HttpRequestExtensions

Afficher le fichier Open project: firstsee/ServiceStack Class Usage Examples

Méthodes publiques

Свойство Type Description
PreferredContentTypes string[]

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetAuthority ( HttpRequest request ) : string
GetLastPathInfoFromRawUrl ( string rawUrl ) : string
GetPathInfo ( string pathInfo, string fullPath ) : string
HttpRequestExtensions ( ) : System
ResolvePathInfoFromMappedPath ( string fullPath, string mappedPathRoot ) : string

Method Details

GetBaseUrl() public static méthode

public static GetBaseUrl ( this request ) : string
request this
Résultat string

GetHttpRequest() public static méthode

public static GetHttpRequest ( this request ) : IHttpRequest
request this
Résultat IHttpRequest

GetLastPathInfo() public static méthode

public static GetLastPathInfo ( this request ) : string
request this
Résultat string

GetOperationName() public static méthode

public static GetOperationName ( this request ) : string
request this
Résultat string

GetOperationNameFromLastPathInfo() public static méthode

public static GetOperationNameFromLastPathInfo ( string lastPathInfo ) : string
lastPathInfo string
Résultat string

GetParentBaseUrl() public static méthode

public static GetParentBaseUrl ( this request ) : string
request this
Résultat string

GetPathInfo() public static méthode

public static GetPathInfo ( this request ) : string
request this
Résultat string

GetQueryStringContentType() public static méthode

public static GetQueryStringContentType ( this httpReq ) : string
httpReq this
Résultat string

GetRequestParams() public static méthode

public static GetRequestParams ( this request ) : string>.Dictionary
request this
Résultat string>.Dictionary

GetResponseContentType() public static méthode

public static GetResponseContentType ( this httpReq ) : string
httpReq this
Résultat string

GetUrlHostName() public static méthode

public static GetUrlHostName ( this request ) : string
request this
Résultat string

HasAnyOfContentTypes() public static méthode

public static HasAnyOfContentTypes ( this request ) : bool
request this
Résultat bool

IsContentType() public static méthode

public static IsContentType ( this request, string contentType ) : bool
request this
contentType string
Résultat bool

Property Details

PreferredContentTypes public_oe static_oe property

public static string[] PreferredContentTypes
Résultat string[]