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 a HttpMethod.HEAD.
    Since:
    1.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String uri  
      java.lang.String[] uris
      Only to be used in the context of a server.
      java.lang.String value  
    • Element Detail

      • 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:
        {"/"}