Annotation Type ServiceMethod


@Retention(CLASS) @Target(METHOD) public @interface ServiceMethod
Annotation given to all service client methods that perform network operations. All methods with this annotation should be contained in class annotated with ServiceClient
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    This represents the return type expected from this service method.
  • Element Details

    • returns

      ReturnType returns
      This represents the return type expected from this service method.
      Returns:
      the return type of the method annotated with ServiceMethod