Uses of Class
io.grpc.ServerServiceDefinition
-
-
Uses of ServerServiceDefinition in io.grpc
Methods in io.grpc that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinitionBindableService. bindService()CreatesServerServiceDefinitionobject for current instance of service implementation.ServerServiceDefinitionServerServiceDefinition.Builder. build()Construct new ServerServiceDefinition.static ServerServiceDefinitionServerInterceptors. intercept(BindableService bindableService, ServerInterceptor... interceptors)static ServerServiceDefinitionServerInterceptors. intercept(BindableService bindableService, java.util.List<? extends ServerInterceptor> interceptors)static ServerServiceDefinitionServerInterceptors. intercept(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. intercept(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. interceptForward(BindableService bindableService, ServerInterceptor... interceptors)static ServerServiceDefinitionServerInterceptors. interceptForward(BindableService bindableService, java.util.List<? extends ServerInterceptor> interceptors)static ServerServiceDefinitionServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. useInputStreamMessages(ServerServiceDefinition serviceDef)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from InputStream for all methods.static <ReqT,RespT>
ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller)Create a newServerServiceDefinitionwithMethodDescriptorfor deserializing requests and separateMethodDescriptorfor serializing responses.static <T> ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from T for all methods.Methods in io.grpc that return types with arguments of type ServerServiceDefinition Modifier and Type Method Description java.util.List<ServerServiceDefinition>Server. getImmutableServices()Returns immutable services registered with the server, or an empty list if not supported by the implementation.java.util.List<ServerServiceDefinition>Server. getMutableServices()Returns mutable services registered with the server, or an empty list if not supported by the implementation.java.util.List<ServerServiceDefinition>HandlerRegistry. getServices()Returns theServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation.java.util.List<ServerServiceDefinition>Server. getServices()Returns all services registered with the server, or an empty list if not supported by the implementation.Methods in io.grpc with parameters of type ServerServiceDefinition Modifier and Type Method Description TForwardingServerBuilder. addService(ServerServiceDefinition service)abstract TServerBuilder. addService(ServerServiceDefinition service)Adds a service implementation to the handler registry.static ServerServiceDefinitionServerInterceptors. intercept(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. intercept(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. useInputStreamMessages(ServerServiceDefinition serviceDef)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from InputStream for all methods.static <ReqT,RespT>
ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller)Create a newServerServiceDefinitionwithMethodDescriptorfor deserializing requests and separateMethodDescriptorfor serializing responses.static <T> ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from T for all methods.Method parameters in io.grpc with type arguments of type ServerServiceDefinition Modifier and Type Method Description TServerBuilder. addServices(java.util.List<ServerServiceDefinition> services)Adds a list of service implementations to the handler registry together.
-