Uses of Class
org.springframework.grpc.client.ChannelBuilderOptions
Packages that use ChannelBuilderOptions
-
Uses of ChannelBuilderOptions in org.springframework.grpc.client
Methods in org.springframework.grpc.client that return ChannelBuilderOptionsModifier and TypeMethodDescriptionstatic ChannelBuilderOptionsChannelBuilderOptions.defaults()Gets a new immutable options instance populated with default values.<T extends io.grpc.ManagedChannelBuilder<T>>
ChannelBuilderOptionsChannelBuilderOptions.withCustomizer(GrpcChannelBuilderCustomizer<T> customizer) Set the customizer to apply to the builder used to create the channel.ChannelBuilderOptions.withInterceptors(List<io.grpc.ClientInterceptor> interceptors) Set the client interceptors to apply to the channel.ChannelBuilderOptions.withInterceptorsMerge(boolean mergeWithGlobalInterceptors) Set whether the provided interceptors should be blended with the global interceptors.ChannelBuilderOptions.withShutdownGracePeriod(Duration shutdownGracePeriod) Set the time to wait for the channel to gracefully shutdown.Methods in org.springframework.grpc.client with parameters of type ChannelBuilderOptionsModifier and TypeMethodDescriptionio.grpc.ManagedChannelCompositeGrpcChannelFactory.createChannel(String target, ChannelBuilderOptions options) io.grpc.ManagedChannelDefaultGrpcChannelFactory.createChannel(String target, ChannelBuilderOptions options) io.grpc.ManagedChannelGrpcChannelFactory.createChannel(String target, ChannelBuilderOptions options) Creates aManagedChannelfor the given target string.