| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerServiceDefinition |
ServerInterceptors.intercept(BindableService bindableService,
ServerInterceptor... interceptors) |
static ServerServiceDefinition |
ServerInterceptors.intercept(ServerServiceDefinition serviceDef,
ServerInterceptor... interceptors)
Create a new
ServerServiceDefinition whose ServerCallHandlers will call
interceptors before calling the pre-existing ServerCallHandler. |
static ServerServiceDefinition |
ServerInterceptors.interceptForward(BindableService bindableService,
ServerInterceptor... interceptors) |
static ServerServiceDefinition |
ServerInterceptors.interceptForward(ServerServiceDefinition serviceDef,
ServerInterceptor... interceptors)
Create a new
ServerServiceDefinition whose ServerCallHandlers will call
interceptors before calling the pre-existing ServerCallHandler. |
| Modifier and Type | Method and Description |
|---|---|
static ServerServiceDefinition |
ServerInterceptors.intercept(BindableService bindableService,
List<? extends ServerInterceptor> interceptors) |
static ServerServiceDefinition |
ServerInterceptors.intercept(ServerServiceDefinition serviceDef,
List<? extends ServerInterceptor> interceptors)
Create a new
ServerServiceDefinition whose ServerCallHandlers will call
interceptors before calling the pre-existing ServerCallHandler. |
static ServerServiceDefinition |
ServerInterceptors.interceptForward(BindableService bindableService,
List<? extends ServerInterceptor> interceptors) |
static ServerServiceDefinition |
ServerInterceptors.interceptForward(ServerServiceDefinition serviceDef,
List<? extends ServerInterceptor> interceptors)
Create a new
ServerServiceDefinition whose ServerCallHandlers will call
interceptors before calling the pre-existing ServerCallHandler. |