IResponseFormatHandler Interface
Represents the extensibility mechanism for serializing response in additional formats. FormatManager.Current.RequestFormatHandlers contains the list of request formats supported by the web application.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | FriendlyName | Gets the preferred friendly name for the handled format. |
| Name | Description | |
|---|---|---|
![]() | CanSerialize(ContentType) | Returns true if the specified response format can be serialized. |
![]() | Serialize(ControllerContext, Object, ContentType) | Serialize the model into the response body in the specified response format. |
![]() | TryMapFormatFriendlyName(String, ContentType) | Returns true if the specified friendly name ('xml' for instance) can be mapped to a content type ('application/xml' for instance). If the mapping can be performed return the content type that the friendlyName maps to. |
Show:

