Uses of Interface
io.grpc.ServerInterceptor
-
-
Uses of ServerInterceptor in io.grpc
Methods in io.grpc with parameters of type ServerInterceptor Modifier and Type Method Description T
ForwardingServerBuilder. intercept(ServerInterceptor interceptor)
T
ServerBuilder. intercept(ServerInterceptor interceptor)
Adds aServerInterceptor
that is run for all services on the server.static ServerServiceDefinition
ServerInterceptors. intercept(BindableService bindableService, 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. interceptForward(BindableService bindableService, ServerInterceptor... interceptors)
static ServerServiceDefinition
ServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, ServerInterceptor... interceptors)
Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.Method parameters in io.grpc with type arguments of type ServerInterceptor Modifier and Type Method Description static ServerServiceDefinition
ServerInterceptors. intercept(BindableService bindableService, java.util.List<? extends ServerInterceptor> interceptors)
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, java.util.List<? extends ServerInterceptor> interceptors)
static ServerServiceDefinition
ServerInterceptors. interceptForward(ServerServiceDefinition serviceDef, java.util.List<? extends ServerInterceptor> interceptors)
Create a newServerServiceDefinition
whoseServerCallHandler
s will callinterceptors
before calling the pre-existingServerCallHandler
.
-