C# Class ServiceStack.ContentFormat

Exibir arquivo Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method 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 method

public static GetContentFormat ( Format format ) : string
format Format
return string

GetContentFormat() public static method

public static GetContentFormat ( string contentType ) : string
contentType string
return string

GetEndpointAttributes() public static method

public static GetEndpointAttributes ( string contentType ) : RequestAttributes
contentType string
return RequestAttributes

GetRealContentType() public static method

public static GetRealContentType ( string contentType ) : string
contentType string
return string

GetRequestAttribute() public static method

public static GetRequestAttribute ( string httpMethod ) : RequestAttributes
httpMethod string
return RequestAttributes

IsBinary() public static method

public static IsBinary ( this contentType ) : bool
contentType this
return bool

MatchesContentType() public static method

public static MatchesContentType ( this contentType, string matchesContentType ) : bool
contentType this
matchesContentType string
return bool

ToContentFormat() public static method

public static ToContentFormat ( this contentType ) : string
contentType this
return string

ToContentType() public static method

public static ToContentType ( this formats ) : string
formats this
return string

ToFeature() public static method

public static ToFeature ( this contentType ) : Feature
contentType this
return Feature