- All Superinterfaces:
NamedService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Extension that can modify gRPC client behavior.
-
Method Summary
Modifier and TypeMethodDescriptionWeightedBag
<io.grpc.ClientInterceptor> Insert a list of client interceptors for a client gRPC call.default String
name()
Name of this implementation, as provided inConfiguredProvider.create(Config, String)
.default String
type()
Type of this implementation, to distinguish instances of same type, with differentNamedService.name()
.
-
Method Details
-
name
Description copied from interface:NamedService
Name of this implementation, as provided inConfiguredProvider.create(Config, String)
.- Specified by:
name
in interfaceNamedService
- Returns:
- name of this service
-
type
Description copied from interface:NamedService
Type of this implementation, to distinguish instances of same type, with differentNamedService.name()
. Use for exampleConfiguredProvider.configKey()
to define the type.- Specified by:
type
in interfaceNamedService
- Returns:
- type of this service
-
interceptors
WeightedBag<io.grpc.ClientInterceptor> interceptors()Insert a list of client interceptors for a client gRPC call.- Returns:
- weighted bag of interceptors
-