ContentNegotiationConfig
A ContentNegotiation configuration that is used during installation.
Properties
Controls how registered content types are merged into the Accept header. Defaults to ContentTypeMergeStrategy.Default, which preserves backward-compatible behavior.
By default, Accept headers for registered content types will have no q value (implicit 1.0). Set this to change that behavior. This is useful to override the preferred Accept content types on a per-request basis.
Functions
Clear all configured ignored types including defaults.
Adds a type to the list of types that should be ignored by ContentNegotiation.
Adds a type to the list of types that should be ignored by ContentNegotiation.
Registers a contentType to a specified converter with an optional configuration script for a converter.
Registers a contentTypeToSend and contentTypeMatcher to a specified converter with an optional configuration script for a converter.
Remove T from the list of types that should be ignored by ContentNegotiation.
Remove type from the list of types that should be ignored by ContentNegotiation.