HTTP HEAD verb for mvc routes.
class Resources {
@HEAD
public void method() {
}
}
- Since:
- 0.1.0
- Author:
- edgar
-
Optional Element Summary
Optional Elements
-
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 theAcceptheader against this value or send a "406 Not Acceptable" response.- Returns:
- Produce types.
- Default:
{}
-
consumes
String[] consumesConsume types. Check theContent-Typeheader against this value or send a "415 Unsupported Media Type" response.- Returns:
- Consume types.
- Default:
{}
-