HTTP HEAD verb for mvc routes.
class Resources { @HEAD public void method() { } }
- Since:
- 0.1.0
- Author:
- edgar
-
Optional Element Summary
-
Element Details
-
value
String[] valuePath pattern. This is a shortcut forpath()
.- Returns:
- Path pattern.
- Default:
- {}
-
path
String[] pathPath pattern.- Returns:
- Path pattern.
- Default:
- {}
-
produces
String[] producesProduce types. Check theAccept
header against this value or send a "406 Not Acceptable" response.- Returns:
- Produce types.
- Default:
- {}
-
consumes
String[] consumesConsume types. Check theContent-Type
header against this value or send a "415 Unsupported Media Type" response.- Returns:
- Consume types.
- Default:
- {}
-