Uses of Interface
io.grpc.ServerInterceptor
Packages that use ServerInterceptor
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.
API for the Stub layer.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of ServerInterceptor in io.grpc
Fields in io.grpc declared as ServerInterceptorModifier and TypeFieldDescriptionprivate final ServerInterceptorServerInterceptors.InterceptCallHandler.interceptorMethods in io.grpc with parameters of type ServerInterceptorModifier and TypeMethodDescriptionstatic <ReqT,RespT>
ServerInterceptors.InterceptCallHandler<ReqT, RespT> ServerInterceptors.InterceptCallHandler.create(ServerInterceptor interceptor, ServerCallHandler<ReqT, RespT> callHandler) ForwardingServerBuilder.intercept(ServerInterceptor interceptor) ServerBuilder.intercept(ServerInterceptor interceptor) Adds aServerInterceptorthat is run for all services on the server.static ServerServiceDefinitionServerInterceptors.intercept(BindableService bindableService, ServerInterceptor... interceptors) static ServerServiceDefinitionServerInterceptors.intercept(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static <ReqT,RespT>
ServerCallHandler<ReqT, RespT> InternalServerInterceptors.interceptCallHandlerCreate(ServerInterceptor interceptor, ServerCallHandler<ReqT, RespT> callHandler) static ServerServiceDefinitionServerInterceptors.interceptForward(BindableService bindableService, ServerInterceptor... interceptors) static ServerServiceDefinitionServerInterceptors.interceptForward(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors) Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.Method parameters in io.grpc with type arguments of type ServerInterceptorModifier and TypeMethodDescriptionstatic ServerServiceDefinitionServerInterceptors.intercept(BindableService bindableService, List<? extends ServerInterceptor> interceptors) static ServerServiceDefinitionServerInterceptors.intercept(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors.interceptForward(BindableService bindableService, List<? extends ServerInterceptor> interceptors) static ServerServiceDefinitionServerInterceptors.interceptForward(ServerServiceDefinition serviceDef, List<? extends ServerInterceptor> interceptors) Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.private static <ReqT,RespT>
voidServerInterceptors.wrapAndAddMethod(ServerServiceDefinition.Builder serviceDefBuilder, ServerMethodDefinition<ReqT, RespT> method, List<? extends ServerInterceptor> interceptors) Constructors in io.grpc with parameters of type ServerInterceptorModifierConstructorDescriptionprivateInterceptCallHandler(ServerInterceptor interceptor, ServerCallHandler<ReqT, RespT> callHandler) -
Uses of ServerInterceptor in io.grpc.internal
Fields in io.grpc.internal declared as ServerInterceptorFields in io.grpc.internal with type parameters of type ServerInterceptorModifier and TypeFieldDescription(package private) final List<ServerInterceptor> ServerImplBuilder.interceptorsMethods in io.grpc.internal with parameters of type ServerInterceptor -
Uses of ServerInterceptor in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerInterceptorModifier and TypeMethodDescriptionprotected abstract ServerInterceptorBinaryLogProvider.getServerInterceptor(String fullMethodName) Returns aServerInterceptorfor binary logging.BinaryLogProviderImpl.getServerInterceptor(String fullMethodName) BinlogHelper.getServerInterceptor(long callId) -
Uses of ServerInterceptor in io.grpc.stub
Classes in io.grpc.stub that implement ServerInterceptorModifier and TypeClassDescriptionprivate static final classMethods in io.grpc.stub that return ServerInterceptorModifier and TypeMethodDescriptionstatic ServerInterceptorMetadataUtils.newAttachMetadataServerInterceptor(Metadata extras) Returns a ServerInterceptor that adds the specified Metadata to every response stream, one way or another. -
Uses of ServerInterceptor in io.grpc.util
Classes in io.grpc.util that implement ServerInterceptorModifier and TypeClassDescriptionfinal classA class that intercepts uncaught exceptions of typeStatusRuntimeExceptionand handles them by closing theServerCall, and transmitting the exception's status and metadata to the client.Methods in io.grpc.util that return ServerInterceptorModifier and TypeMethodDescriptionstatic ServerInterceptorTransmitStatusRuntimeExceptionInterceptor.instance()