Export (0) Print
Expand All

JQueryMvcFormUrlEncodedFormatter Class

Represents the MediaTypeFormatter class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

public class JQueryMvcFormUrlEncodedFormatter : FormUrlEncodedMediaTypeFormatter

The JQueryMvcFormUrlEncodedFormatter type exposes the following members.

  NameDescription
Public methodJQueryMvcFormUrlEncodedFormatter()Initializes a new instance of the JQueryMvcFormUrlEncodedFormatter class.
Public methodJQueryMvcFormUrlEncodedFormatter(HttpConfiguration)
Top

  NameDescription
Public propertyMaxDepthGets or sets the maximum depth allowed by this formatter. (Inherited from FormUrlEncodedMediaTypeFormatter.)
Public propertyMediaTypeMappingsGets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types. (Inherited from MediaTypeFormatter.)
Public propertyReadBufferSizeGets or sets the size of the buffer when reading the incoming stream. (Inherited from FormUrlEncodedMediaTypeFormatter.)
Public propertyRequiredMemberSelectorGets or sets the IRequiredMemberSelector instance used to determine required members. (Inherited from MediaTypeFormatter.)
Public propertySupportedEncodingsGets the mutable collection of character encodings supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.)
Public propertySupportedMediaTypesGets the mutable collection of media types supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.)
Top

  NameDescription
Public methodCanReadType Determines whether this JQueryMvcFormUrlEncodedFormatter can read objects of the specified type. (Overrides FormUrlEncodedMediaTypeFormatter.CanReadType(Type).)
Public methodCanWriteTypeQueries whether the FormUrlEncodedMediaTypeFormatter can serializean object of the specified type. (Inherited from FormUrlEncodedMediaTypeFormatter.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPerRequestFormatterInstanceReturns a specialized instance of the MediaTypeFormatter that can format a response for the given parameters. (Inherited from MediaTypeFormatter.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)Reads an object of the specified type from the specified stream. This method is called during deserialization. (Overrides FormUrlEncodedMediaTypeFormatter.ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger).)
Public methodReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger, CancellationToken)Asynchronously deserializes an object of the specified type. (Inherited from MediaTypeFormatter.)
Public methodSelectCharacterEncodingDetermines the best character encoding for reading or writing an HTTP entity body, given a set of content headers. (Inherited from MediaTypeFormatter.)
Public methodSetDefaultContentHeaders Sets the default headers for content that will be formatted using this formatter. This method is called from the ObjectContent constructor. This implementation sets the Content-Type header to the value of mediaType if it is not null. If it is null it sets the Content-Type to the default media type of this formatter. If the Content-Type does not specify a charset it will set it using this formatters configured Encoding. (Inherited from MediaTypeFormatter.)
Public methodToString (Inherited from Object.)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext)Asynchronously writes an object of the specified type. (Inherited from MediaTypeFormatter.)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken)Asynchronously writes an object of the specified type. (Inherited from MediaTypeFormatter.)
Top

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