Skip navigation links
A B C D E F G H I M N O P R S T U V X 

A

AbstractAuthenticatingServerCallListener<ReqT> - Class in net.devh.boot.grpc.server.security.interceptors
A call listener that will set the authentication context before each invocation and clear it afterwards.
AbstractAuthenticatingServerCallListener(ServerCall.Listener<ReqT>, Context) - Constructor for class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
Creates a new AbstractAuthenticatingServerCallListener which will attach the given security context before delegating to the given listener.
AbstractGrpcSecurityMetadataSource - Class in net.devh.boot.grpc.server.security.check
Abstract implementation of GrpcSecurityMetadataSource which resolves the secured object type to a ServerCall.
AbstractGrpcSecurityMetadataSource() - Constructor for class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
 
AbstractGrpcServerFactory<T extends io.grpc.ServerBuilder<T>> - Class in net.devh.boot.grpc.server.serverfactory
Abstract factory for grpc servers.
AbstractGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Creates a new server factory with the given properties.
ACCESS_DENIED_DESCRIPTION - Static variable in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
A constant that contains the response message for calls with insufficient permissions.
AccessPredicate - Interface in net.devh.boot.grpc.server.security.check
Predicate that can be used to check whether the given Authentication has access to the protected service/method.
AccessPredicate.SocketPredicate - Interface in net.devh.boot.grpc.server.security.check
Some helper methods used to create Predicates for SocketAddresses.
AccessPredicateConfigAttribute - Class in net.devh.boot.grpc.server.security.check
A ConfigAttribute which uses the embedded AccessPredicate for the decisions.
AccessPredicateConfigAttribute(AccessPredicate) - Constructor for class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
Creates a new AccessPredicateConfigAttribute with the given AccessPredicate.
AccessPredicateVoter - Class in net.devh.boot.grpc.server.security.check
AccessPredicateVoter() - Constructor for class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 
addService(GrpcServiceDefinition) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
addService(GrpcServiceDefinition) - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Adds the given grpc service definition to this factory.
afterPropertiesSet() - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
 
afterPropertiesSet() - Method in class net.devh.boot.grpc.server.advice.GrpcExceptionHandlerMethodResolver
 
