Annotation Type Endpoint


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

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      Path on which to handle all HTTP requests
    • Element Detail

      • value

        String value
        Path on which to handle all HTTP requests
        Returns:
        path
        Default:
        "/*"