Annotation Interface Endpoint.Path

Enclosing class:
Endpoint

@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented public static @interface Endpoint.Path
Path of an endpoint, or sub-path of a method. Path can be overridden using configuration for a class annotation (not for method annotations).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Path to use, defaults to /.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Configuration key of the routing path, appended after the fully qualified class name (does not contain the leading dot).
  • Field Details

    • CONFIG_KEY_PATH

      static final String CONFIG_KEY_PATH
      Configuration key of the routing path, appended after the fully qualified class name (does not contain the leading dot).
      See Also:
  • Element Details

    • value

      String value
      Path to use, defaults to /.
      Returns:
      path to use
      Default:
      "/"