and(Predicate<? super Authentication>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Combines this predicate with the given predicate using the AND operator.
and(BiPredicate<? super Authentication, ? super ServerCall<?, ?>>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
 
andThen(Consumer<? super ServerBuilder<?>>) - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerConfigurer
 
AnnotationGlobalServerInterceptorConfigurer - Class in net.devh.boot.grpc.server.interceptor
Automatically find and configure annotated global ServerInterceptors.
AnnotationGlobalServerInterceptorConfigurer(ApplicationContext) - Constructor for class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
Creates a new AnnotationGlobalServerInterceptorConfigurer.
AnnotationGrpcServiceDiscoverer - Class in net.devh.boot.grpc.server.service
A GrpcServiceDiscoverer that searches for beans with the GrpcService annotations.
AnnotationGrpcServiceDiscoverer() - Constructor for class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
 
AnonymousAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
The AnonymousAuthenticationReader allows users without credentials to get an anonymous identity.
AnonymousAuthenticationReader(String) - Constructor for class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
Creates a new AnonymousAuthenticationReader with the given key and "anonymousUser" as principal with the ROLE_ANONYMOUS.
AnonymousAuthenticationReader(String, Object, Collection<? extends GrantedAuthority>) - Constructor for class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
Creates a new AnonymousAuthenticationReader with the given key,principal and authorities.
ANY_IP_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
A constant that defines, that the server should listen to any IPv4 and IPv6 address.
ANY_IPv4_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
A constant that defines, that the server should listen to any IPv4 address.
ANY_IPv6_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
A constant that defines, that the server should listen to any IPv6 address.
attachAuthenticationContext() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
Attaches the authentication context before the actual call.
authenticate(Authentication) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
 
authenticated() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
All authenticated users can access the protected instance including anonymous users.
authenticatingServerInterceptor(AuthenticationManager, GrpcAuthenticationReader) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration
The security interceptor that handles the authentication of requests.
AuthenticatingServerInterceptor - Interface in net.devh.boot.grpc.server.security.interceptors
Marker-Interface: A server interceptor that used to authenticate the client request.
AUTHENTICATION_CONTEXT_KEY - Static variable in interface net.devh.boot.grpc.server.security.interceptors.AuthenticatingServerInterceptor
authorizationCheckingServerInterceptor(AccessDecisionManager, GrpcSecurityMetadataSource) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration
The security interceptor that handles the authorization of requests.
AuthorizationCheckingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
A server interceptor that will check the security context whether it has permission to access the grpc method.
AuthorizationCheckingServerInterceptor(AccessDecisionManager, GrpcSecurityMetadataSource) - Constructor for class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
Creates a new AuthorizationCheckingServerInterceptor with the given AccessDecisionManager and GrpcSecurityMetadataSource.

B

BasicGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Reads basic auth credentials from the request.
BasicGrpcAuthenticationReader() - Constructor for class net.devh.boot.grpc.server.security.authentication.BasicGrpcAuthenticationReader
 
BearerAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Spring-Security has several token-based AuthenticationProvider implementations (e.g.
BearerAuthenticationReader(Function<String, Authentication>) - Constructor for class net.devh.boot.grpc.server.security.authentication.BearerAuthenticationReader
Creates a new BearerAuthenticationReader with the given wrapper function.

C

cancelled(Context) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
canEqual(Object) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
 
canEqual(Object) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
ClientAuth - Enum in net.devh.boot.grpc.server.config
Indicates the state of the SSLEngine with respect to client authentication.
close(Status, Metadata) - Method in class net.devh.boot.grpc.server.error.GrpcExceptionServerCall
 
closeCallAccessDenied(ServerCall<?, ?>, AccessDeniedException) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Close the call with Status.PERMISSION_DENIED.
closeCallUnauthenticated(ServerCall<?, ?>, AuthenticationException) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Close the call with Status.UNAUTHENTICATED.
CN_USERNAME_EXTRACTOR - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
The default way to extract the username from an Authentication by using the CN.
collectMethodNamesForService(ServiceDescriptor) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
Gets all method names from the given service descriptor.
CompositeGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Combines multiple GrpcAuthenticationReader into a single one.
CompositeGrpcAuthenticationReader(List<GrpcAuthenticationReader>) - Constructor for class net.devh.boot.grpc.server.security.authentication.CompositeGrpcAuthenticationReader
Creates a new CompositeGrpcAuthenticationReader with the given authentication readers.
compressionServerConfigurer(CompressorRegistry) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
ConditionalOnInterprocessServer - Class in net.devh.boot.grpc.server.condition
A condition that matches if the grpc.server.port does not have the value -1.
configure(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the given server builder.
configureAcceptedClientCertificates(GrpcServerProperties.Security, SslContextBuilder) - Static method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Configures the client certificates accepted by the ssl context.
configureAcceptedClientCertificates(GrpcServerProperties.Security, SslContextBuilder) - Static method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Configures the client certificates accepted by the ssl context.
configureConnectionLimits(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the keep alive options that should be used by the server.
configureConnectionLimits(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
configureConnectionLimits(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
configureKeepAlive(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the keep alive options that should be used by the server.
configureKeepAlive(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
configureKeepAlive(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
configureLimits(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures limits such as max message sizes that should be used by the server.
configureSecurity(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the security options that should be used by the server.
configureSecurity(InProcessServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
 
configureSecurity(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
configureSecurity(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
configureServerInterceptors(List<ServerInterceptor>) - Method in class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
 
configureServerInterceptors(List<ServerInterceptor>) - Method in interface net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorConfigurer
Configures the given list of server interceptors, possibly adding new elements, removing unwanted elements, or reordering the existing ones.
configureServices(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the services that should be served by the server.
context() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
Gets the Context associated with the call.
createAndStartGrpcServer() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
Creates and starts the grpc server.
createServer() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
createServer() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Creates a new grpc server with the stored options.

D

decompressionServerConfigurer(DecompressorRegistry) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
DefaultAuthenticatingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
A server interceptor that tries to read the credentials from the client and authenticate them.
DefaultAuthenticatingServerInterceptor(AuthenticationManager, GrpcAuthenticationReader) - Constructor for class net.devh.boot.grpc.server.security.interceptors.DefaultAuthenticatingServerInterceptor
Creates a new DefaultAuthenticatingServerInterceptor with the given authentication manager and reader.
defaultGrpcServerProperties() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
defaultGrpcServiceDiscoverer() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
defaultServerConfigurers() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
denyAll() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Nobody can access the protected instance.
detachAuthenticationContext() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
Detaches the authentication context after the actual call.

E

equals(Object) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
 
equals(Object) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
equals(Object) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
eraseCredentials() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
EXCEPTION_HANDLER_METHODS - Static variable in class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
A filter for selecting @GrpcExceptionHandler methods.
exceptionTranslatingServerInterceptor() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration
The interceptor for handling security related exceptions such as AuthenticationException and AccessDeniedException.
ExceptionTranslatingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
Server interceptor that translates any AuthenticationException and AccessDeniedException to appropriate grpc status responses.
ExceptionTranslatingServerInterceptor() - Constructor for class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
 

F

FAIL_FALLBACK - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
A fallback that will fail to extract the username and will return null.
findGrpcServices() - Method in class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
 
findGrpcServices() - Method in interface net.devh.boot.grpc.server.service.GrpcServiceDiscoverer
Find the grpc services that should provided by the server.
fromCertificate(Certificate) - Method in class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
Tries to prepare an Authentication using the given certificate.
fromClientAddress(Predicate<? super SocketAddress>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Checks that the client connected from the given address.
fullyAuthenticated() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
All authenticated users can access the protected instance excluding anonymous users.

G

get(String, ObjectFactory<?>) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
getAccessPredicate() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
Gets the access predicate that belongs to this instance.
getAddress() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Bind address for the server.
getAddress() - Method in class net.devh.boot.grpc.server.event.GrpcServerStartedEvent
Gets the address the server server was started with.
getAddress() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
getAddress() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Gets the IP address the created server will be bound to.
getAddress() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
 
getAllConfigAttributes() - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
 
getAnnotatedBeans() - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
 
getAnnotatedMethods() - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
 
getAttribute() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
getAttributes(Object) - Method in class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
 
getAttributes(ServerCall<?, ?>) - Method in interface net.devh.boot.grpc.server.security.check.GrpcSecurityMetadataSource
Accesses the ConfigAttributes that apply to a given secure object.
getAttributes(ServerCall<?, ?>) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
 
getBeanClazz() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
Gets the class of the grpc service bean.
getBeanName() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
Gets the name of the grpc service bean.
getCertificateChain() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the SSL certificate chain.
getCiphers() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Specifies the cipher suite.
getClientAuth() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Whether the client has to authenticate himself via certificates.
getConfigurationPhase() - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceIsPresentCondition
 
getConversationId() - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
getCredentials() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
getDefaultScheme() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
 
getDefinition() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
Gets the grpc service definition.
getInProcessName() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The name of the in-process server.
getKeepAliveTime() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The default delay before we send a keepAlives.
getKeepAliveTimeout() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The default timeout for a keepAlives ping request.
getKeyStore() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the key store.
getKeyStoreFormat() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
getKeyStorePassword() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the key store.
getMaxConnectionAge() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a max connection age.
getMaxConnectionAgeGrace() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a grace time for the graceful max connection age termination.
getMaxConnectionIdle() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a max connection idle time.
getMaxInboundMessageSize() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The maximum message size allowed to be received by the server.
getMaxInboundMetadataSize() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The maximum size of metadata allowed to be received.
getOrder() - Method in class net.devh.boot.grpc.server.interceptor.OrderedServerInterceptor
Deprecated.
 
getPermitKeepAliveTime() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify the most aggressive keep-alive time clients are permitted to configure.
getPhase() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
getPort() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Gets the port the server should listen on.
getPort() - Method in class net.devh.boot.grpc.server.event.GrpcServerStartedEvent
Gets the main port the server uses.
getPort() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
getPort() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Gets the local port the created server will use to listen to requests.
getPort() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
 
getPrincipal() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
getPrivateKey() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the private key.
getPrivateKeyPassword() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the private key.
getProtocols() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Specifies the protocols accepted for secure connections.
getSecureObjectClass() - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
 
getSecurity() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Security options for transport security.
getServer() - Method in class net.devh.boot.grpc.server.event.GrpcServerLifecycleEvent
Gets the server related to this event.
getServerInterceptorBeans() - Method in class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
Helper method used to get the GrpcGlobalServerInterceptor annotated ServerInterceptors from the application context.
getServerInterceptors() - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
Gets the immutable list of global server interceptors.
getServiceAuthority() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
 
getShutdownGracePeriod() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The time to wait for the server to gracefully shutdown (completing all requests after the server started to shutdown).
getSource() - Method in class net.devh.boot.grpc.server.event.GrpcServerLifecycleEvent
Gets the lifecycle instance that triggered this event.
getTrustCertCollection() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the trusted certificate collection.
getTrustStore() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the trust store.
getTrustStoreFormat() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
getTrustStorePassword() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the trust store.
GlobalServerInterceptorConfigurer - Interface in net.devh.boot.grpc.server.interceptor
A bean that can be used to configure global ServerInterceptors.
GlobalServerInterceptorRegistry - Class in net.devh.boot.grpc.server.interceptor
The global server interceptor registry keeps references to all ServerInterceptors that should be registered to all server channels.
GlobalServerInterceptorRegistry(ApplicationContext) - Constructor for class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
Creates a new GlobalServerInterceptorRegistry.
globalTraceServerInterceptorConfigurer(GrpcTracing) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerTraceAutoConfiguration
Configures a global server interceptor that applies brave's tracing logic to the requests.
GRPC_REQUEST_SCOPE_NAME - Static variable in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
GrpcAdvice - Annotation Type in net.devh.boot.grpc.server.advice
Special @Component to declare global gRPC exception handling.
GrpcAdviceAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
The auto configuration that will create necessary beans to provide a proper exception handling via annotations @GrpcAdvice and @GrpcExceptionHandler.
GrpcAdviceAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
 
GrpcAdviceDiscoverer - Class in net.devh.boot.grpc.server.advice
A discovery class to find all Beans annotated with @GrpcAdvice and for all found beans a second search is performed looking for methods with @GrpcExceptionHandler.
GrpcAdviceDiscoverer() - Constructor for class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
 
grpcAdviceDiscoverer() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
 
GrpcAdviceExceptionHandler - Class in net.devh.boot.grpc.server.advice
As part of @GrpcAdvice, when a thrown exception is caught during gRPC calls (via global interceptor GrpcExceptionInterceptor), then this thrown exception is being handled.
GrpcAdviceExceptionHandler(GrpcExceptionHandlerMethodResolver) - Constructor for class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
Creates a new GrpcAdvice powered GrpcExceptionHandler.
grpcAdviceExceptionHandler(GrpcExceptionHandlerMethodResolver) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
 
grpcAdviceExceptionInterceptor(GrpcAdviceExceptionHandler) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
 
GrpcAdviceIsPresentCondition - Class in net.devh.boot.grpc.server.advice
Condition to check if @GrpcAdvice is present.
GrpcAdviceIsPresentCondition() - Constructor for class net.devh.boot.grpc.server.advice.GrpcAdviceIsPresentCondition
 
GrpcAuthenticationReader - Interface in net.devh.boot.grpc.server.security.authentication
Reads the authentication data from the given ServerCall and Metadata.
GrpcExceptionHandler - Annotation Type in net.devh.boot.grpc.server.advice
Methods annotated with @GrpcExceptionHandler are being mapped to a corresponding Exception, by declaring either in @GrpcExceptionHandler(value = ...) as value or as annotated methods parameter (both is working too).
GrpcExceptionHandlerMethodResolver - Class in net.devh.boot.grpc.server.advice
Given an annotated @GrpcAdvice class and annotated methods with @GrpcExceptionHandler, GrpcExceptionHandlerMethodResolver resolves given exception type and maps it to the corresponding method to be executed, when this exception is being raised.
GrpcExceptionHandlerMethodResolver(GrpcAdviceDiscoverer) - Constructor for class net.devh.boot.grpc.server.advice.GrpcExceptionHandlerMethodResolver
Creates a new GrpcExceptionHandlerMethodResolver.
grpcExceptionHandlerMethodResolver(GrpcAdviceDiscoverer) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
 
GrpcExceptionInterceptor - Class in net.devh.boot.grpc.server.error
Interceptor to use for global exception handling.
GrpcExceptionInterceptor(GrpcExceptionResponseHandler) - Constructor for class net.devh.boot.grpc.server.error.GrpcExceptionInterceptor
Creates a new GrpcAdviceExceptionInterceptor.
GrpcExceptionListener<ReqT,RespT> - Class in net.devh.boot.grpc.server.error
ServerCall.Listener for server side exception handling.
GrpcExceptionListener(ServerCall.Listener<ReqT>, ServerCall<ReqT, RespT>, GrpcExceptionResponseHandler) - Constructor for class net.devh.boot.grpc.server.error.GrpcExceptionListener
Creates a new exception handling grpc server call listener.
GrpcExceptionResponseHandler - Interface in net.devh.boot.grpc.server.error
An exception handler for errors in the grpc call execution (For both the grpc method implementations and the StreamObservers used to process incoming messages and sending outgoing errors).
GrpcExceptionServerCall<ReqT,RespT> - Class in net.devh.boot.grpc.server.error
Specialized ServerCall for server side exception handling.
GrpcExceptionServerCall(ServerCall<ReqT, RespT>, GrpcExceptionResponseHandler) - Constructor for class net.devh.boot.grpc.server.error.GrpcExceptionServerCall
Creates a new exception handling grpc server call.
GrpcGlobalServerInterceptor - Annotation Type in net.devh.boot.grpc.server.interceptor
Annotation for gRPC ServerInterceptors to apply them globally.
GrpcHealthServiceAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Auto configuration that sets up the grpc health service.
GrpcHealthServiceAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcHealthServiceAutoConfiguration
 
GrpcMetadataConsulConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Configuration class that configures the required beans for gRPC discovery via Consul.
GrpcMetadataConsulConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataConsulConfiguration
 
GrpcMetadataEurekaConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Configuration class that configures the required beans for grpc discovery via Eureka.
GrpcMetadataEurekaConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataEurekaConfiguration
 
GrpcMetadataNacosConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Configuration class that configures the required beans for grpc discovery via Nacos.
GrpcMetadataNacosConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataNacosConfiguration
 
GrpcMetadataZookeeperConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Configuration class that configures the required beans for grpc discovery via Zookeeper.
GrpcMetadataZookeeperConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataZookeeperConfiguration
 
GrpcReflectionServiceAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Auto configuration that sets up the proto reflection service.
GrpcReflectionServiceAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcReflectionServiceAutoConfiguration
 
grpcRequestScope() - Static method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
A scope that is valid for the duration of a grpc request.
GrpcRequestScope - Class in net.devh.boot.grpc.server.scope
The scope for beans that have their lifecycle bound to the grpc Context.
GrpcRequestScope() - Constructor for class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
GrpcSecurityMetadataSource - Interface in net.devh.boot.grpc.server.security.check
A SecurityMetadataSource for grpc requests.
GrpcServerAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
The auto configuration used by Spring-Boot that contains all beans to run a grpc server/service.
GrpcServerAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
GrpcServerConfigurer - Interface in net.devh.boot.grpc.server.serverfactory
A configurer for ServerBuilders which can be used by GrpcServerFactory to customize the created server.
GrpcServerFactory - Interface in net.devh.boot.grpc.server.serverfactory
A factory that can be used to create grpc servers.
GrpcServerFactoryAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
The auto configuration that will create the GrpcServerFactorys and GrpcServerLifecycles, if the developer hasn't specified their own variant.
GrpcServerFactoryAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
 
grpcServerLifecycle(GrpcServerFactory, GrpcServerProperties, ApplicationEventPublisher) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
GrpcServerLifecycle - Class in net.devh.boot.grpc.server.serverfactory
Lifecycle bean that automatically starts and stops the grpc server.
GrpcServerLifecycle(GrpcServerFactory, Duration, ApplicationEventPublisher) - Constructor for class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
Creates a new GrpcServerLifecycle
GrpcServerLifecycleEvent - Class in net.devh.boot.grpc.server.event
The base event for GrpcServerLifecycle.
GrpcServerLifecycleEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerLifecycleEvent
Creates a new GrpcServerLifecycleEvent.
GrpcServerLifecycleEvent(GrpcServerLifecycle, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerLifecycleEvent
Creates a new GrpcServerLifecycleEvent.
GrpcServerMetricAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Auto configuration class for Spring-Boot.
GrpcServerMetricAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
 
GrpcServerProperties - Class in net.devh.boot.grpc.server.config
The properties for the gRPC server that will be started as part of the application.
GrpcServerProperties() - Constructor for class net.devh.boot.grpc.server.config.GrpcServerProperties
 
GrpcServerProperties.Security - Class in net.devh.boot.grpc.server.config
The security configuration for the gRPC server.
GrpcServerSecurityAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
Auto configuration class with the required beans for the spring-security configuration of the grpc server.
GrpcServerSecurityAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration
 
GrpcServerShutdownEvent - Class in net.devh.boot.grpc.server.event
This event will be fired before the server starts to shutdown.
GrpcServerShutdownEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerShutdownEvent
Creates a new GrpcServerShutdownEvent.
GrpcServerShutdownEvent(GrpcServerLifecycle, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerShutdownEvent
Creates a new GrpcServerShutdownEvent.
GrpcServerStartedEvent - Class in net.devh.boot.grpc.server.event
This event will be fired after the server has been started.
GrpcServerStartedEvent(GrpcServerLifecycle, Clock, Server, String, int) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerStartedEvent
Creates a new GrpcServerStartedEvent.
GrpcServerStartedEvent(GrpcServerLifecycle, Server, String, int) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerStartedEvent
Creates a new GrpcServerStartedEvent.
GrpcServerTerminatedEvent - Class in net.devh.boot.grpc.server.event
This event will be fired after the server completed to shutdown.
GrpcServerTerminatedEvent(GrpcServerLifecycle, Clock, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerTerminatedEvent
Creates a new GrpcServerTerminatedEvent.
GrpcServerTerminatedEvent(GrpcServerLifecycle, Server) - Constructor for class net.devh.boot.grpc.server.event.GrpcServerTerminatedEvent
Creates a new GrpcServerTerminatedEvent.
GrpcServerTraceAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
The configuration used to configure brave's tracing for grpc.
GrpcServerTraceAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerTraceAutoConfiguration
 
GrpcService - Annotation Type in net.devh.boot.grpc.server.service
Annotation that marks gRPC services that should be registered with a gRPC server.
GrpcServiceDefinition - Class in net.devh.boot.grpc.server.service
Container class that contains all relevant information about a grpc service.
GrpcServiceDefinition(String, Class<?>, ServerServiceDefinition) - Constructor for class net.devh.boot.grpc.server.service.GrpcServiceDefinition
Creates a new GrpcServiceDefinition.
GrpcServiceDiscoverer - Interface in net.devh.boot.grpc.server.service
An interface for a bean that will be used to find grpc services and codecs.

H

handleError(ServerCall<?, ?>, Throwable) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
 
handleError(ServerCall<?, ?>, Throwable) - Method in interface net.devh.boot.grpc.server.error.GrpcExceptionResponseHandler
Handles an exception by closing the call with an appropriate Status.
handleThrownException(Throwable) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
Given an exception, a lookup is performed to retrieve mapped method.
handleThrownExceptionByImplementation(ServerCall<?, ?>, Throwable) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
 
hasAllAuthorities(GrantedAuthority...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given GrantedAuthority can access the protected instance.
hasAllAuthorities(Collection<GrantedAuthority>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAllRoles(String...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given roles can access the protected instance.
hasAllRoles(Collection<String>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given roles can access the protected instance.
hasAnyAuthority(GrantedAuthority...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAnyAuthority(Collection<GrantedAuthority>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAnyRole(String...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given roles can access the protected instance.
hasAnyRole(Collection<String>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given roles can access the protected instance.
hasAuthority(GrantedAuthority) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have the given GrantedAuthority can access the protected instance.
hashCode() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
 
hashCode() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
hashCode() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
hasRole(String) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have the given role can access the protected instance.

I

inet() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate.SocketPredicate
Checks that the given socket address is a InetSocketAddress.
init() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataConsulConfiguration
 
init() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataEurekaConfiguration
 
init() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataNacosConfiguration
 
init() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataZookeeperConfiguration
 
initServerInterceptors() - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
Initializes the list of server interceptors.
inProcess() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate.SocketPredicate
Checks that the given socket address is an InProcessSocketAddress.
inProcess(String) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate.SocketPredicate
Checks that the given socket address is an InProcessSocketAddress with the given name.
inProcessGrpcServerFactory(GrpcServerProperties, GrpcServiceDiscoverer, List<GrpcServerConfigurer>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
Creates a GrpcServerFactory using the in-process-server, if a name is specified.
InProcessGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for in process grpc servers.
InProcessGrpcServerFactory(GrpcServerProperties) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
InProcessGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
InProcessGrpcServerFactory(String, GrpcServerProperties) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
InProcessGrpcServerFactory(String, GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
inProcessGrpcServerLifecycle(InProcessGrpcServerFactory, GrpcServerProperties, ApplicationEventPublisher) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
The server lifecycle bean for the in-process-server.
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.error.GrpcExceptionInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.interceptor.OrderedServerInterceptor
Deprecated.
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.DefaultAuthenticatingServerInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
 
isAutoStartup() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
isAvailable() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
 
isEnabled() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Flag that controls whether transport security is used.
isEnableKeepAlive() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Setting to enable keepAlive.
isHealthServiceEnabled() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether gRPC health service is enabled or not.
isMethodMappedForException(Class<E>) - Method in class net.devh.boot.grpc.server.advice.GrpcExceptionHandlerMethodResolver
Lookup if a method is mapped to given exception.
isPermitKeepAliveWithoutCalls() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether clients are allowed to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
isReflectionServiceEnabled() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether proto reflection service is enabled or not.
isRunning() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 

M

ManualGrpcSecurityMetadataSource - Class in net.devh.boot.grpc.server.security.check
A GrpcSecurityMetadataSource for manual configuration.
ManualGrpcSecurityMetadataSource() - Constructor for class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
 
matches(ConditionContext, AnnotatedTypeMetadata) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceIsPresentCondition
 
metricCollectingServerInterceptor(MeterRegistry, Collection<BindableService>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
 

N

negate() - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
 
net.devh.boot.grpc.server.advice - package net.devh.boot.grpc.server.advice
 
net.devh.boot.grpc.server.autoconfigure - package net.devh.boot.grpc.server.autoconfigure
The Spring-Boot auto configuration classes that setup the gRPC server environment.
net.devh.boot.grpc.server.condition - package net.devh.boot.grpc.server.condition
 
net.devh.boot.grpc.server.config - package net.devh.boot.grpc.server.config
Classes related to the gRPC server configuration.
net.devh.boot.grpc.server.error - package net.devh.boot.grpc.server.error
 
net.devh.boot.grpc.server.event - package net.devh.boot.grpc.server.event
Grpc server events.
net.devh.boot.grpc.server.interceptor - package net.devh.boot.grpc.server.interceptor
Classes related to the gRPC (global) server interceptors and their discovery.
net.devh.boot.grpc.server.nameresolver - package net.devh.boot.grpc.server.nameresolver
Classes used to resolve the client name into the actual service addresses.
net.devh.boot.grpc.server.scope - package net.devh.boot.grpc.server.scope
 
net.devh.boot.grpc.server.security.authentication - package net.devh.boot.grpc.server.security.authentication
Contains the security classes related to authentication checks.
net.devh.boot.grpc.server.security.check - package net.devh.boot.grpc.server.security.check
Contains the security classes related to authorization checks.
net.devh.boot.grpc.server.security.interceptors - package net.devh.boot.grpc.server.security.interceptors
Contains the interceptors that handle the security for the actual gRPC requests.
net.devh.boot.grpc.server.serverfactory - package net.devh.boot.grpc.server.serverfactory
Contains factories and related classes to setup the server.
net.devh.boot.grpc.server.service - package net.devh.boot.grpc.server.service
Classes related to the gRPC server services and their discovery.
nettyGrpcServerFactory(GrpcServerProperties, GrpcServiceDiscoverer, List<GrpcServerConfigurer>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
Creates a GrpcServerFactory using the non-shaded netty.
NettyGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for netty based grpc servers.
NettyGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Creates a new netty server factory with the given properties.
nettyGrpcServerLifecycle(NettyGrpcServerFactory, GrpcServerProperties, ApplicationEventPublisher) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
The server lifecycle bean for netty based server.
newNameResolver(URI, NameResolver.Args) - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Creates a new server builder.
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
newServerSslContextBuilder(GrpcServerProperties.Security) - Static method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Creates a new server ssl context builder.
newServerSslContextBuilder(GrpcServerProperties.Security) - Static method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Creates a new server ssl context builder.
noOpCallListener() - Method in class net.devh.boot.grpc.server.error.GrpcExceptionInterceptor
Creates a new no-op call listener because you can neither return null nor throw an exception in GrpcExceptionInterceptor.interceptCall(ServerCall, Metadata, ServerCallHandler).
noOpCallListener() - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Creates a new no-op call listener because you can neither return null nor throw an exception in ExceptionTranslatingServerInterceptor.interceptCall(ServerCall, Metadata, ServerCallHandler).

O

obtainSecurityMetadataSource() - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
 
of(ClientAuth) - Static method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Converts the given client auth option to netty's client auth.
of(ClientAuth) - Static method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Converts the given client auth option to netty's client auth.
onCancel() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
 
onComplete() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
 
onHalfClose() - Method in class net.devh.boot.grpc.server.error.GrpcExceptionListener
 
onHalfClose() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
 
onMessage(ReqT) - Method in class net.devh.boot.grpc.server.error.GrpcExceptionListener
 
onMessage(ReqT) - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
 
onReady() - Method in class net.devh.boot.grpc.server.security.interceptors.AbstractAuthenticatingServerCallListener
 
onSuccessfulAuthentication(ServerCall<?, ?>, Metadata, Authentication) - Method in class net.devh.boot.grpc.server.security.interceptors.DefaultAuthenticatingServerInterceptor
Hook that will be called on successful authentication.
onUnsuccessfulAuthentication(ServerCall<?, ?>, Metadata, AuthenticationException) - Method in class net.devh.boot.grpc.server.security.interceptors.DefaultAuthenticatingServerInterceptor
Hook that will be called on unsuccessful authentication.
or(Predicate<? super Authentication>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Combines this predicate with the given predicate using the OR operator.
or(BiPredicate<? super Authentication, ? super ServerCall<?, ?>>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
 
OrderedServerInterceptor - Class in net.devh.boot.grpc.server.interceptor
Deprecated.
Use the original ServerInterceptor in combination with Order (either on the target class itself or the related factory method).
OrderedServerInterceptor(ServerInterceptor, int) - Constructor for class net.devh.boot.grpc.server.interceptor.OrderedServerInterceptor
Deprecated.
Creates a new OrderedServerInterceptor with the given server interceptor and order.

P

patternExtractor(String, Function<? super X509CertificateAuthentication, String>) - Static method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new case-insensitive pattern extractor with the given pattern.
permitAll() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Special constant that symbolizes that everybody (including unauthenticated users) can access the instance (no protection).
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
PRINCIPAL_USERNAME_EXTRACTOR - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
The uses the name of the principal way to extract the username from an Authentication.
priority() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
 
properties - Variable in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 

R

readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.BasicGrpcAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.BearerAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.CompositeGrpcAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in interface net.devh.boot.grpc.server.security.authentication.GrpcAuthenticationReader
Tries to read the Authentication information from the given call and metadata.
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
 
refresh() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
 
registerDestructionCallback(String, Runnable) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
remove(String) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
remove(ServiceDescriptor) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Removes all access predicates for the all methods of the given service.
remove(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Removes all access predicates for the given method.
resolveContextualObject(String) - Method in class net.devh.boot.grpc.server.scope.GrpcRequestScope
 
resolveMetadata(Object) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
 
resolveMethodWithInstance(Class<E>) - Method in class net.devh.boot.grpc.server.advice.GrpcExceptionHandlerMethodResolver
When given exception type is subtype of already provided mapped exception, this returns a valid mapped method to be later executed.
resolveStatus(Object) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceExceptionHandler
 

S

Security() - Constructor for class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
SECURITY_CONTEXT_KEY - Static variable in interface net.devh.boot.grpc.server.security.interceptors.AuthenticatingServerInterceptor
The context key that can be used to retrieve the associated Authentication.
SELF_SCHEME - Static variable in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
The constant containing the scheme that will be used by this factory.
SelfNameResolver - Class in net.devh.boot.grpc.server.nameresolver
A NameResolver that will always respond with the server's own address.
SelfNameResolver(GrpcServerProperties, NameResolver.Args) - Constructor for class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
Creates a self name resolver with the given properties.
SelfNameResolver(GrpcServerProperties, NameResolver.Args, SharedResourceHolder.Resource<Executor>) - Constructor for class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
Creates a self name resolver with the given properties.
selfNameResolverFactory(GrpcServerProperties) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
Lazily creates a SelfNameResolverFactory bean, that can be used by the client to connect to the server itself.
SelfNameResolverFactory - Class in net.devh.boot.grpc.server.nameresolver
A name resolver factory that will create a SelfNameResolverFactory based on the target uri.
SelfNameResolverFactory(GrpcServerProperties) - Constructor for class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
Creates a new SelfNameResolverFactory that uses the given properties.
serverConfigurers - Variable in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
set(ServiceDescriptor, AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Set the given access predicate for the all methods of the given service.
set(MethodDescriptor<?, ?>, AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Set the given access predicate for the given method.
setAddress(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Bind address for the server.
setApplicationContext(ApplicationContext) - Method in class net.devh.boot.grpc.server.advice.GrpcAdviceDiscoverer
 
setApplicationContext(ApplicationContext) - Method in class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
 
setAuthenticated(boolean) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
setCertificateChain(Resource) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the SSL certificate chain.
setCiphers(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
setClientAuth(ClientAuth) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Whether the client has to authenticate himself via certificates.
setDefault(AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Sets the default that will be used if no specific configuration has been made.
setEnabled(boolean) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Flag that controls whether transport security is used.
setEnableKeepAlive(boolean) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Setting to enable keepAlive.
setHealthServiceEnabled(boolean) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether gRPC health service is enabled or not.
setInProcessName(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The name of the in-process server.
setKeepAliveTime(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The default delay before we send a keepAlives.
setKeepAliveTimeout(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The default timeout for a keepAlives ping request.
setKeyStore(Resource) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the key store.
setKeyStoreFormat(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
setKeyStorePassword(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the key store.
setMaxConnectionAge(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a max connection age.
setMaxConnectionAgeGrace(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a grace time for the graceful max connection age termination.
setMaxConnectionIdle(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify a max connection idle time.
setMaxInboundMessageSize(DataSize) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Sets the maximum message size allowed to be received by the server.
setMaxInboundMetadataSize(DataSize) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Sets the maximum metadata size allowed to be received by the server.
setPermitKeepAliveTime(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Specify the most aggressive keep-alive time clients are permitted to configure.
setPermitKeepAliveWithoutCalls(boolean) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether clients are allowed to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
setPort(int) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Server port to listen on.
setPrivateKey(Resource) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the private key.
setPrivateKeyPassword(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the private key.
setProtocols(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
setReflectionServiceEnabled(boolean) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Whether proto reflection service is enabled or not.
setShutdownGracePeriod(Duration) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
The time to wait for the server to gracefully shutdown (completing all requests after the server started to shutdown).
setTrustCertCollection(Resource) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the trusted certificate collection.
setTrustStore(Resource) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
The resource containing the trust store.
setTrustStoreFormat(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
setTrustStorePassword(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Password for the trust store.
shadedNettyGrpcServerFactory(GrpcServerProperties, GrpcServiceDiscoverer, List<GrpcServerConfigurer>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
Creates a GrpcServerFactory using the shaded netty.
ShadedNettyGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for shaded netty based grpc servers.
ShadedNettyGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Creates a new shaded netty server factory with the given properties.
shadedNettyGrpcServerLifecycle(ShadedNettyGrpcServerFactory, GrpcServerProperties, ApplicationEventPublisher) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
The server lifecycle bean for a shaded netty based server.
shutdown() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
 
sortInterceptors(List<? extends ServerInterceptor>) - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
Sorts the given list of interceptors.
SSLContextGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
An GrpcAuthenticationReader that will try to use the peer certificates to extract the client Authentication.
SSLContextGrpcAuthenticationReader() - Constructor for class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
 
start(NameResolver.Listener2) - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
 
start() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stop() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stop(Runnable) - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stopAndReleaseGrpcServer() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
Initiates an orderly shutdown of the grpc server and releases the references to the server.
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
 
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
 
supports(ConfigAttribute) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 

T

test(Authentication, ServerCall<?, ?>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Checks whether the given user is authorized to execute the given call.
toServerAddress(Predicate<? super SocketAddress>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Checks that the client connected to the given server address.
toString() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
toString() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
 
toString() - Method in class net.devh.boot.grpc.server.interceptor.OrderedServerInterceptor
Deprecated.
 
toString() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolver
 
toString() - Method in class net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory
 
toString() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
type(Class<? extends SocketAddress>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate.SocketPredicate
Checks the type of the socket address.
typeAnd(Class<T>, Predicate<T>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate.SocketPredicate
Checks the type of the socket address and the given condition.

U

UNAUTHENTICATED_DESCRIPTION - Static variable in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
A constant that contains the response message for unauthenticated calls.

V

valueOf(String) - Static method in enum net.devh.boot.grpc.server.config.ClientAuth
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.devh.boot.grpc.server.config.ClientAuth
Returns an array containing the constants of this enum type, in the order they are declared.
vote(Authentication, ServerCall<?, ?>, Collection<ConfigAttribute>) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 

X

X509CertificateAuthentication - Class in net.devh.boot.grpc.server.security.authentication
An authentication object that was created for a X509Certificate.
X509CertificateAuthentication(X509Certificate) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
Creates a new X509CertificateAuthentication that will use the given certificate.
X509CertificateAuthentication(Object, X509Certificate, Collection<? extends GrantedAuthority>) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
Creates a new X509CertificateAuthentication that was authenticated using the given certificate.
X509CertificateAuthenticationProvider - Class in net.devh.boot.grpc.server.security.authentication
X509CertificateAuthenticationProvider(UserDetailsService) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new X509CertificateAuthenticationProvider, which uses the default way (via CN) to extract the username and uses the given UserDetailsService to lookup the user.
X509CertificateAuthenticationProvider(Function<? super X509CertificateAuthentication, String>, UserDetailsService) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new X509CertificateAuthenticationProvider, which uses the given Function to extract the username and uses the given UserDetailsService to lookup the user.
A B C D E F G H I M N O P R S T U V X 
Skip navigation links