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
System_CAPS_pubmethodSystem_CAPS_static GetRequestFormat(HttpRequestBase)

Returns the format of a given request.

System_CAPS_pubmethodSystem_CAPS_static GetResponseFormats(HttpRequestBase)

Returns the preferred content type to use for the response, based on the request.

System_CAPS_pubmethodSystem_CAPS_static IsBrowserRequest(HttpRequestBase)

Determines whether the specified HTTP request was sent by a Browser.

System_CAPS_pubmethodSystem_CAPS_static IsHttpMethod(HttpRequestBase, HttpVerbs)

Gets a value that indicates whether the HTTP data-transfer method was used by the client.

System_CAPS_pubmethodSystem_CAPS_static IsHttpMethod(HttpRequestBase, HttpVerbs, Boolean)

Gets a value that indicates whether the HTTP data-transfer method was used by the client.

System_CAPS_pubmethodSystem_CAPS_static IsHttpMethod(HttpRequestBase, String)

Gets a value that indicates whether the HTTP data-transfer method was used by the client.

System_CAPS_pubmethodSystem_CAPS_static 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