Uses of Interface
io.grpc.ServerInterceptor
Packages that use ServerInterceptor
-
Uses of ServerInterceptor in io.grpc
Methods in io.grpc with parameters of type ServerInterceptorModifier and TypeMethodDescriptionForwardingServerBuilder.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.