Annotation Interface ServerlessScope


@Retention(RUNTIME) @Target(TYPE) public @interface ServerlessScope
This annotation is meant to be applied to RestHandler classes, and is used to determine which RestHandlers are available to requests at runtime in Serverless mode. This annotation is unused when not running in serverless mode. If this annotation is not present in a RestHandler, then that RestHandler is not available at all in Serverless mode.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    A value used when restricting a response of a serverless endpoints.
  • Field Details

    • SERVERLESS_RESTRICTION

      static final String SERVERLESS_RESTRICTION
      A value used when restricting a response of a serverless endpoints.
      See Also:
  • Element Details