Annotation Type Get


  • @Repeatable(Gets.class)
    @Retention(RUNTIME)
    public @interface Get
    Annotation to configure a route to handle GET requests Set the value to configure for a specific (possibly wild-card) path, or leave empty to handle all GET requests.
    Author:
    odeda
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      Path on which to handle GET request
    • Element Detail

      • value

        String value
        Path on which to handle GET request
        Returns:
        path
        Default:
        "/*"