Annotation Interface Grpc.Bidirectional
- Enclosing interface:
Grpc
@Target(METHOD)
@Retention(RUNTIME)
@GrpcMethod(BIDI_STREAMING)
@Documented
@Inherited
public static @interface Grpc.Bidirectional
An annotation to mark a method as representing a bi-directional streaming gRPC method.
Declarative gRPC methods support these signatures:
Stream<Res> method(Stream<Req>)StreamObserver<Req> method(StreamObserver<Res>)
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueObtain the name of the method.If not set the name of the actual annotated method is used.
- Returns:
- name of the method
- Default:
""
-