Export (0) Print
Expand All

HttpHeadAttribute Class

Specifies that the HTTP request must be the HTTP HEAD method.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class HttpHeadAttribute _
	Inherits ActionMethodSelectorAttribute
Dim instance As HttpHeadAttribute

The HttpHeadAttribute type exposes the following members.

Public methodHttpHeadAttributeInitializes a new instance of the HttpHeadAttribute class.

Public propertyTypeId (Inherited from Attribute.)

Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodIsValidForRequestDetermines whether a request is a valid HTTP HEAD request. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Represents an attribute that is used to restrict an action method so that the method handles only HTTP HEAD requests.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft