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.lb.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.io.grpc.xds.orca -
-
Uses of ServerServiceDefinition in io.grpc
Methods in io.grpc that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinition
BindableService. bindService()
CreatesServerServiceDefinition
object for current instance of service implementation.ServerServiceDefinition
ServerServiceDefinition.Builder. build()
Construct new ServerServiceDefinition.static ServerServiceDefinition
ServerInterceptors. intercept(BindableService bindableService, ServerInterceptor... interceptors)
static ServerServiceDefinition
ServerInterceptors. intercept(BindableService bindableService, java.util.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, java.util.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, java.util.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, java.util.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 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 theServerServiceDefinition
s 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 T
ForwardingServerBuilder. 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, java.util.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, java.util.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 ServerServiceDefinition Modifier and Type Method Description T
ServerBuilder. 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 ServerServiceDefinition
ChannelzGrpc. bindService(ChannelzGrpc.AsyncService service)
ServerServiceDefinition
ChannelzGrpc.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 ServerServiceDefinition
HealthGrpc. bindService(HealthGrpc.AsyncService service)
ServerServiceDefinition
HealthGrpc.HealthImplBase. bindService()
-
Uses of ServerServiceDefinition in io.grpc.lb.v1
Methods in io.grpc.lb.v1 that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinition
LoadBalancerGrpc. bindService(LoadBalancerGrpc.AsyncService service)
ServerServiceDefinition
LoadBalancerGrpc.LoadBalancerImplBase. bindService()
-
Uses of ServerServiceDefinition in io.grpc.reflection.v1alpha
Methods in io.grpc.reflection.v1alpha that return ServerServiceDefinition Modifier and Type Method Description static ServerServiceDefinition
ServerReflectionGrpc. bindService(ServerReflectionGrpc.AsyncService service)
ServerServiceDefinition
ServerReflectionGrpc.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
Methods in io.grpc.util that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinition
MutableHandlerRegistry. addService(BindableService bindableService)
Registers a service.ServerServiceDefinition
MutableHandlerRegistry. 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 ServerServiceDefinition
MutableHandlerRegistry. addService(ServerServiceDefinition service)
Registers a service.boolean
MutableHandlerRegistry. removeService(ServerServiceDefinition service)
Removes a registered service. -
Uses of ServerServiceDefinition in io.grpc.xds.orca
Methods in io.grpc.xds.orca that return ServerServiceDefinition Modifier and Type Method Description ServerServiceDefinition
OrcaServiceImpl. bindService()
-