C# Class MvcContrib.ActionResults.HeadResult

HeadResult is a specific ActionResult for returning the client an HttpStatusCode. This is particular useful for RESTful applications that return status codes only in some situations eg Not-Modified
Inheritance: System.Web.Mvc.ActionResult
Datei anzeigen Open project: atomicobject/mvccontrib

Public Methods

Method Description
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
HeadResult ( HttpStatusCode statusCode ) : System.Net

Method Details

ExecuteResult() public method

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
return void

HeadResult() public method

public HeadResult ( HttpStatusCode statusCode ) : System.Net
statusCode HttpStatusCode
return System.Net