Matches when the current request's Content-Type header starts with a configured value. Configured in asset type XML as the requestContentType element inside a view mapping, so a view can be selected based on the media type of the incoming request rather than the request path.

Group: Asset Types

Implements: AssetInteractionMatcher


Properties

PropertyReturnsDescription
descriptionStringHuman-readable description of this matcher, naming the content type it requires. Used to explain to an administrator when a view mapping applies.

Methods

getDescription()

Returns: String

Human-readable description of this matcher, naming the content type it requires. Used to explain to an administrator when a view mapping applies.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.