public class BinaryDatabaseInjector extends Object implements io.grpc.ServerInterceptor
BinaryDatabase to the current context| Modifier and Type | Field and Description |
|---|---|
static io.grpc.Context.Key<BinaryDatabase> |
BINARY_DATABASE_KEY
The
Context.Key to which the database reference is bound |
| Constructor and Description |
|---|
BinaryDatabaseInjector(BinaryDatabase binaryDatabase) |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
public static final io.grpc.Context.Key<BinaryDatabase> BINARY_DATABASE_KEY
Context.Key to which the database reference is boundpublic BinaryDatabaseInjector(BinaryDatabase binaryDatabase)
binaryDatabase - The database to injectCopyright © 2024 SiLA Java Developers. All rights reserved.