Class ServerStreamingMethodHandlerSupplier.ServerStreaming<ReqT,RespT>
- java.lang.Object
- 
- io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandler<ReqT,RespT>
- 
- io.helidon.microprofile.grpc.core.ServerStreamingMethodHandlerSupplier.AbstractServerStreamingHandler<ReqT,RespT>
- 
- io.helidon.microprofile.grpc.core.ServerStreamingMethodHandlerSupplier.ServerStreaming<ReqT,RespT>
 
 
 
- 
- Type Parameters:
- ReqT- the request type
- RespT- the response type
 - All Implemented Interfaces:
- io.grpc.stub.ServerCalls.BidiStreamingMethod<ReqT,RespT>,- io.grpc.stub.ServerCalls.ClientStreamingMethod<ReqT,RespT>,- io.grpc.stub.ServerCalls.ServerStreamingMethod<ReqT,RespT>,- io.grpc.stub.ServerCalls.UnaryMethod<ReqT,RespT>,- MethodHandler<ReqT,RespT>
 - Enclosing class:
- ServerStreamingMethodHandlerSupplier
 
 public static class ServerStreamingMethodHandlerSupplier.ServerStreaming<ReqT,RespT> extends ServerStreamingMethodHandlerSupplier.AbstractServerStreamingHandler<ReqT,RespT> A server streamingMethodHandlerthat calls a standard server streaming method handler method of the form.void invoke(ReqT request, StreamObserver<RespT> observer)
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.helidon.grpc.core.MethodHandlerMethodHandler.BidirectionalClient, MethodHandler.ClientStreaming, MethodHandler.ServerStreamingClient, MethodHandler.UnaryClient
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinvoke(Method method, Object instance, ReqT request, io.grpc.stub.StreamObserver<RespT> observer)Invoke the actual unary or server streaming gRPC method handler.ObjectserverStreaming(Object[] args, MethodHandler.ServerStreamingClient client)Handle a bi-directional client call.- 
Methods inherited from class io.helidon.microprofile.grpc.core.ServerStreamingMethodHandlerSupplier.AbstractServerStreamingHandlerinvoke
 - 
Methods inherited from class io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandlergetGenericResponseType, getRequestType, getResponseType, handleFuture, invoke, invoke, javaMethodName, methodName, setRequestType, setResponseType, type
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface io.helidon.grpc.core.MethodHandlerbidirectional, clientOnly, clientStreaming, unary
 
- 
 
- 
- 
- 
Method Detail- 
invokeprotected void invoke(Method method, Object instance, ReqT request, io.grpc.stub.StreamObserver<RespT> observer) throws InvocationTargetException, IllegalAccessException Description copied from class:io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandlerInvoke the actual unary or server streaming gRPC method handler.- Specified by:
- invokein class- io.helidon.microprofile.grpc.core.AbstractMethodHandlerSupplier.AbstractHandler<ReqT,RespT>
- Parameters:
- method- the- Methodto invoke
- instance- the service instance to invoke the method on
- request- the method request
- observer- the method response observer
- Throws:
- InvocationTargetException- if an error occurs invoking the method
- IllegalAccessException- if the method cannot be accessed
 
 - 
serverStreamingpublic Object serverStreaming(Object[] args, MethodHandler.ServerStreamingClient client) Description copied from interface:MethodHandlerHandle a bi-directional client call.- Parameters:
- args- the call arguments.
- client- the- MethodHandler.ServerStreamingClientinstance to forward the call to.
- Returns:
- the call result
 
 
- 
 
-