Annotation Interface ServerStreaming


@Target(METHOD) @Retention(RUNTIME) @GrpcMethod(type=SERVER_STREAMING) @Documented @Inherited public @interface ServerStreaming
An annotation to mark a class as representing a server streaming gRPC method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Obtain the name of the method.
  • Element Details

    • name

      String name
      Obtain the name of the method.

      If not set the name of the actual annotated method is used.

      Returns:
      name of the method
      Default:
      ""