Annotation Interface HttpEndpoint


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface HttpEndpoint
Mark a class to be made available as an HTTP endpoint. The annotated class should be public and have a public constructor.

Annotated classes can accept the following types to the constructor:

If the annotated class extends AbstractHttpEndpoint the request context is available without constructor injection.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""