Matches when the current request's HTTP method equals a configured method, such as GET or POST. Configured in asset type XML as the requestMethod element inside a view mapping, so a view can be selected based on the HTTP verb of the incoming request.
Group: Asset Types
Implements: AssetInteractionMatcher
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Human-readable description of this matcher, naming the HTTP method it requires. Used to explain to an administrator when a view mapping applies. |
| method | Method | The HTTP method this matcher requires the current request to have, such as GET or POST. May be null if none has been configured, in which case the matcher never matches. |
Methods
getMethod()
Returns: Method
The HTTP method this matcher requires the current request to have, such as GET or POST. May be null if none has been configured, in which case the matcher never matches.
getDescription()
Returns: String
Human-readable description of this matcher, naming the HTTP method 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.