Index

A B C D E F G I K L N O P S V 
All Classes and Interfaces|All Packages|Constant Field Values

A

advertised() - Element in annotation interface net.devh.boot.grpc.common.codec.GrpcCodec
Advertised codecs will be listed in the Accept-Encoding header.
ALL - Enum constant in enum class net.devh.boot.grpc.common.codec.CodecType
The codec should be used for both compression and decompression.
AnnotationGrpcCodecDiscoverer - Class in net.devh.boot.grpc.common.codec
A GrpcCodecDiscoverer that searches for beans with the GrpcCodec annotations.
AnnotationGrpcCodecDiscoverer() - Constructor for class net.devh.boot.grpc.common.codec.AnnotationGrpcCodecDiscoverer
 
AUTHORIZATION_HEADER - Static variable in class net.devh.boot.grpc.common.security.SecurityConstants
A convenience constant that contains the key for the HTTP Authorization Header.

B

BASIC_AUTH_PREFIX - Static variable in class net.devh.boot.grpc.common.security.SecurityConstants
The prefix for basic auth as used in the SecurityConstants.AUTHORIZATION_HEADER.
beanFactoryAwareOrderComparator(ApplicationContext, Class<?>) - Static method in class net.devh.boot.grpc.common.util.InterceptorOrder
Creates a new Comparator that takes Order annotations on bean factory methods into account.
BEARER_AUTH_PREFIX - Static variable in class net.devh.boot.grpc.common.security.SecurityConstants
The prefix for bearer auth as used in the SecurityConstants.AUTHORIZATION_HEADER.

C

CLOUD_DISCOVERY_METADATA_PORT - Static variable in class net.devh.boot.grpc.common.util.GrpcUtils
The cloud discovery metadata key used to identify the grpc port.
CLOUD_DISCOVERY_METADATA_SERVICE_CONFIG - Static variable in class net.devh.boot.grpc.common.util.GrpcUtils
The cloud discovery metadata key used to identify service config.
codecType() - Element in annotation interface net.devh.boot.grpc.common.codec.GrpcCodec
Gets the type of codec the annotated bean should be used for.
CodecType - Enum Class in net.devh.boot.grpc.common.codec
The type of the codec.
COMPRESS - Enum constant in enum class net.devh.boot.grpc.common.codec.CodecType
The codec should be used for compression only.
Constants - Class in net.devh.boot.grpc.common.util
Class that contains shared constants.

D

DECOMPRESS - Enum constant in enum class net.devh.boot.grpc.common.codec.CodecType
The codec should be used for decompression only.
DEFAULT_DEFINITIONS - Static variable in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
The default encodings used by gRPC.
defaultCompressorRegistry(GrpcCodecDiscoverer) - Method in class net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration
 
defaultDecompressorRegistry(GrpcCodecDiscoverer) - Method in class net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration
 
defaultGrpcCodecDiscoverer() - Method in class net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration
 
detectFormat(String, String) - Static method in class net.devh.boot.grpc.common.security.KeyStoreUtils
Detects the keystore format from the given keystore file name.
DOMAIN_SOCKET_ADDRESS_PREFIX - Static variable in class net.devh.boot.grpc.common.util.GrpcUtils
A constant that defines, the scheme prefix of a Unix domain socket address.
DOMAIN_SOCKET_ADDRESS_SCHEME - Static variable in class net.devh.boot.grpc.common.util.GrpcUtils
A constant that defines, the scheme of a Unix domain socket address.

E

extractDomainSocketAddressPath(String) - Static method in class net.devh.boot.grpc.common.util.GrpcUtils
Extracts the domain socket address specific path from the given full address.
extractMethodName(MethodDescriptor<?, ?>) - Static method in class net.devh.boot.grpc.common.util.GrpcUtils
Extracts the method name from the given method.
extractServiceName(MethodDescriptor<?, ?>) - Static method in class net.devh.boot.grpc.common.util.GrpcUtils
Extracts the service name from the given method.

F

