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.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of ServerServiceDefinition in dev.enola.core.proto
Methods in dev.enola.core.proto that return ServerServiceDefinitionModifier and TypeMethodDescriptionstatic final ServerServiceDefinition
EnolaServiceGrpc.bindService
(EnolaServiceGrpc.AsyncService service) final ServerServiceDefinition
EnolaServiceGrpc.EnolaServiceImplBase.bindService()
-
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.internal
Methods in io.grpc.internal that return types with arguments of type ServerServiceDefinitionModifier and TypeMethodDescriptionServerImpl.getImmutableServices()
ServerImpl.getMutableServices()
ServerImpl.getServices()
Methods in io.grpc.internal with parameters of type ServerServiceDefinition -
Uses of ServerServiceDefinition in io.grpc.util
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.