Package io.avaje.http.api
Annotation Type Header
@Target({PARAMETER,FIELD}) @Retention(RUNTIME) public @interface Header
A parameter that is a header value.
We can put this on a method parameter or a @Form
bean property.
By default header names are Init caps snake case. For example:
// Last-Modified
@Header lastModified
-
Optional Element Summary
-
Element Details
-
value
The name of the header.- Default:
- ""
-