C# Class ServiceStack.ContentFormat

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

Méthodes publiques

Méthode Description
GetContentFormat ( Format format ) : string
GetContentFormat ( string contentType ) : string
GetEndpointAttributes ( string contentType ) : RequestAttributes
GetRealContentType ( string contentType ) : string
GetRequestAttribute ( string httpMethod ) : RequestAttributes
IsBinary ( this contentType ) : bool
MatchesContentType ( this contentType, string matchesContentType ) : bool
ToContentFormat ( this contentType ) : string
ToContentType ( this formats ) : string
ToFeature ( this contentType ) : Feature

Method Details

GetContentFormat() public static méthode

public static GetContentFormat ( Format format ) : string
format Format
Résultat string

GetContentFormat() public static méthode

public static GetContentFormat ( string contentType ) : string
contentType string
Résultat string

GetEndpointAttributes() public static méthode

public static GetEndpointAttributes ( string contentType ) : RequestAttributes
contentType string
Résultat RequestAttributes

GetRealContentType() public static méthode

public static GetRealContentType ( string contentType ) : string
contentType string
Résultat string

GetRequestAttribute() public static méthode

public static GetRequestAttribute ( string httpMethod ) : RequestAttributes
httpMethod string
Résultat RequestAttributes

IsBinary() public static méthode

public static IsBinary ( this contentType ) : bool
contentType this
Résultat bool

MatchesContentType() public static méthode

public static MatchesContentType ( this contentType, string matchesContentType ) : bool
contentType this
matchesContentType string
Résultat bool

ToContentFormat() public static méthode

public static ToContentFormat ( this contentType ) : string
contentType this
Résultat string

ToContentType() public static méthode

public static ToContentType ( this formats ) : string
formats this
Résultat string

ToFeature() public static méthode

public static ToFeature ( this contentType ) : Feature
contentType this
Résultat Feature