Package io.micronaut.http.annotation
Annotation Interface Trace
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@HttpMethodMapping
@Inherited
public @interface Trace
Annotation that can be applied to method to signify the method receives a
HttpMethod.TRACE
.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Optional Element Summary
-
Element Details
-
value
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") String value- Returns:
- The URI of the TRACE route
- Default:
- "/"
-
uri
@AliasFor(annotation=HttpMethodMapping.class,member="value") @AliasFor(annotation=UriMapping.class,member="value") String uri- Returns:
- The URI of the TRACE route
- Default:
- "/"
-
uris
@AliasFor(annotation=HttpMethodMapping.class,member="uris") @AliasFor(annotation=UriMapping.class,member="uris") String[] urisOnly to be used in the context of a server.- Returns:
- The URIs of the TRACE route
- Default:
- {"/"}
-