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()
CreatesServerServiceDefinition
object for current instance of service implementation.ServerServiceDefinition.Builder.build()
Construct new ServerServiceDefinition.static ServerServiceDefinition
ServerInterceptors.intercept
(BindableService bindableService, ServerInterceptor... interceptors) static ServerServiceDefinition
ServerInterceptors.intercept
(BindableService bindableService, List<? extends ServerInterceptor> interceptors) static ServerServiceDefinition
ServerInterceptors.intercept
(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.intercept
(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.interceptForward
(BindableService bindableService, ServerInterceptor... interceptors) static ServerServiceDefinition
ServerInterceptors.interceptForward
(BindableService bindableService, List<? extends ServerInterceptor> interceptors) static ServerServiceDefinition
ServerInterceptors.interceptForward
(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.interceptForward
(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.useInputStreamMessages
(ServerServiceDefinition serviceDef) Create a newServerServiceDefinition
whoseMethodDescriptor
serializes to and from InputStream for all methods.static <ReqT,
RespT>
ServerServiceDefinitionServerInterceptors.useMarshalledMessages
(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller) Create a newServerServiceDefinition
withMethodDescriptor
for deserializing requests and separateMethodDescriptor
for serializing responses.static <T> ServerServiceDefinition
ServerInterceptors.useMarshalledMessages
(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller) Create a newServerServiceDefinition
whoseMethodDescriptor
serializes 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 theServerServiceDefinition
s 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 T
ServerBuilder.addService
(ServerServiceDefinition service) Adds a service implementation to the handler registry.static ServerServiceDefinition
ServerInterceptors.intercept
(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.intercept
(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.interceptForward
(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.interceptForward
(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.static ServerServiceDefinition
ServerInterceptors.useInputStreamMessages
(ServerServiceDefinition serviceDef) Create a newServerServiceDefinition
whoseMethodDescriptor
serializes to and from InputStream for all methods.static <ReqT,
RespT>
ServerServiceDefinitionServerInterceptors.useMarshalledMessages
(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller) Create a newServerServiceDefinition
withMethodDescriptor
for deserializing requests and separateMethodDescriptor
for serializing responses.static <T> ServerServiceDefinition
ServerInterceptors.useMarshalledMessages
(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller) Create a newServerServiceDefinition
whoseMethodDescriptor
serializes to and from T for all methods.Method parameters in io.grpc with type arguments of type ServerServiceDefinitionModifier and TypeMethodDescriptionfinal T
ServerBuilder.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 ServerServiceDefinition
ChannelzGrpc.bindService
(ChannelzGrpc.AsyncService service) final ServerServiceDefinition
ChannelzGrpc.ChannelzImplBase.bindService()
-
Uses of ServerServiceDefinition in io.grpc.health.v1
Methods in io.grpc.health.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinition
HealthGrpc.bindService
(HealthGrpc.AsyncService service) final ServerServiceDefinition
HealthGrpc.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.services
private final List
<ServerServiceDefinition> InternalHandlerRegistry.services
Methods 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.Builder
InternalHandlerRegistry.Builder.addService
(ServerServiceDefinition service) ServerImplBuilder.addService
(ServerServiceDefinition service) Constructor parameters in io.grpc.internal with type arguments of type ServerServiceDefinitionModifierConstructorDescriptionprivate
InternalHandlerRegistry
(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 ServerServiceDefinition
LoadBalancerGrpc.bindService
(LoadBalancerGrpc.AsyncService service) final ServerServiceDefinition
LoadBalancerGrpc.LoadBalancerImplBase.bindService()
-
Uses of ServerServiceDefinition in io.grpc.lookup.v1
Methods in io.grpc.lookup.v1 that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinition
RouteLookupServiceGrpc.bindService
(RouteLookupServiceGrpc.AsyncService service) final ServerServiceDefinition
RouteLookupServiceGrpc.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 ServerServiceDefinition
ServerReflectionGrpc.bindService
(ServerReflectionGrpc.AsyncService service) final ServerServiceDefinition
ServerReflectionGrpc.ServerReflectionImplBase.bindService()
-
Uses of ServerServiceDefinition in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinition
ServerReflectionGrpc.bindService
(ServerReflectionGrpc.AsyncService service) final ServerServiceDefinition
ServerReflectionGrpc.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.services
Methods 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.boolean
MutableHandlerRegistry.removeService
(ServerServiceDefinition service) Removes a registered service.