Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractGrpcClientRegistrar - Class in org.springframework.grpc.client
- AbstractGrpcClientRegistrar() - Constructor for class org.springframework.grpc.client.AbstractGrpcClientRegistrar
- AbstractStubFactory<T> - Class in org.springframework.grpc.client
- AbstractStubFactory() - Constructor for class org.springframework.grpc.client.AbstractStubFactory
- access(AuthorizationManager) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- address() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- addService(ServerServiceDefinition) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- addService(ServerServiceDefinition) - Method in interface org.springframework.grpc.server.GrpcServerFactory
-
Adds a service definition to the server.
- afterPropertiesSet() - Method in class org.springframework.grpc.client.ClientInterceptorsConfigurer
- afterPropertiesSet() - Method in class org.springframework.grpc.server.advice.GrpcAdviceDiscoverer
- afterPropertiesSet() - Method in class org.springframework.grpc.server.advice.GrpcExceptionHandlerMethodResolver
- afterPropertiesSet() - Method in class org.springframework.grpc.server.service.DefaultGrpcServiceConfigurer
- allRequests() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer
- annotated(String, Class) - Method in class org.springframework.grpc.internal.ClasspathScanner
- AnnotationGrpcClientRegistrar - Class in org.springframework.grpc.client
- AnnotationGrpcClientRegistrar() - Constructor for class org.springframework.grpc.client.AnnotationGrpcClientRegistrar
- anonymous() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- ANY_IP_ADDRESS - Static variable in class org.springframework.grpc.internal.GrpcUtils
-
Server should listen to any IPv4 and IPv6 address.
- ApplicationContextBeanLookupUtils - Class in org.springframework.grpc.internal
-
Convenience methods performing bean lookups that are not currently provided by the standard Spring facilities.
- attributes() - Method in record class org.springframework.grpc.server.security.CallContext
-
Returns the value of the
attributesrecord component. - authenticated() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- authenticationConverter(OpaqueTokenAuthenticationConverter) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- authenticationExtractor(GrpcAuthenticationExtractor) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- authenticationManager(AuthenticationManager) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- authenticationManager(AuthenticationManager) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.JwtConfigurer
- authenticationManager(AuthenticationManager) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- AuthenticationProcessInterceptor - Class in org.springframework.grpc.server.security
-
An interceptor that extracts the authentication credentials from the gRPC request headers and metadata, authenticates the user, and sets the authentication in the SecurityContext.
- AuthenticationProcessInterceptor(AuthenticationManager, GrpcAuthenticationExtractor, AuthorizationManager) - Constructor for class org.springframework.grpc.server.security.AuthenticationProcessInterceptor
- authenticationProvider(AuthenticationProvider) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- AUTHORIZATION_KEY - Static variable in class org.springframework.grpc.server.security.GrpcSecurity
-
A constant key used for storing and retrieving the "Authorization" header from gRPC metadata.
- authorizationManager(AuthorizationManager) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- authorize(Supplier, CallContext) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.RequestMapperAuthorizationManager
- authorizeRequests(Customizer) - Method in class org.springframework.grpc.server.security.GrpcSecurity
B
- basePackageClasses() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
The base package classes to scan for stub implementations.
- basePackages() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
The base packages to scan for stub implementations.
- BasicAuthenticationInterceptor - Class in org.springframework.grpc.client.interceptor.security
-
An interceptor that adds basic authentication headers to gRPC client calls.
- BasicAuthenticationInterceptor(String, String) - Constructor for class org.springframework.grpc.client.interceptor.security.BasicAuthenticationInterceptor
- BearerTokenAuthenticationExtractor - Class in org.springframework.grpc.server.security
-
Extracts the HTTP Basic authentication credentials from the gRPC request headers.
- BearerTokenAuthenticationExtractor() - Constructor for class org.springframework.grpc.server.security.BearerTokenAuthenticationExtractor
- BearerTokenAuthenticationInterceptor - Class in org.springframework.grpc.client.interceptor.security
-
An interceptor that adds bearer token authentication headers to gRPC client calls.
- BearerTokenAuthenticationInterceptor(String) - Constructor for class org.springframework.grpc.client.interceptor.security.BearerTokenAuthenticationInterceptor
- BearerTokenAuthenticationInterceptor(Supplier) - Constructor for class org.springframework.grpc.client.interceptor.security.BearerTokenAuthenticationInterceptor
- blendWithGlobalInterceptors() - Element in annotation interface org.springframework.grpc.server.service.GrpcService
-
Whether the service specific interceptors should be blended with the global interceptors.
- blendWithGlobalInterceptors() - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Returns the value of the
blendWithGlobalInterceptorsrecord component. - BlockingStubFactory - Class in org.springframework.grpc.client
- BlockingStubFactory() - Constructor for class org.springframework.grpc.client.BlockingStubFactory
- BlockingV2StubFactory - Class in org.springframework.grpc.client
- BlockingV2StubFactory() - Constructor for class org.springframework.grpc.client.BlockingV2StubFactory
C
- CallContext - Record Class in org.springframework.grpc.server.security
- CallContext(Metadata, Attributes, MethodDescriptor) - Constructor for record class org.springframework.grpc.server.security.CallContext
-
Creates an instance of a
CallContextrecord class. - ChannelBuilderOptions - Class in org.springframework.grpc.client
-
Options used by
GrpcChannelFactorywhen building channels. - ChannelCredentialsProvider - Interface in org.springframework.grpc.client
-
A provider for obtaining channel credentials for gRPC client.
- ClasspathScanner - Class in org.springframework.grpc.internal
- ClasspathScanner() - Constructor for class org.springframework.grpc.internal.ClasspathScanner
- ClientBeanRegistrationsAotProcessor - Class in org.springframework.grpc.client.aot
- ClientBeanRegistrationsAotProcessor() - Constructor for class org.springframework.grpc.client.aot.ClientBeanRegistrationsAotProcessor
- ClientInterceptorFilter - Interface in org.springframework.grpc.client
-
Strategy to determine whether a
ClientInterceptorshould be included for a givenGrpcChannelFactory. - ClientInterceptorsConfigurer - Class in org.springframework.grpc.client
-
Configure a
ManagedChannelBuilderwith client interceptors. - ClientInterceptorsConfigurer(ApplicationContext) - Constructor for class org.springframework.grpc.client.ClientInterceptorsConfigurer
- close(Status, Metadata) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- collect(AnnotationMetadata) - Method in class org.springframework.grpc.client.AbstractGrpcClientRegistrar
- collect(AnnotationMetadata) - Method in class org.springframework.grpc.client.AnnotationGrpcClientRegistrar
- CompositeGrpcChannelFactory - Class in org.springframework.grpc.client
-
A composite
GrpcChannelFactorythat combines a list of channel factories. - CompositeGrpcChannelFactory(List) - Constructor for class org.springframework.grpc.client.CompositeGrpcChannelFactory
-
Creates a new CompositeGrpcChannelFactory with the given factories.
- CompositeGrpcExceptionHandler - Class in org.springframework.grpc.server.exception
- CompositeGrpcExceptionHandler(GrpcExceptionHandler...) - Constructor for class org.springframework.grpc.server.exception.CompositeGrpcExceptionHandler
- configure(H) - Method in class org.springframework.grpc.server.security.HttpBasicConfigurer
- configure(H) - Method in class org.springframework.grpc.server.security.PreAuthConfigurer
- configure(GrpcSecurity) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer
- configure(GrpcServiceSpec, GrpcServerFactory) - Method in class org.springframework.grpc.server.service.DefaultGrpcServiceConfigurer
- configure(GrpcServiceSpec, GrpcServerFactory) - Method in interface org.springframework.grpc.server.service.GrpcServiceConfigurer
-
Configure and bind a gRPC server spec resulting in a service definition that can then be added to a gRPC server.
- configure(T, List) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Configures the server builder by adding service definitions and applying customizers to the builder.
- configureInterceptors(ManagedChannelBuilder, List, boolean, GrpcChannelFactory) - Method in class org.springframework.grpc.client.ClientInterceptorsConfigurer
-
Configure a
ManagedChannelBuilderwith client interceptors. - configureServices(T, List) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Configure the services to be served by the server.
- CONTEXT_FILTER_ORDER - Static variable in class org.springframework.grpc.server.security.GrpcSecurity
-
The order value for the context filter in the gRPC security framework.
- coroutineContext(ServerCall, Metadata) - Method in class org.springframework.grpc.server.security.CoroutineSecurityContextInterceptor
- CoroutineSecurityContextInterceptor - Class in org.springframework.grpc.server.security
-
A gRPC server interceptor that integrates Spring Security's
SecurityContextwith Kotlin coroutines by adding an element to the coroutine context. - CoroutineSecurityContextInterceptor() - Constructor for class org.springframework.grpc.server.security.CoroutineSecurityContextInterceptor
- CoroutineStubFactory - Class in org.springframework.grpc.client
- CoroutineStubFactory() - Constructor for class org.springframework.grpc.client.CoroutineStubFactory
- create(Supplier, Class) - Method in class org.springframework.grpc.client.CoroutineStubFactory
- create(Supplier, Class) - Method in class org.springframework.grpc.client.AbstractStubFactory
- create(Supplier, Class) - Method in interface org.springframework.grpc.client.StubFactory
- createAndStartGrpcServer() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
-
Creates and starts the grpc server.
- createChannel(String) - Method in interface org.springframework.grpc.client.GrpcChannelFactory
-
Creates a
ManagedChannelfor the given target string. - createChannel(String, ChannelBuilderOptions) - Method in class org.springframework.grpc.client.CompositeGrpcChannelFactory
- createChannel(String, ChannelBuilderOptions) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- createChannel(String, ChannelBuilderOptions) - Method in interface org.springframework.grpc.client.GrpcChannelFactory
-
Creates a
ManagedChannelfor the given target string. - createServer() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- createServer() - Method in interface org.springframework.grpc.server.GrpcServerFactory
-
Gets a new fully configured but not started
Serverinstance. - credentials() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Get server credentials.
- customize(String, T) - Method in interface org.springframework.grpc.client.GrpcChannelBuilderCustomizer
-
Callback to customize a
channel builderinstance for a specific target string. - customize(T) - Method in interface org.springframework.grpc.server.ServerBuilderCustomizer
-
Callback to customize a
ServerBuilderinstance. - customizer() - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Gets the customizer to apply to the builder used to create the channel.
D
- decoder(JwtDecoder) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.JwtConfigurer
- DEFAULT - Static variable in interface org.springframework.grpc.client.VirtualTargets
-
Default VirtualTargets instance that resolves the logical name "default" to "localhost:9090" and returns all other targets as-is.
- DEFAULT_PORT - Static variable in class org.springframework.grpc.internal.GrpcUtils
-
Default port to use.
- DefaultDeadlineSetupClientInterceptor - Class in org.springframework.grpc.client.interceptor
-
A client interceptor configuring the default deadline for each call.
- DefaultDeadlineSetupClientInterceptor(Duration) - Constructor for class org.springframework.grpc.client.interceptor.DefaultDeadlineSetupClientInterceptor
- DefaultGrpcChannelFactory<T> - Class in org.springframework.grpc.client
-
Default implementation of
GrpcChannelFactoryfor creating and managing gRPC channels. - DefaultGrpcChannelFactory(List, ClientInterceptorsConfigurer) - Constructor for class org.springframework.grpc.client.DefaultGrpcChannelFactory
-
Construct a channel factory instance.
- DefaultGrpcServerFactory<T> - Class in org.springframework.grpc.server
-
Default implementation for
gRPC service factories. - DefaultGrpcServerFactory(String, List) - Constructor for class org.springframework.grpc.server.DefaultGrpcServerFactory
- DefaultGrpcServerFactory(String, List, KeyManagerFactory, TrustManagerFactory, TlsServerCredentials.ClientAuth) - Constructor for class org.springframework.grpc.server.DefaultGrpcServerFactory
- DefaultGrpcServiceConfigurer - Class in org.springframework.grpc.server.service
-
Default
GrpcServiceConfigurerimplementation that binds and configures services with interceptors. - DefaultGrpcServiceConfigurer(ApplicationContext) - Constructor for class org.springframework.grpc.server.service.DefaultGrpcServiceConfigurer
- DefaultGrpcServiceDiscoverer - Class in org.springframework.grpc.server.service
-
Default
GrpcServiceDiscovererimplementation that finds allBindableServicebeans in the application context. - DefaultGrpcServiceDiscoverer(ApplicationContext) - Constructor for class org.springframework.grpc.server.service.DefaultGrpcServiceDiscoverer
- defaults() - Static method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Gets a new immutable options instance populated with default values.
- defaults() - Static method in interface org.springframework.grpc.client.GrpcChannelBuilderCustomizer
-
Used to indicate no customizations should be made to the builder.
- defaults() - Static method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- denyAll() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- destroy() - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
-
Performs a shutdown on all created channels as follows: First an
orderly shutdownis initiated on each channel.
E
- equals(Object) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.grpc.server.security.CallContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Indicates whether some other object is "equal to" this one.
- EXCEPTION_HANDLER_METHODS - Static variable in class org.springframework.grpc.server.advice.GrpcAdviceDiscoverer
-
A filter for selecting
@GrpcExceptionHandlermethods. - extract(Metadata, Attributes, MethodDescriptor) - Method in class org.springframework.grpc.server.security.BearerTokenAuthenticationExtractor
- extract(Metadata, Attributes, MethodDescriptor) - Method in interface org.springframework.grpc.server.security.GrpcAuthenticationExtractor
- extract(Metadata, Attributes, MethodDescriptor) - Method in class org.springframework.grpc.server.security.HttpBasicAuthenticationExtractor
- extract(Metadata, Attributes, MethodDescriptor) - Method in class org.springframework.grpc.server.security.SslContextPreAuthenticationExtractor
F
- factory() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns the value of the
factoryrecord component. - factory() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
The factory type to use to create the stubs.
- factory(Class) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- filter(ClientInterceptor) - Method in interface org.springframework.grpc.client.ClientInterceptorFilter
-
Determine whether the given
ClientInterceptorshould be included for the providedGrpcChannelFactory. - filter(ServerInterceptor, ServerServiceDefinition) - Method in interface org.springframework.grpc.server.service.ServerInterceptorFilter
-
Determine whether an interceptor should be applied to a service when the service is running on a server provided by the given server factory.
- filter(ServerServiceDefinition, GrpcServerFactory) - Method in interface org.springframework.grpc.server.ServerServiceDefinitionFilter
-
Determine whether the given
ServerServiceDefinitionshould be added to the givenserver factory. - findServices() - Method in class org.springframework.grpc.server.service.DefaultGrpcServiceDiscoverer
- findServices() - Method in interface org.springframework.grpc.server.service.GrpcServiceDiscoverer
-
Find the specs of the available gRPC services.
- findStubFactoryTypes(BeanDefinitionRegistry) - Static method in class org.springframework.grpc.client.GrpcClientFactory
- from(GrpcService) - Static method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Construct a service info from a
GrpcServiceannotation. - fullyAuthenticated() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- FutureStubFactory - Class in org.springframework.grpc.client
- FutureStubFactory() - Constructor for class org.springframework.grpc.client.FutureStubFactory
G
- getAddress() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerStartedEvent
-
Gets the address the server was started with.
- getAnnotatedBeans() - Method in class org.springframework.grpc.server.advice.GrpcAdviceDiscoverer
-
Return the discovered
@GrpcAdvicebeans. - getAnnotatedMethods() - Method in class org.springframework.grpc.server.advice.GrpcAdviceDiscoverer
-
Return the discovered
@GrpcExceptionHandlermethods. - getAttributes() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- getAuthority() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- getBeansWithAnnotation(ApplicationContext, Class, Class) - Static method in class org.springframework.grpc.internal.ApplicationContextBeanLookupUtils
-
Find all beans which are annotated with the supplied
Annotationtype. - getChannelCredentials(String) - Method in interface org.springframework.grpc.client.ChannelCredentialsProvider
- getClient(String, Class, Class) - Method in class org.springframework.grpc.client.GrpcClientFactory
- getFactory() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
-
Gets the server factory used to create the server.
- getHostName(String) - Static method in class org.springframework.grpc.internal.GrpcUtils
-
Gets the hostname given an address.
- getOrder() - Method in class org.springframework.grpc.server.security.AuthenticationProcessInterceptor
- getOrder() - Method in class org.springframework.grpc.server.security.SecurityContextServerInterceptor
- getOrderedBeansWithAnnotation(ApplicationContext, Class, Class) - Static method in class org.springframework.grpc.internal.ApplicationContextBeanLookupUtils
-
Find all beans of the given type which may be annotated with the supplied
Annotationtype and returns a map of matching bean instances with the annotation instance (or null if the bean is not annotated with the specified annotation type). - getPhase() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- getPort() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- getPort() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerStartedEvent
-
Gets the main port the server uses.
- getPort(String) - Static method in class org.springframework.grpc.internal.GrpcUtils
-
Gets the port given an address.
- getSecurityLevel() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- getServer() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
-
Gets the server related to this event.
- getSource() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
-
Gets the lifecycle instance that triggered this event.
- getTarget(String) - Method in interface org.springframework.grpc.client.VirtualTargets
- GlobalClientInterceptor - Annotation Interface in org.springframework.grpc.client
-
Annotation that can be specified on a gRPC
ClientInterceptorbean which will result in the interceptor being applied globally to channels. - GlobalServerInterceptor - Annotation Interface in org.springframework.grpc.server
-
Annotation that can be specified on a gRPC
ServerInterceptorbean which will result in the interceptor being applied globally to all services. - GrpcAdvice - Annotation Interface in org.springframework.grpc.server.advice
-
Marks a class for gRPC exception handling with
@GrpcExceptionHandlermethods. - GrpcAdviceDiscoverer - Class in org.springframework.grpc.server.advice
-
Discovers
@GrpcAdvicebeans and@GrpcExceptionHandlermethods. - GrpcAdviceDiscoverer(ApplicationContext) - Constructor for class org.springframework.grpc.server.advice.GrpcAdviceDiscoverer
- GrpcAdviceExceptionHandler - Class in org.springframework.grpc.server.advice
-
Handles exceptions by delegating to
@GrpcExceptionHandlermethods in@GrpcAdvicebeans. - GrpcAdviceExceptionHandler(GrpcExceptionHandlerMethodResolver) - Constructor for class org.springframework.grpc.server.advice.GrpcAdviceExceptionHandler
-
Create a new instance.
- GrpcAuthenticationExtractor - Interface in org.springframework.grpc.server.security
- GrpcChannelBuilderCustomizer<T> - Interface in org.springframework.grpc.client
-
Callback interface that can be used to customize a
ManagedChannelBuilderfor a specific target. - GrpcChannelFactory - Interface in org.springframework.grpc.client
-
Factory interface for creating
ManagedChannelinstances. - GrpcClientFactory - Class in org.springframework.grpc.client
-
A factory of gRPC clients that can be used to create client stubs as beans in an application context.
- GrpcClientFactory() - Constructor for class org.springframework.grpc.client.GrpcClientFactory
- GrpcClientFactory.GrpcClientRegistrationSpec - Record Class in org.springframework.grpc.client
- GrpcClientRegistrationSpec(String, Class, String, Class[], String[]) - Constructor for record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Creates an instance of a
GrpcClientRegistrationSpecrecord class. - GrpcClientRegistrationSpec(String, Class[]) - Constructor for record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- GrpcClientRegistrationSpec(String, String, Class[]) - Constructor for record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- GrpcExceptionHandledServerCall<ReqT,
RespT> - Class in org.springframework.grpc.server.exception - GrpcExceptionHandledServerCall(ServerCall, GrpcExceptionHandler) - Constructor for class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- GrpcExceptionHandler - Interface in org.springframework.grpc.server.exception
-
Defines an exception handler for handling exceptions that occur during gRPC server-side processing.
- GrpcExceptionHandler - Annotation Interface in org.springframework.grpc.server.advice
-
Marks a method as a gRPC exception handler within a
@GrpcAdviceclass. - GrpcExceptionHandlerInterceptor - Class in org.springframework.grpc.server.exception
-
A gRPC
ServerInterceptorthat handles exceptions thrown during the processing of gRPC calls. - GrpcExceptionHandlerInterceptor(GrpcExceptionHandler) - Constructor for class org.springframework.grpc.server.exception.GrpcExceptionHandlerInterceptor
- GrpcExceptionHandlerMethodResolver - Class in org.springframework.grpc.server.advice
-
Maps exception types to
@GrpcExceptionHandlermethods. - GrpcExceptionHandlerMethodResolver(GrpcAdviceDiscoverer) - Constructor for class org.springframework.grpc.server.advice.GrpcExceptionHandlerMethodResolver
-
Create a new instance.
- GrpcSecurity - Class in org.springframework.grpc.server.security
-
The
GrpcSecurityclass is responsible for configuring the security settings for a gRPC server. - GrpcSecurity(ObjectPostProcessor, AuthenticationManagerBuilder, ApplicationContext) - Constructor for class org.springframework.grpc.server.security.GrpcSecurity
- GrpcServerFactory - Interface in org.springframework.grpc.server
-
Factory interface that can be used to create a
gRPC Server. - GrpcServerLifecycle - Class in org.springframework.grpc.server.lifecycle
-
Lifecycle bean that automatically starts and stops the grpc server.
- GrpcServerLifecycle(GrpcServerFactory, Duration, ApplicationEventPublisher) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
-
Creates a new GrpcServerLifecycle.
- GrpcServerLifecycleEvent - Class in org.springframework.grpc.server.lifecycle
-
The base event for
GrpcServerLifecycle. - GrpcServerLifecycleEvent(GrpcServerLifecycle, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
-
Creates a new GrpcServerLifecycleEvent.
- GrpcServerLifecycleEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
-
Creates a new GrpcServerLifecycleEvent.
- GrpcServerShutdownEvent - Class in org.springframework.grpc.server.lifecycle
-
This event will be fired before the server starts to shutdown.
- GrpcServerShutdownEvent(GrpcServerLifecycle, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerShutdownEvent
-
Creates a new GrpcServerShutdownEvent.
- GrpcServerShutdownEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerShutdownEvent
-
Creates a new GrpcServerShutdownEvent.
- GrpcServerStartedEvent - Class in org.springframework.grpc.server.lifecycle
-
This event will be fired after the server has been started.
- GrpcServerStartedEvent(GrpcServerLifecycle, Server, String, int) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerStartedEvent
-
Creates a new GrpcServerStartedEvent.
- GrpcServerStartedEvent(GrpcServerLifecycle, Clock, Server, String, int) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerStartedEvent
-
Creates a new GrpcServerStartedEvent.
- GrpcServerTerminatedEvent - Class in org.springframework.grpc.server.lifecycle
-
This event will be fired after the server completed to shutdown.
- GrpcServerTerminatedEvent(GrpcServerLifecycle, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerTerminatedEvent
-
Creates a new GrpcServerTerminatedEvent.
- GrpcServerTerminatedEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class org.springframework.grpc.server.lifecycle.GrpcServerTerminatedEvent
-
Creates a new GrpcServerTerminatedEvent.
- GrpcService - Annotation Interface in org.springframework.grpc.server.service
-
Annotation that marks gRPC services that should be registered with a gRPC server.
- GrpcServiceConfigurer - Interface in org.springframework.grpc.server.service
-
Configures and binds a
service specinto aservice definitionthat can then be added to a gRPC server. - GrpcServiceDiscoverer - Interface in org.springframework.grpc.server.service
-
Discovers gRPC services to be provided by the server.
- GrpcServiceInfo - Record Class in org.springframework.grpc.server.service
-
Additional information about a gRPC service that can be used when configuring the service.
- GrpcServiceInfo(Class[], String[], boolean) - Constructor for record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Creates an instance of a
GrpcServiceInforecord class. - GrpcServiceSpec - Record Class in org.springframework.grpc.server.service
-
Encapsulates enough information to construct an actual
ServerServiceDefinition. - GrpcServiceSpec(BindableService, GrpcServiceInfo) - Constructor for record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Creates an instance of a
GrpcServiceSpecrecord class. - GrpcUtils - Class in org.springframework.grpc.internal
-
Provides convenience methods for various gRPC functions.
H
- handleException(Throwable) - Method in class org.springframework.grpc.server.advice.GrpcAdviceExceptionHandler
- handleException(Throwable) - Method in class org.springframework.grpc.server.exception.CompositeGrpcExceptionHandler
- handleException(Throwable) - Method in interface org.springframework.grpc.server.exception.GrpcExceptionHandler
-
Handle the given exception that occurred during gRPC server-side processing.
- handleException(Throwable) - Method in class org.springframework.grpc.server.security.SecurityGrpcExceptionHandler
- handleThrownException(Throwable) - Method in class org.springframework.grpc.server.advice.GrpcAdviceExceptionHandler
-
Look up and invoke the handler method for the given exception.
- hasAnyAuthority(String...) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- hasAuthority(String) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- hashCode() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.grpc.server.security.CallContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Returns a hash code value for this object.
- headers() - Method in record class org.springframework.grpc.server.security.CallContext
-
Returns the value of the
headersrecord component. - hostname() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Returns the hostname on which the server should listen.
- httpBasic(Customizer) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- HttpBasicAuthenticationExtractor - Class in org.springframework.grpc.server.security
-
Extracts the HTTP Basic authentication credentials from the gRPC request headers.
- HttpBasicAuthenticationExtractor() - Constructor for class org.springframework.grpc.server.security.HttpBasicAuthenticationExtractor
- HttpBasicConfigurer<H> - Class in org.springframework.grpc.server.security
- HttpBasicConfigurer(AuthenticationManagerBuilder, ApplicationContext) - Constructor for class org.springframework.grpc.server.security.HttpBasicConfigurer
I
- ImportGrpcClients - Annotation Interface in org.springframework.grpc.client
-
Annotation to create gRPC client beans.
- ImportGrpcClients.Container - Annotation Interface in org.springframework.grpc.client
- init(GrpcSecurity) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer
- InProcessGrpcChannelFactory - Class in org.springframework.grpc.client
-
GrpcChannelFactorythat creates in-process gRPC channels. - InProcessGrpcChannelFactory(List, ClientInterceptorsConfigurer) - Constructor for class org.springframework.grpc.client.InProcessGrpcChannelFactory
-
Construct an in-process channel factory instance and sets the
virtualTargetsto the identity function so that the exact passed in target string is used as the target of the channel factory. - InProcessGrpcServerFactory - Class in org.springframework.grpc.server
-
GrpcServerFactorythat can be used to create an in-process gRPC server. - InProcessGrpcServerFactory(String, List) - Constructor for class org.springframework.grpc.server.InProcessGrpcServerFactory
- INSECURE - Static variable in interface org.springframework.grpc.client.ChannelCredentialsProvider
-
Insecure credentials provider instance.
- InsecureTrustManagerFactory - Class in org.springframework.grpc.internal
-
A custom implementation of the TrustManagerFactory class that provides an insecure trust manager.
- InsecureTrustManagerFactory() - Constructor for class org.springframework.grpc.internal.InsecureTrustManagerFactory
- INSTANCE - Static variable in class org.springframework.grpc.internal.InsecureTrustManagerFactory
-
Single instance of the factory.
- interceptCall(MethodDescriptor, CallOptions, Channel) - Method in class org.springframework.grpc.client.interceptor.DefaultDeadlineSetupClientInterceptor
- interceptCall(MethodDescriptor, CallOptions, Channel) - Method in class org.springframework.grpc.client.interceptor.security.BasicAuthenticationInterceptor
- interceptCall(MethodDescriptor, CallOptions, Channel) - Method in class org.springframework.grpc.client.interceptor.security.BearerTokenAuthenticationInterceptor
- interceptCall(ServerCall, Metadata, ServerCallHandler) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandlerInterceptor
-
Intercepts a gRPC server call to handle exceptions.
- interceptCall(ServerCall, Metadata, ServerCallHandler) - Method in class org.springframework.grpc.server.security.AuthenticationProcessInterceptor
- interceptCall(ServerCall, Metadata, ServerCallHandler) - Method in class org.springframework.grpc.server.security.SecurityContextServerInterceptor
- interceptorNames() - Element in annotation interface org.springframework.grpc.server.service.GrpcService
-
The
ServerInterceptorbean names to be applied to the service. - interceptorNames() - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Returns the value of the
interceptorNamesrecord component. - interceptors() - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Gets the client interceptors to apply to the channel.
- interceptors() - Element in annotation interface org.springframework.grpc.server.service.GrpcService
-
The
ServerInterceptorbean types to be applied to the service. - interceptors() - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Returns the value of the
interceptorsrecord component. - introspectionClientCredentials(String, String) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- introspectionUri(String) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- introspector(OpaqueTokenIntrospector) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer
- isAutoStartup() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- isCancelled() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- isMethodMappedForException(Class) - Method in class org.springframework.grpc.server.advice.GrpcExceptionHandlerMethodResolver
-
Check if a handler method exists for the given exception type.
- isReady() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- isRunning() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
J
- jwkSetUri(String) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.JwtConfigurer
- jwt(Customizer) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer
- jwtAuthenticationConverter(Converter) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer.JwtConfigurer
L
- listServiceNames() - Method in class org.springframework.grpc.server.service.DefaultGrpcServiceDiscoverer
- listServiceNames() - Method in interface org.springframework.grpc.server.service.GrpcServiceDiscoverer
-
Find the names of the available gRPC services.
- logger - Variable in class org.springframework.grpc.server.DefaultGrpcServerFactory
M
- matching(String, Consumer) - Static method in interface org.springframework.grpc.client.GrpcChannelBuilderCustomizer
- mergeWithGlobalInterceptors() - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Gets whether the provided interceptors should be blended with the global interceptors.
- method() - Method in record class org.springframework.grpc.server.security.CallContext
-
Returns the value of the
methodrecord component. - methodName() - Method in class org.springframework.grpc.client.AbstractStubFactory
- methodName() - Method in class org.springframework.grpc.client.BlockingStubFactory
- methodName() - Method in class org.springframework.grpc.client.BlockingV2StubFactory
- methodName() - Method in class org.springframework.grpc.client.FutureStubFactory
- methodName() - Method in class org.springframework.grpc.client.ReactorStubFactory
- methodName() - Method in class org.springframework.grpc.client.SimpleStubFactory
- methods(String...) - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer
N
- NegotiationType - Enum Class in org.springframework.grpc.client
-
Identifies the negotiation used for starting up HTTP/2.
- NettyGrpcChannelFactory - Class in org.springframework.grpc.client
-
GrpcChannelFactorythat creates Netty-based gRPC channels. - NettyGrpcChannelFactory(List, ClientInterceptorsConfigurer) - Constructor for class org.springframework.grpc.client.NettyGrpcChannelFactory
-
Construct a channel factory instance.
- NettyGrpcServerFactory - Class in org.springframework.grpc.server
-
GrpcServerFactorythat can be used to create a Netty-based gRPC server. - NettyGrpcServerFactory(String, List, KeyManagerFactory, TrustManagerFactory, TlsServerCredentials.ClientAuth) - Constructor for class org.springframework.grpc.server.NettyGrpcServerFactory
- newChannelBuilder(String, ChannelCredentials) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
-
Creates a new
ManagedChannelBuilderinstance for the given target and credentials. - newChannelBuilder(String, ChannelCredentials) - Method in class org.springframework.grpc.client.InProcessGrpcChannelFactory
- newChannelBuilder(String, ChannelCredentials) - Method in class org.springframework.grpc.client.NettyGrpcChannelFactory
- newChannelBuilder(String, ChannelCredentials) - Method in class org.springframework.grpc.client.ShadedNettyGrpcChannelFactory
- newServerBuilder() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Creates a new server builder.
- newServerBuilder() - Method in class org.springframework.grpc.server.InProcessGrpcServerFactory
- newServerBuilder() - Method in class org.springframework.grpc.server.NettyGrpcServerFactory
- newServerBuilder() - Method in class org.springframework.grpc.server.ShadedNettyGrpcServerFactory
- not() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
O
- oauth2ResourceServer(Customizer) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- OAuth2ResourceServerConfigurer - Class in org.springframework.grpc.server.security
- OAuth2ResourceServerConfigurer(ApplicationContext) - Constructor for class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer
- OAuth2ResourceServerConfigurer.JwtConfigurer - Class in org.springframework.grpc.server.security
- OAuth2ResourceServerConfigurer.OpaqueTokenConfigurer - Class in org.springframework.grpc.server.security
- of(String) - Static method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- opaqueToken(Customizer) - Method in class org.springframework.grpc.server.security.OAuth2ResourceServerConfigurer
- org.springframework.grpc - package org.springframework.grpc
-
Core module for Spring gRPC.
- org.springframework.grpc.client - package org.springframework.grpc.client
-
gRPC client infrastructure.
- org.springframework.grpc.client.aot - package org.springframework.grpc.client.aot
-
AOT (Ahead-Of-Time) processing for gRPC clients.
- org.springframework.grpc.client.interceptor - package org.springframework.grpc.client.interceptor
-
gRPC client interceptors.
- org.springframework.grpc.client.interceptor.security - package org.springframework.grpc.client.interceptor.security
-
Security-related gRPC client interceptors.
- org.springframework.grpc.internal - package org.springframework.grpc.internal
-
Internal utilities and helpers.
- org.springframework.grpc.server - package org.springframework.grpc.server
-
gRPC server infrastructure.
- org.springframework.grpc.server.advice - package org.springframework.grpc.server.advice
-
Support for annotation-based gRPC exception handling using
@GrpcAdviceand@GrpcExceptionHandler. - org.springframework.grpc.server.exception - package org.springframework.grpc.server.exception
-
Exception handling for gRPC servers.
- org.springframework.grpc.server.lifecycle - package org.springframework.grpc.server.lifecycle
-
gRPC server events.
- org.springframework.grpc.server.security - package org.springframework.grpc.server.security
-
Security infrastructure for gRPC servers.
- org.springframework.grpc.server.service - package org.springframework.grpc.server.service
-
gRPC service discovery and configuration.
P
- packageClasses(Class...) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- packages() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns the value of the
packagesrecord component. - packages(String...) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- performBuild() - Method in class org.springframework.grpc.server.security.GrpcSecurity
- permitAll() - Method in class org.springframework.grpc.server.security.RequestMapperConfigurer.AuthorizedCall
- PLAINTEXT - Enum constant in enum class org.springframework.grpc.client.NegotiationType
-
Just assume the connection is plaintext (non-SSL) and the remote endpoint supports HTTP/2 directly without an upgrade.
- PLAINTEXT_UPGRADE - Enum constant in enum class org.springframework.grpc.client.NegotiationType
-
Use the HTTP UPGRADE protocol for a plaintext (non-SSL) upgrade from HTTP/1.1 to HTTP/2.
- port() - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
-
Returns the port number on which the server should listen as defined by.
- preauth(Customizer) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- PreAuthConfigurer<H> - Class in org.springframework.grpc.server.security
- PreAuthConfigurer(AuthenticationManagerBuilder, ApplicationContext) - Constructor for class org.springframework.grpc.server.security.PreAuthConfigurer
- prefix() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns the value of the
prefixrecord component. - prefix() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
The prefix to use when creating bean definitions for clients, completed by the simple name of the class.
- prefix(String) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
- processAheadOfTime(ConfigurableListableBeanFactory) - Method in class org.springframework.grpc.client.aot.ClientBeanRegistrationsAotProcessor
R
- ReactiveStubBeanDefinitionRegistrar - Class in org.springframework.grpc.server.exception
-
A
BeanFactoryPostProcessorandMethodReplacerthat processes beans of typeBindableServiceto replace theironErrorMapmethod to a set ofGrpcExceptionHandlerbeans. - ReactiveStubBeanDefinitionRegistrar() - Constructor for class org.springframework.grpc.server.exception.ReactiveStubBeanDefinitionRegistrar
- ReactorStubFactory - Class in org.springframework.grpc.client
- ReactorStubFactory() - Constructor for class org.springframework.grpc.client.ReactorStubFactory
- register(BeanDefinitionRegistry, GrpcClientFactory.GrpcClientRegistrationSpec) - Static method in class org.springframework.grpc.client.GrpcClientFactory
- registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class org.springframework.grpc.client.AbstractGrpcClientRegistrar
- registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class org.springframework.grpc.server.exception.ReactiveStubBeanDefinitionRegistrar
- request(int) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- RequestMapperAuthorizationManager(List, AuthorizationEventPublisher) - Constructor for class org.springframework.grpc.server.security.RequestMapperConfigurer.RequestMapperAuthorizationManager
- RequestMapperConfigurer - Class in org.springframework.grpc.server.security
- RequestMapperConfigurer(ApplicationContext) - Constructor for class org.springframework.grpc.server.security.RequestMapperConfigurer
- RequestMapperConfigurer.AuthorizedCall - Class in org.springframework.grpc.server.security
- RequestMapperConfigurer.RequestMapperAuthorizationManager - Class in org.springframework.grpc.server.security
- resolveMetadata(Object) - Method in class org.springframework.grpc.server.advice.GrpcAdviceExceptionHandler
-
Resolve the metadata from the handler's return value.
- resolveMethodWithInstance(Class) - Method in class org.springframework.grpc.server.advice.GrpcExceptionHandlerMethodResolver
-
Resolve the handler method and bean instance for the given exception type.
- resolveStatus(Object) - Method in class org.springframework.grpc.server.advice.GrpcAdviceExceptionHandler
-
Resolve the gRPC status from the handler's return value.
S
- scan(String, Class) - Method in class org.springframework.grpc.internal.ClasspathScanner
- scan(String, TypeFilter) - Method in class org.springframework.grpc.internal.ClasspathScanner
- SECURITY_CONTEXT_KEY - Static variable in class org.springframework.grpc.server.security.GrpcSecurity
-
Key for the SecurityContext in the gRPC Context.
- SecurityContextServerInterceptor - Class in org.springframework.grpc.server.security
- SecurityContextServerInterceptor() - Constructor for class org.springframework.grpc.server.security.SecurityContextServerInterceptor
- SecurityGrpcExceptionHandler - Class in org.springframework.grpc.server.security
-
Exception handler for server-side exceptions.
- SecurityGrpcExceptionHandler() - Constructor for class org.springframework.grpc.server.security.SecurityGrpcExceptionHandler
- sendHeaders(Metadata) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- ServerBuilderCustomizer<T> - Interface in org.springframework.grpc.server
-
Callback interface that can be used to customize a
ServerBuilder. - ServerInterceptorFilter - Interface in org.springframework.grpc.server.service
-
Strategy to determine whether a global
server interceptorshould be applied togRPC service. - ServerServiceDefinitionFilter - Interface in org.springframework.grpc.server
-
Strategy to determine whether a
ServerServiceDefinitionshould be added to aserver factory. - service() - Method in record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Returns the value of the
servicerecord component. - serviceInfo() - Method in record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Returns the value of the
serviceInforecord component. - setApplicationContext(ApplicationContext) - Method in class org.springframework.grpc.client.GrpcClientFactory
- setCompression(String) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- setCredentialsProvider(ChannelCredentialsProvider) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- setInterceptorFilter(ClientInterceptorFilter) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- setInterceptorFilter(ServerInterceptorFilter) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- setMessageCompression(boolean) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- setOnReadyThreshold(int) - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- setResourceLoader(ResourceLoader) - Method in class org.springframework.grpc.internal.ClasspathScanner
- setServiceFilter(ServerServiceDefinitionFilter) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- setVirtualTargets(VirtualTargets) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- ShadedNettyGrpcChannelFactory - Class in org.springframework.grpc.client
-
GrpcChannelFactorythat creates shaded Netty-based gRPC channels. - ShadedNettyGrpcChannelFactory(List, ClientInterceptorsConfigurer) - Constructor for class org.springframework.grpc.client.ShadedNettyGrpcChannelFactory
-
Construct a channel factory instance.
- ShadedNettyGrpcServerFactory - Class in org.springframework.grpc.server
-
GrpcServerFactorythat can be used to create a shaded Netty-based gRPC server. - ShadedNettyGrpcServerFactory(String, List, KeyManagerFactory, TrustManagerFactory, TlsServerCredentials.ClientAuth) - Constructor for class org.springframework.grpc.server.ShadedNettyGrpcServerFactory
- shutdownGracePeriod() - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Gets the time to wait for the channel to gracefully shutdown.
- SimpleStubFactory - Class in org.springframework.grpc.client
- SimpleStubFactory() - Constructor for class org.springframework.grpc.client.SimpleStubFactory
- sortBeansIncludingOrderAnnotation(ApplicationContext, Class, List) - Static method in class org.springframework.grpc.internal.ApplicationContextBeanLookupUtils
-
Sorts the supplied list in place using an
OrderComparatorthat takes the@Orderannotation on bean factory methods in configuration classes into account. - SslContextPreAuthenticationExtractor - Class in org.springframework.grpc.server.security
- SslContextPreAuthenticationExtractor() - Constructor for class org.springframework.grpc.server.security.SslContextPreAuthenticationExtractor
- SslContextPreAuthenticationExtractor(X509PrincipalExtractor) - Constructor for class org.springframework.grpc.server.security.SslContextPreAuthenticationExtractor
- start() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- stop() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- stop(Runnable) - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
- stopAndReleaseGrpcServer() - Method in class org.springframework.grpc.server.lifecycle.GrpcServerLifecycle
-
Initiates an orderly shutdown of the grpc server and releases the references to the server.
- StubFactory<T> - Interface in org.springframework.grpc.client
- supports(ClientInterceptor) - Method in class org.springframework.grpc.client.CompositeGrpcChannelFactory
- supports(ClientInterceptor) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- supports(ClientInterceptor) - Method in interface org.springframework.grpc.client.GrpcChannelFactory
-
Whether this factory supports the given global
ClientInterceptor. - supports(ServerInterceptor, ServerServiceDefinition) - Method in class org.springframework.grpc.server.DefaultGrpcServerFactory
- supports(ServerInterceptor, ServerServiceDefinition) - Method in interface org.springframework.grpc.server.GrpcServerFactory
- supports(Class) - Static method in class org.springframework.grpc.client.BlockingStubFactory
- supports(Class) - Static method in class org.springframework.grpc.client.BlockingV2StubFactory
- supports(Class) - Static method in class org.springframework.grpc.client.CoroutineStubFactory
- supports(Class) - Static method in class org.springframework.grpc.client.FutureStubFactory
- supports(Class) - Static method in class org.springframework.grpc.client.ReactorStubFactory
- supports(Class) - Static method in class org.springframework.grpc.client.SimpleStubFactory
- supports(Class, Class) - Static method in class org.springframework.grpc.client.AbstractStubFactory
- supports(String) - Method in class org.springframework.grpc.client.CompositeGrpcChannelFactory
- supports(String) - Method in class org.springframework.grpc.client.DefaultGrpcChannelFactory
-
Whether this factory supports the given target string.
- supports(String) - Method in interface org.springframework.grpc.client.GrpcChannelFactory
-
Whether this factory supports the given target string.
- supports(String) - Method in class org.springframework.grpc.client.InProcessGrpcChannelFactory
-
Whether this factory supports the given target string.
T
- target() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns the value of the
targetrecord component. - target() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
The name or base URL of the gRPC server to connect to.
- targets - Variable in class org.springframework.grpc.client.DefaultGrpcChannelFactory
- then(GrpcChannelBuilderCustomizer) - Method in interface org.springframework.grpc.client.GrpcChannelBuilderCustomizer
- TLS - Enum constant in enum class org.springframework.grpc.client.NegotiationType
-
Uses TLS ALPN/NPN negotiation, assumes an SSL connection.
- toString() - Method in class org.springframework.grpc.server.exception.GrpcExceptionHandledServerCall
- toString() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.grpc.server.security.CallContext
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.grpc.server.service.GrpcServiceSpec
-
Returns a string representation of this record class.
- types() - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
-
Returns the value of the
typesrecord component. - types() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
Concrete types of the stubs to create.
- types(Class...) - Method in record class org.springframework.grpc.client.GrpcClientFactory.GrpcClientRegistrationSpec
U
- UnspecifiedStubFactory - Interface in org.springframework.grpc.client
- userDetailsService(UserDetailsService) - Method in class org.springframework.grpc.server.security.GrpcSecurity
- userDetailsService(UserDetailsService) - Method in class org.springframework.grpc.server.security.HttpBasicConfigurer
- userDetailsService(UserDetailsService) - Method in class org.springframework.grpc.server.security.PreAuthConfigurer
V
- value() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients.Container
- value() - Element in annotation interface org.springframework.grpc.client.ImportGrpcClients
-
Concrete types of the stubs to create.
- value() - Element in annotation interface org.springframework.grpc.server.advice.GrpcExceptionHandler
-
Exception types to handle.
- valueOf(String) - Static method in enum class org.springframework.grpc.client.NegotiationType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.grpc.client.NegotiationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VirtualTargets - Interface in org.springframework.grpc.client
W
- withCustomizer(GrpcChannelBuilderCustomizer) - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Set the customizer to apply to the builder used to create the channel.
- withInterceptorNames(List) - Static method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Construct a service info with the specified interceptors names.
- withInterceptors(List) - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Set the client interceptors to apply to the channel.
- withInterceptors(List) - Static method in record class org.springframework.grpc.server.service.GrpcServiceInfo
-
Construct a service info with the specified interceptors.
- withInterceptorsMerge(boolean) - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Set whether the provided interceptors should be blended with the global interceptors.
- withShutdownGracePeriod(Duration) - Method in class org.springframework.grpc.client.ChannelBuilderOptions
-
Set the time to wait for the channel to gracefully shutdown.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form