Annotation Type PathVar


  • @Retention(RUNTIME)
    @Target(PARAMETER)
    public @interface PathVar
    Annotation that indicates a parameter variable should be bound to an HTTP path variable.

    Supported for HttpRoute annotated handler methods

    Since:
    1.1
    See Also:
    HttpRoute
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Returns the name of the path variable.
    • Element Detail

      • value

        java.lang.String value
        Returns the name of the path variable.
        Returns:
        the name of the path variable
        Default:
        ""