Uses of Class
io.grpc.ServerServiceDefinition
Packages that use ServerServiceDefinition
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
Service definitions and utilities for the pre-defined gRPC services.
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 ServerServiceDefinitionModifier and TypeMethodDescriptionBindableService.bindService()CreatesServerServiceDefinitionobject for current instance of service implementation.ServerServiceDefinition.Builder.build()Construct new ServerServiceDefinition.static ServerServiceDefinitionServerInterceptors.intercept(BindableService bindableService, ServerInterceptor... interceptors) static ServerServiceDefinitionServerInterceptors.intercept(BindableService bindableService, 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, 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, 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, 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 ServerServiceDefinitionModifier and TypeMethodDescriptionServer.getImmutableServices()Returns immutable services registered with the server, or an empty list if not supported by the implementation.Server.getMutableServices()Returns mutable services registered with the server, or an empty list if not supported by the implementation.HandlerRegistry.getServices()Returns theServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation.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 ServerServiceDefinitionModifier and TypeMethodDescriptionForwardingServerBuilder.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, 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, 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 ServerServiceDefinitionModifier and TypeMethodDescriptionfinal TServerBuilder.addServices(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 ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionChannelzGrpc.bindService(ChannelzGrpc.AsyncService service) final ServerServiceDefinitionChannelzGrpc.ChannelzImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.health.v1
Methods in io.grpc.health.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionHealthGrpc.bindService(HealthGrpc.AsyncService service) final ServerServiceDefinitionHealthGrpc.HealthImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ServerServiceDefinitionModifier and TypeFieldDescriptionprivate final HashMap<String, ServerServiceDefinition> InternalHandlerRegistry.Builder.servicesprivate final List<ServerServiceDefinition> InternalHandlerRegistry.servicesMethods in io.grpc.internal that return types with arguments of type ServerServiceDefinitionModifier and TypeMethodDescriptionServerImpl.getImmutableServices()ServerImpl.getMutableServices()InternalHandlerRegistry.getServices()Returns the service definitions in this registry.ServerImpl.getServices()ServerImplBuilder.DefaultFallbackRegistry.getServices()Methods in io.grpc.internal with parameters of type ServerServiceDefinitionModifier and TypeMethodDescription(package private) InternalHandlerRegistry.BuilderInternalHandlerRegistry.Builder.addService(ServerServiceDefinition service) ServerImplBuilder.addService(ServerServiceDefinition service) Constructor parameters in io.grpc.internal with type arguments of type ServerServiceDefinitionModifierConstructorDescriptionprivateInternalHandlerRegistry(List<ServerServiceDefinition> services, Map<String, ServerMethodDefinition<?, ?>> methods) -
Uses of ServerServiceDefinition in io.grpc.lb.v1
Methods in io.grpc.lb.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionLoadBalancerGrpc.bindService(LoadBalancerGrpc.AsyncService service) final ServerServiceDefinitionLoadBalancerGrpc.LoadBalancerImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.lookup.v1
Methods in io.grpc.lookup.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionRouteLookupServiceGrpc.bindService(RouteLookupServiceGrpc.AsyncService service) final ServerServiceDefinitionRouteLookupServiceGrpc.RouteLookupServiceImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerServiceDefinitionMethods in io.grpc.protobuf.services with parameters of type ServerServiceDefinitionModifier and TypeMethodDescriptionProtoReflectionService.createServerCallHandler(ServerServiceDefinition serverServiceDefinition) Constructor parameters in io.grpc.protobuf.services with type arguments of type ServerServiceDefinitionModifierConstructorDescription(package private)FileDescriptorIndex(List<ServerServiceDefinition> services) ServerReflectionIndex(List<ServerServiceDefinition> immutableServices, List<ServerServiceDefinition> mutableServices) -
Uses of ServerServiceDefinition in io.grpc.reflection.v1
Methods in io.grpc.reflection.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionServerReflectionGrpc.bindService(ServerReflectionGrpc.AsyncService service) final ServerServiceDefinitionServerReflectionGrpc.ServerReflectionImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinitionServerReflectionGrpc.bindService(ServerReflectionGrpc.AsyncService service) final ServerServiceDefinitionServerReflectionGrpc.ServerReflectionImplBase.bindService() -
Uses of ServerServiceDefinition in io.grpc.services
Methods in io.grpc.services that return types with arguments of type ServerServiceDefinitionModifier and TypeMethodDescriptionstatic 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 ServerServiceDefinitionModifier and TypeFieldDescriptionprivate final ConcurrentMap<String, ServerServiceDefinition> MutableHandlerRegistry.servicesMethods in io.grpc.util that return ServerServiceDefinitionModifier and TypeMethodDescriptionMutableHandlerRegistry.addService(BindableService bindableService) Registers a service.MutableHandlerRegistry.addService(ServerServiceDefinition service) Registers a service.Methods in io.grpc.util that return types with arguments of type ServerServiceDefinitionModifier and TypeMethodDescriptionMutableHandlerRegistry.getServices()Note: This does not necessarily return a consistent view of the map.Methods in io.grpc.util with parameters of type ServerServiceDefinitionModifier and TypeMethodDescriptionMutableHandlerRegistry.addService(ServerServiceDefinition service) Registers a service.booleanMutableHandlerRegistry.removeService(ServerServiceDefinition service) Removes a registered service.