findAvailableTcpPort() - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available TCP port randomly selected from the range [1024, 65535].
findAvailableTcpPort(int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available TCP port randomly selected from the range [minPort, 65535].
findAvailableTcpPort(int, int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available TCP port randomly selected from the range [minPort, maxPort].
findAvailableTcpPorts(int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find the requested number of available TCP ports, each randomly selected from the range [1024, 65535].
findAvailableTcpPorts(int, int, int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find the requested number of available TCP ports, each randomly selected from the range [minPort, maxPort].
findAvailableUdpPort() - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available UDP port randomly selected from the range [1024, 65535].
findAvailableUdpPort(int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available UDP port randomly selected from the range [minPort, 65535].
findAvailableUdpPort(int, int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find an available UDP port randomly selected from the range [minPort, maxPort].
findAvailableUdpPorts(int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find the requested number of available UDP ports, each randomly selected from the range [1024, 65535].
findAvailableUdpPorts(int, int, int) - Static method in class net.devh.boot.grpc.common.util.SocketUtils
Find the requested number of available UDP ports, each randomly selected from the range [minPort, maxPort].
findGrpcCodecs() - Method in class net.devh.boot.grpc.common.codec.AnnotationGrpcCodecDiscoverer
 
findGrpcCodecs() - Method in interface net.devh.boot.grpc.common.codec.GrpcCodecDiscoverer
Find the grpc codecs that should uses by the client/server.
FORMAT_AUTODETECT - Static variable in class net.devh.boot.grpc.common.security.KeyStoreUtils
Automatically detects the keystore format.
FORMAT_FALLBACK - Static variable in class net.devh.boot.grpc.common.security.KeyStoreUtils
The fallback keystore format to use.

G

getCodec() - Method in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
 
getCodecType() - Method in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
 
GrpcCodec - Annotation Interface in net.devh.boot.grpc.common.codec
Annotation that marks gRPC codecs that should be registered with a gRPC server.
GrpcCodecDefinition - Class in net.devh.boot.grpc.common.codec
Container class that contains all relevant information about a grpc codec.
GrpcCodecDefinition(Codec, boolean, CodecType) - Constructor for class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
Creates a new GrpcCodecDefinition.
GrpcCodecDiscoverer - Interface in net.devh.boot.grpc.common.codec
An interface for a bean that will be used to find grpc codecs.
GrpcCommonCodecAutoConfiguration - Class in net.devh.boot.grpc.common.autoconfigure
The auto configuration used by Spring-Boot that contains all codec related beans for clients/servers.
GrpcCommonCodecAutoConfiguration() - Constructor for class net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration
 
GrpcUtils - Class in net.devh.boot.grpc.common.util
Utility class that contains methods to extract some information from grpc classes.
GZIP_DEFINITION - Static variable in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
The codec definition for gzip.

I

IDENTITY_DEFINITION - Static variable in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
The codec definition for identity (no-op).
INTER_PROCESS_DISABLE - Static variable in class net.devh.boot.grpc.common.util.GrpcUtils
The constant for the grpc server port, -1 represents don't start an inter process server.
InterceptorOrder - Class in net.devh.boot.grpc.common.util
A utility class with constants that can be used to configure the order of interceptors.
isAdvertised() - Method in class net.devh.boot.grpc.common.codec.GrpcCodecDefinition
 
isForCompression() - Method in enum class net.devh.boot.grpc.common.codec.CodecType
Whether the associated codec should be used for compression.
isForDecompression() - Method in enum class net.devh.boot.grpc.common.codec.CodecType
Whether the associated codec should be used for decompression.

K

KeyStoreUtils - Class in net.devh.boot.grpc.common.security
Helper class to create KeyStore related components.

L

LIBRARY_NAME - Static variable in class net.devh.boot.grpc.common.util.Constants
A constant that defines the library name that can be used as metric tags.
loadKeyManagerFactory(String, Resource, String) - Static method in class net.devh.boot.grpc.common.security.KeyStoreUtils
Creates a new KeyManagerFactory from the given KeyStore Resource.
loadTrustManagerFactory(String, Resource, String) - Static method in class net.devh.boot.grpc.common.security.KeyStoreUtils
Creates a new TrustManagerFactory from the given KeyStore Resource.

N

net.devh.boot.grpc.common.autoconfigure - package net.devh.boot.grpc.common.autoconfigure
The Spring-Boot auto configuration classes that setup the gRPC environment with features that can be used by both the client and the server.
net.devh.boot.grpc.common.codec - package net.devh.boot.grpc.common.codec
Classes related to the gRPC codec usage for both the server and the client.
net.devh.boot.grpc.common.security - package net.devh.boot.grpc.common.security
Contains classes and utilities that related to security that are used by both the client and the server.
net.devh.boot.grpc.common.util - package net.devh.boot.grpc.common.util
Utilities for both the server and the client.

O

ORDER_FIRST - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for interceptors that should be executed first.
ORDER_GLOBAL_EXCEPTION_HANDLING - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for global exception handling interceptors.
ORDER_LAST - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for interceptors that should be executed last.
ORDER_SECURITY_AUTHENTICATION - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for security interceptors related to authentication.
ORDER_SECURITY_AUTHORISATION - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for security interceptors related to authorization checks.
ORDER_SECURITY_EXCEPTION_HANDLING - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for interceptors related security exception handling.
ORDER_TRACING_METRICS - Static variable in class net.devh.boot.grpc.common.util.InterceptorOrder
The order value for tracing and metrics collecting interceptors.

P

PORT_RANGE_MAX - Static variable in class net.devh.boot.grpc.common.util.SocketUtils
The default maximum value for port ranges used when finding an available socket port.
PORT_RANGE_MIN - Static variable in class net.devh.boot.grpc.common.util.SocketUtils
The default minimum value for port ranges used when finding an available socket port.

S

SecurityConstants - Class in net.devh.boot.grpc.common.security
A helper class with constants related to grpc security.
setApplicationContext(ApplicationContext) - Method in class net.devh.boot.grpc.common.codec.AnnotationGrpcCodecDiscoverer
 
SocketUtils - Class in net.devh.boot.grpc.common.util
Simple utility methods for working with network sockets — for example, for finding available ports on localhost.
SocketUtils() - Constructor for class net.devh.boot.grpc.common.util.SocketUtils
Although SocketUtils consists solely of static utility methods, this constructor is intentionally public.

V

valueOf(String) - Static method in enum class net.devh.boot.grpc.common.codec.CodecType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.devh.boot.grpc.common.codec.CodecType
Returns an array containing the constants of this enum class, in the order they are declared.
VERSION - Static variable in class net.devh.boot.grpc.common.util.Constants
A constant that defines the current version of the library.
A B C D E F G I K L N O P S V 
All Classes and Interfaces|All Packages|Constant Field Values