java.lang.Object
io.helidon.grpc.server.MethodDescriptor<ReqT,ResT>
- Type Parameters:
ReqT- request typeResT- response type
Encapsulates all metadata necessary to define a gRPC method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface implemented by classes that can configure aMethodDescriptor.Rules.static interfaceMethod configuration API. -
Method Summary
Modifier and TypeMethodDescriptionReturn the call handler.context()Obtain theMapofContext.Keys and values to add to the call context when this method is invoked.Return gRPC method descriptor.PriorityBag<io.grpc.ServerInterceptor>Obtain theServerInterceptors to use for this method.name()Return the name of the method.toString()
-
Method Details
-
name
Return the name of the method.- Returns:
- method name
-
descriptor
Return gRPC method descriptor.- Returns:
- gRPC method descriptor
-
callHandler
Return the call handler.- Returns:
- call handler
-
context
Obtain theMapofContext.Keys and values to add to the call context when this method is invoked.- Returns:
- an unmodifiable
MapofContext.Keys and values to add to the call context when this method is invoked
-
interceptors
Obtain theServerInterceptors to use for this method.- Returns:
- the
ServerInterceptors to use for this method
-
toString
-