Class HttpMethodHelper
Inheritance
System.Object
HttpMethodHelper
Assembly: Volo.Abp.Http.dll
Syntax
public static class HttpMethodHelper : object
Fields
DefaultHttpVerb
Declaration
public const string DefaultHttpVerb = null
Field Value
Type |
Description |
System.String |
|
Properties
ConventionalPrefixes
Declaration
public static Dictionary<string, string[]> ConventionalPrefixes { get; set; }
Property Value
Type |
Description |
Dictionary<System.String, System.String[]> |
|
Methods
ConvertToHttpMethod(String)
Declaration
public static HttpMethod ConvertToHttpMethod(string httpMethod)
Parameters
Type |
Name |
Description |
System.String |
httpMethod |
|
Returns
Type |
Description |
HttpMethod |
|
Declaration
public static string GetConventionalVerbForMethodName(string methodName)
Parameters
Type |
Name |
Description |
System.String |
methodName |
|
Returns
Type |
Description |
System.String |
|
RemoveHttpMethodPrefix(String, String)
Declaration
public static string RemoveHttpMethodPrefix(string methodName, string httpMethod)
Parameters
Type |
Name |
Description |
System.String |
methodName |
|
System.String |
httpMethod |
|
Returns
Type |
Description |
System.String |
|