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 sealed class HttpHeadAttribute : ActionMethodSelectorAttribute

NameDescription
System_CAPS_pubmethodHttpHeadAttribute()

Initializes a new instance of the HttpHeadAttribute class.

NameDescription
System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodIsValidForRequest(ControllerContext, MethodInfo)

Determines whether the action method request is valid for the specified controller context.(Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: