UriPathExtensionMapping Class
Provides MediaTypeHeaderValues from path extensions appearing in a Uri.
System::Object
System.Net.Http.Formatting::MediaTypeMapping
System.Net.Http.Formatting::UriPathExtensionMapping
System.Net.Http.Formatting::MediaTypeMapping
System.Net.Http.Formatting::UriPathExtensionMapping
Namespace: System.Net.Http.Formatting
Assembly: System.Web.Http (in System.Web.Http.dll)
The UriPathExtensionMapping type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | UriPathExtensionMapping(String, MediaTypeHeaderValue) | Initializes a new instance of the UriPathExtensionMapping class. |
![]() | UriPathExtensionMapping(String, String) | Initializes a new instance of the UriPathExtensionMapping class. |
| Name | Description | |
|---|---|---|
![]() | MediaType | Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.) |
![]() | UriPathExtension | Gets the Uri path extension. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
![]() | TryMatchMediaType | Returns a value indicating whether this UriPathExtensionMapping instance can provide a MediaTypeHeaderValue for the Uri of request. (Overrides MediaTypeMapping::TryMatchMediaType(HttpRequestMessage).) |
