Uses of Interface
io.grpc.ServerInterceptor
-
Packages that use ServerInterceptor Package Description io.grpc The gRPC core public API.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.stub API for the Stub layer.io.grpc.util 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 ServerInterceptor Modifier and Type Field Description private ServerInterceptorServerInterceptors.InterceptCallHandler. interceptorMethods in io.grpc with parameters of type ServerInterceptor Modifier and Type Method Description static <ReqT,RespT>
ServerInterceptors.InterceptCallHandler<ReqT,RespT>ServerInterceptors.InterceptCallHandler. create(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler)TForwardingServerBuilder. intercept(ServerInterceptor interceptor)TServerBuilder. 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 ServerInterceptor Modifier and Type Method Description static ServerServiceDefinitionServerInterceptors. intercept(BindableService bindableService, java.util.List<? extends ServerInterceptor> interceptors)static ServerServiceDefinitionServerInterceptors. intercept(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)Create a newServerServiceDefinitionwhoseServerCallHandlers will callinterceptorsbefore calling the pre-existingServerCallHandler.static ServerServiceDefinitionServerInterceptors. interceptForward(BindableService bindableService, java.util.List<? extends ServerInterceptor> interceptors)static ServerServiceDefinitionServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, java.util.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, java.util.List<? extends ServerInterceptor> interceptors)Constructors in io.grpc with parameters of type ServerInterceptor Constructor Description InterceptCallHandler(ServerInterceptor interceptor, ServerCallHandler<ReqT,RespT> callHandler) -
Uses of ServerInterceptor in io.grpc.internal
Fields in io.grpc.internal declared as ServerInterceptor Modifier and Type Field Description private ServerInterceptor[]ServerImpl. interceptorsFields in io.grpc.internal with type parameters of type ServerInterceptor Modifier and Type Field Description (package private) java.util.List<ServerInterceptor>ServerImplBuilder. interceptorsMethods in io.grpc.internal with parameters of type ServerInterceptor Modifier and Type Method Description ServerImplBuilderServerImplBuilder. intercept(ServerInterceptor interceptor) -
Uses of ServerInterceptor in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerInterceptor Modifier and Type Method Description protected abstract ServerInterceptorBinaryLogProvider. getServerInterceptor(java.lang.String fullMethodName)Returns aServerInterceptorfor binary logging.ServerInterceptorBinaryLogProviderImpl. getServerInterceptor(java.lang.String fullMethodName)ServerInterceptorBinlogHelper. getServerInterceptor(long callId) -
Uses of ServerInterceptor in io.grpc.stub
Classes in io.grpc.stub that implement ServerInterceptor Modifier and Type Class Description private static classMetadataUtils.MetadataAttachingServerInterceptorMethods in io.grpc.stub that return ServerInterceptor Modifier and Type Method Description static 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 ServerInterceptor Modifier and Type Class Description classTransmitStatusRuntimeExceptionInterceptorA 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 ServerInterceptor Modifier and Type Method Description static ServerInterceptorTransmitStatusRuntimeExceptionInterceptor. instance()
-