HttpRequestBaseExtensions Class
Represents the HttpRequestBase extension methods that call directly into the DefaultFormatHelper.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.Resources.HttpRequestBaseExtensions
Syntax
public static class HttpRequestBaseExtensions
[ExtensionAttribute]
public ref class HttpRequestBaseExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type HttpRequestBaseExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class HttpRequestBaseExtensions
Methods
Name | Description | |
---|---|---|
GetRequestFormat(HttpRequestBase) | Returns the format of a given request. |
|
GetResponseFormats(HttpRequestBase) | Returns the preferred content type to use for the response, based on the request. |
|
IsBrowserRequest(HttpRequestBase) | Determines whether the specified HTTP request was sent by a Browser. |
|
IsHttpMethod(HttpRequestBase, HttpVerbs) | Gets a value that indicates whether the HTTP data-transfer method was used by the client. |
|
IsHttpMethod(HttpRequestBase, HttpVerbs, Boolean) | Gets a value that indicates whether the HTTP data-transfer method was used by the client. |
|
IsHttpMethod(HttpRequestBase, String) | Gets a value that indicates whether the HTTP data-transfer method was used by the client. |
|
IsHttpMethod(HttpRequestBase, String, Boolean) | Gets a value that indicates whether the HTTP data-transfer method was used by the client. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.Resources Namespace
Return to top