Annotation Interface EndpointExtension


@Documented @Inherited @Retention(RUNTIME) @Target(METHOD) public @interface EndpointExtension
Annotation used for marking Lowcoder endpoints.
Provides basic information required for registering an endpoint in Lowcoder.
Author:
ludomikula
  • Element Details

    • uri

      String uri
      Returns:
      URI to which to bind annotated method to
    • method

      Returns:
      HTTP method for this annotated endpoint
      Default:
      GET
    • authenticated

      boolean authenticated
      Returns:
      True if this endpoint should be secured
      Default:
      false
    • expression

      String expression
      Returns:
      Security SPeL expression (in case authenticated is set to true)
      Default:
      ""