Uses of Class
io.grpc.ServerServiceDefinition
-
Packages that use ServerServiceDefinition Package Description io.grpc The gRPC core public API.io.grpc.channelz.v1 io.grpc.health.v1 io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.lb.v1 io.grpc.lookup.v1 io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.reflection.v1 io.grpc.reflection.v1alpha io.grpc.services Service definitions and utilities for the pre-defined gRPC services.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
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. -
Uses of ServerServiceDefinition in io.grpc.channelz.v1
Methods in io.grpc.channelz.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionChannelzGrpc. bindService(ChannelzGrpc.AsyncService service)ServerServiceDefinitionChannelzGrpc.ChannelzImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.health.v1
Methods in io.grpc.health.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionHealthGrpc. bindService(HealthGrpc.AsyncService service)ServerServiceDefinitionHealthGrpc.HealthImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ServerServiceDefinition Modifier and Type Field Description private java.util.HashMap<java.lang.String,ServerServiceDefinition>InternalHandlerRegistry.Builder. servicesprivate java.util.List<ServerServiceDefinition>InternalHandlerRegistry. servicesMethods in io.grpc.internal that return types with arguments of type ServerServiceDefinition Modifier and Type Method Description java.util.List<ServerServiceDefinition>ServerImpl. getImmutableServices()java.util.List<ServerServiceDefinition>ServerImpl. getMutableServices()java.util.List<ServerServiceDefinition>InternalHandlerRegistry. getServices()Returns the service definitions in this registry.java.util.List<ServerServiceDefinition>ServerImpl. getServices()java.util.List<ServerServiceDefinition>ServerImplBuilder.DefaultFallbackRegistry. getServices()Methods in io.grpc.internal with parameters of type ServerServiceDefinition Modifier and Type Method Description (package private) InternalHandlerRegistry.BuilderInternalHandlerRegistry.Builder. addService(ServerServiceDefinition service)ServerImplBuilderServerImplBuilder. addService(ServerServiceDefinition service)Constructor parameters in io.grpc.internal with type arguments of type ServerServiceDefinition Constructor Description InternalHandlerRegistry(java.util.List<ServerServiceDefinition> services, java.util.Map<java.lang.String,ServerMethodDefinition<?,?>> methods) -
Uses of ServerServiceDefinition in io.grpc.lb.v1
Methods in io.grpc.lb.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionLoadBalancerGrpc. bindService(LoadBalancerGrpc.AsyncService service)ServerServiceDefinitionLoadBalancerGrpc.LoadBalancerImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.lookup.v1
Methods in io.grpc.lookup.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionRouteLookupServiceGrpc. bindService(RouteLookupServiceGrpc.AsyncService service)ServerServiceDefinitionRouteLookupServiceGrpc.RouteLookupServiceImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinitionProtoReflectionService. bindService()Methods in io.grpc.protobuf.services with parameters of type ServerServiceDefinition Modifier and Type Method Description private ServerCallHandler<ServerReflectionRequest,ServerReflectionResponse>ProtoReflectionService. createServerCallHandler(ServerServiceDefinition serverServiceDefinition)Constructor parameters in io.grpc.protobuf.services with type arguments of type ServerServiceDefinition Constructor Description FileDescriptorIndex(java.util.List<ServerServiceDefinition> services)ServerReflectionIndex(java.util.List<ServerServiceDefinition> immutableServices, java.util.List<ServerServiceDefinition> mutableServices) -
Uses of ServerServiceDefinition in io.grpc.reflection.v1
Methods in io.grpc.reflection.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionServerReflectionGrpc. bindService(ServerReflectionGrpc.AsyncService service)ServerServiceDefinitionServerReflectionGrpc.ServerReflectionImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinitionServerReflectionGrpc. bindService(ServerReflectionGrpc.AsyncService service)ServerServiceDefinitionServerReflectionGrpc.ServerReflectionImplBase. bindService() -
Uses of ServerServiceDefinition in io.grpc.services
Methods in io.grpc.services that return types with arguments of type ServerServiceDefinition Modifier and Type Method Description static java.util.List<ServerServiceDefinition>AdminInterface. getStandardServices()Returns a list of gRPC's built-in admin services. -
Uses of ServerServiceDefinition in io.grpc.util
Fields in io.grpc.util with type parameters of type ServerServiceDefinition Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,ServerServiceDefinition>MutableHandlerRegistry. servicesMethods in io.grpc.util that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinitionMutableHandlerRegistry. addService(BindableService bindableService)Registers a service.ServerServiceDefinitionMutableHandlerRegistry. addService(ServerServiceDefinition service)Registers a service.Methods in io.grpc.util that return types with arguments of type ServerServiceDefinition Modifier and Type Method Description java.util.List<ServerServiceDefinition>MutableHandlerRegistry. getServices()Note: This does not necessarily return a consistent view of the map.Methods in io.grpc.util with parameters of type ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinitionMutableHandlerRegistry. addService(ServerServiceDefinition service)Registers a service.booleanMutableHandlerRegistry. removeService(ServerServiceDefinition service)Removes a registered service.
-