Package io.micronaut.http.annotation
Annotation Type Head
-
@Documented @Retention(RUNTIME) @Target(METHOD) @HttpMethodMapping @Inherited public @interface Head
Annotation that can be applied to method to signify the method receives aHttpMethod.HEAD
.- Since:
- 1.0
-
-
Element Detail
-
value
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") java.lang.String value
- Returns:
- The URI of the HEAD route
- Default:
- "/"
-
-
-
uri
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") java.lang.String uri
- Returns:
- The URI of the HEAD route
- Default:
- "/"
-
-
-
uris
@AliasFor(annotation=HttpMethodMapping.class,member="uris") @AliasFor(annotation=UriMapping.class,member="uris") java.lang.String[] uris
Only to be used in the context of a server.- Returns:
- The URIs of the HEAD route
- Default:
- {"/"}
-
-