A B C D F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.util.GracefulSwitchLoadBalancer
- addOptionalLabel(String, String) - Method in class io.grpc.util.ForwardingClientStreamTracer
- addService(BindableService) - Method in class io.grpc.util.MutableHandlerRegistry
-
Registers a service.
- addService(ServerServiceDefinition) - Method in class io.grpc.util.MutableHandlerRegistry
-
Registers a service.
- AdvancedTlsX509KeyManager - Class in io.grpc.util
-
AdvancedTlsX509KeyManager is an
X509ExtendedKeyManagerthat allows users to configure advanced TLS features, such as private key and certificate chain reloading. - AdvancedTlsX509KeyManager() - Constructor for class io.grpc.util.AdvancedTlsX509KeyManager
- AdvancedTlsX509KeyManager.Closeable - Interface in io.grpc.util
-
Mainly used to avoid throwing IO Exceptions in java.io.Closeable.
- AdvancedTlsX509TrustManager - Class in io.grpc.util
-
AdvancedTlsX509TrustManager is an
X509ExtendedTrustManagerthat allows users to configure advanced TLS features, such as root certificate reloading and peer cert custom verification. - AdvancedTlsX509TrustManager.Builder - Class in io.grpc.util
-
Builds a new
AdvancedTlsX509TrustManager. - AdvancedTlsX509TrustManager.Closeable - Interface in io.grpc.util
- AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier - Interface in io.grpc.util
- AdvancedTlsX509TrustManager.Verification - Enum in io.grpc.util
-
The verification mode when authenticating the peer certificate.
- asChannel() - Method in class io.grpc.util.ForwardingSubchannel
B
- build() - Method in class io.grpc.util.AdvancedTlsX509TrustManager.Builder
C
- canHandleEmptyAddressListFromNameResolution() - Method in class io.grpc.util.ForwardingLoadBalancer
- CERTIFICATE_AND_HOST_NAME_VERIFICATION - io.grpc.util.AdvancedTlsX509TrustManager.Verification
-
This is the DEFAULT and RECOMMENDED mode for most applications.
- CERTIFICATE_ONLY_VERIFICATION - io.grpc.util.AdvancedTlsX509TrustManager.Verification
-
DANGEROUS: Use trusted credentials to verify the certificate, but clients will not verify the certificate is for the expected host.
- CertificateUtils - Class in io.grpc.util
-
Contains certificate/key PEM file utility method(s).
- CertificateUtils() - Constructor for class io.grpc.util.CertificateUtils
- checkClientTrusted(X509Certificate[], String) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- chooseClientAlias(String[], Principal[], Socket) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- chooseEngineClientAlias(String[], Principal[], SSLEngine) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- chooseEngineServerAlias(String, Principal[], SSLEngine) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- chooseServerAlias(String, Principal[], Socket) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- close() - Method in interface io.grpc.util.AdvancedTlsX509KeyManager.Closeable
- close() - Method in interface io.grpc.util.AdvancedTlsX509TrustManager.Closeable
- createLoadBalancingPolicyConfig(LoadBalancer.Factory, Object) - Static method in class io.grpc.util.GracefulSwitchLoadBalancer
-
Directly create a config to pass to GracefulSwitch.
- createOobChannel(EquivalentAddressGroup, String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- createOobChannel(List<EquivalentAddressGroup>, String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- createPendingStream() - Method in class io.grpc.util.ForwardingClientStreamTracer
- createResolvingOobChannel(String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- createResolvingOobChannelBuilder(String) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
-
Deprecated.
- createResolvingOobChannelBuilder(String, ChannelCredentials) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- createSubchannel(LoadBalancer.CreateSubchannelArgs) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- createSubchannel(LoadBalancer.CreateSubchannelArgs) - Method in class io.grpc.util.HealthProducerHelper
D
- delegate() - Method in class io.grpc.util.ForwardingClientStreamTracer
-
Returns the underlying
ClientStreamTracer. - delegate() - Method in class io.grpc.util.ForwardingLoadBalancer
-
Returns the underlying balancer.
- delegate() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
-
Returns the underlying helper.
- delegate() - Method in class io.grpc.util.ForwardingSubchannel
-
Returns the underlying Subchannel.
- delegate() - Method in class io.grpc.util.GracefulSwitchLoadBalancer
- delegate() - Method in class io.grpc.util.HealthProducerHelper
- delegateType() - Method in class io.grpc.util.GracefulSwitchLoadBalancer
F
- ForwardingClientStreamTracer - Class in io.grpc.util
- ForwardingClientStreamTracer() - Constructor for class io.grpc.util.ForwardingClientStreamTracer
- ForwardingLoadBalancer - Class in io.grpc.util
- ForwardingLoadBalancer() - Constructor for class io.grpc.util.ForwardingLoadBalancer
- ForwardingLoadBalancerHelper - Class in io.grpc.util
- ForwardingLoadBalancerHelper() - Constructor for class io.grpc.util.ForwardingLoadBalancerHelper
- ForwardingSubchannel - Class in io.grpc.util
- ForwardingSubchannel() - Constructor for class io.grpc.util.ForwardingSubchannel
G
- getAcceptedIssuers() - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- getAllAddresses() - Method in class io.grpc.util.ForwardingSubchannel
- getAttributes() - Method in class io.grpc.util.ForwardingSubchannel
- getAuthority() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getCertificateChain(String) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- getChannelCredentials() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getChannelLogger() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getChannelLogger() - Method in class io.grpc.util.ForwardingSubchannel
- getChannelTarget() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getClientAliases(String, Principal[]) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- getInternalSubchannel() - Method in class io.grpc.util.ForwardingSubchannel
- getMetricRecorder() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getNameResolverArgs() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getNameResolverRegistry() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getPrivateKey(InputStream) - Static method in class io.grpc.util.CertificateUtils
-
Generates a
PrivateKeyfrom a PEM file. - getPrivateKey(String) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- getScheduledExecutorService() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getServerAliases(String, Principal[]) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- getServices() - Method in class io.grpc.util.MutableHandlerRegistry
-
Note: This does not necessarily return a consistent view of the map.
- getSynchronizationContext() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getUnsafeChannelCredentials() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- getX509Certificates(InputStream) - Static method in class io.grpc.util.CertificateUtils
-
Generates X509Certificate array from a PEM file.
- GracefulSwitchLoadBalancer - Class in io.grpc.util
-
A load balancer that gracefully swaps to a new lb policy.
- GracefulSwitchLoadBalancer(LoadBalancer.Helper) - Constructor for class io.grpc.util.GracefulSwitchLoadBalancer
H
- handleNameResolutionError(Status) - Method in class io.grpc.util.ForwardingLoadBalancer
- handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.util.ForwardingLoadBalancer
- handleResolvedAddresses(LoadBalancer.ResolvedAddresses) - Method in class io.grpc.util.GracefulSwitchLoadBalancer
- handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.util.ForwardingLoadBalancer
-
Deprecated.
- handleSubchannelState(LoadBalancer.Subchannel, ConnectivityStateInfo) - Method in class io.grpc.util.GracefulSwitchLoadBalancer
-
Deprecated.
- HealthProducerHelper - Class in io.grpc.util
-
A new
LoadBalancer.Helperused by health producer systems to build health notification chain, viaLoadBalancer.CreateSubchannelArgs. - HealthProducerHelper(LoadBalancer.Helper) - Constructor for class io.grpc.util.HealthProducerHelper
I
- ignoreRefreshNameResolutionCheck() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
-
Deprecated.
- inboundHeaders() - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundHeaders(Metadata) - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundMessage(int) - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundMessageRead(int, long, long) - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundTrailers(Metadata) - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundUncompressedSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
- inboundWireSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
- INSECURELY_SKIP_ALL_VERIFICATION - io.grpc.util.AdvancedTlsX509TrustManager.Verification
-
DANGEROUS: This SHOULD be used by advanced user intended to implement the entire verification logic themselves
AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier) themselves. - instance() - Static method in class io.grpc.util.TransmitStatusRuntimeExceptionInterceptor
- interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class io.grpc.util.TransmitStatusRuntimeExceptionInterceptor
- io.grpc.util - package io.grpc.util
-
Utilities with advanced features in the core layer that user can optionally use.
L
- lookupMethod(String, String) - Method in class io.grpc.util.MutableHandlerRegistry
-
Note: This does not actually honor the authority provided.
M
- MutableHandlerRegistry - Class in io.grpc.util
-
Default implementation of
HandlerRegistry. - MutableHandlerRegistry() - Constructor for class io.grpc.util.MutableHandlerRegistry
N
- newBuilder() - Static method in class io.grpc.util.AdvancedTlsX509TrustManager
O
- outboundHeaders() - Method in class io.grpc.util.ForwardingClientStreamTracer
- outboundMessage(int) - Method in class io.grpc.util.ForwardingClientStreamTracer
- outboundMessageSent(int, long, long) - Method in class io.grpc.util.ForwardingClientStreamTracer
- outboundUncompressedSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
- outboundWireSize(long) - Method in class io.grpc.util.ForwardingClientStreamTracer
P
- parseLoadBalancingPolicyConfig(List<Map<String, ?>>) - Static method in class io.grpc.util.GracefulSwitchLoadBalancer
-
Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.
- parseLoadBalancingPolicyConfig(List<Map<String, ?>>, LoadBalancerRegistry) - Static method in class io.grpc.util.GracefulSwitchLoadBalancer
-
Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.
R
- refreshNameResolution() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- removeService(ServerServiceDefinition) - Method in class io.grpc.util.MutableHandlerRegistry
-
Removes a registered service.
- requestConnection() - Method in class io.grpc.util.ForwardingLoadBalancer
- requestConnection() - Method in class io.grpc.util.ForwardingSubchannel
S
- setSslSocketAndEnginePeerVerifier(AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier) - Method in class io.grpc.util.AdvancedTlsX509TrustManager.Builder
-
Sets
AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier, which methods will be called in addition to verifying certificates. - setVerification(AdvancedTlsX509TrustManager.Verification) - Method in class io.grpc.util.AdvancedTlsX509TrustManager.Builder
-
Sets
AdvancedTlsX509TrustManager.Verification, mode when authenticating the peer certificate. - shutdown() - Method in class io.grpc.util.ForwardingLoadBalancer
- shutdown() - Method in class io.grpc.util.ForwardingSubchannel
- shutdown() - Method in class io.grpc.util.GracefulSwitchLoadBalancer
- start(LoadBalancer.SubchannelStateListener) - Method in class io.grpc.util.ForwardingSubchannel
- streamClosed(Status) - Method in class io.grpc.util.ForwardingClientStreamTracer
- streamCreated(Attributes, Metadata) - Method in class io.grpc.util.ForwardingClientStreamTracer
- switchTo(LoadBalancer.Factory) - Method in class io.grpc.util.GracefulSwitchLoadBalancer
-
Deprecated.Use
parseLoadBalancingPolicyConfig()and pass the configuration toLoadBalancer.ResolvedAddresses.Builder.setLoadBalancingPolicyConfig(java.lang.Object)
T
- toString() - Method in class io.grpc.util.ForwardingClientStreamTracer
- toString() - Method in class io.grpc.util.ForwardingLoadBalancer
- toString() - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- toString() - Method in class io.grpc.util.ForwardingSubchannel
- TransmitStatusRuntimeExceptionInterceptor - Class in io.grpc.util
-
A class that intercepts uncaught exceptions of type
StatusRuntimeExceptionand handles them by closing theServerCall, and transmitting the exception's status and metadata to the client.
U
- updateAddresses(List<EquivalentAddressGroup>) - Method in class io.grpc.util.ForwardingSubchannel
- updateBalancingState(ConnectivityState, LoadBalancer.SubchannelPicker) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- updateIdentityCredentials(File, File) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
-
Updates certificate chains and the private key from the local file paths.
- updateIdentityCredentials(File, File, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
-
Schedules a
ScheduledExecutorServiceto read certificate chains and private key from the local file paths periodically, and update the cached identity credentials if they are both updated. - updateIdentityCredentials(X509Certificate[], PrivateKey) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
-
Updates the current cached private key and cert chains.
- updateIdentityCredentials(PrivateKey, X509Certificate[]) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- updateIdentityCredentialsFromFile(File, File) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
-
Deprecated.
- updateIdentityCredentialsFromFile(File, File, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.util.AdvancedTlsX509KeyManager
- updateOobChannelAddresses(ManagedChannel, EquivalentAddressGroup) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- updateOobChannelAddresses(ManagedChannel, List<EquivalentAddressGroup>) - Method in class io.grpc.util.ForwardingLoadBalancerHelper
- updateTrustCredentials(File) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
-
Updates the trust certificates from a local file path.
- updateTrustCredentials(File, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
-
Schedules a
ScheduledExecutorServiceto read trust certificates from a local file path periodically, and updates the cached trust certs if there is an update. - updateTrustCredentials(X509Certificate[]) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
-
Updates the current cached trust certificates as well as the key store.
- updateTrustCredentialsFromFile(File) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
-
Deprecated.
- updateTrustCredentialsFromFile(File, long, TimeUnit, ScheduledExecutorService) - Method in class io.grpc.util.AdvancedTlsX509TrustManager
- useSystemDefaultTrustCerts() - Method in class io.grpc.util.AdvancedTlsX509TrustManager
-
Uses the default trust certificates stored on user's local system.
V
- valueOf(String) - Static method in enum io.grpc.util.AdvancedTlsX509TrustManager.Verification
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.grpc.util.AdvancedTlsX509TrustManager.Verification
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyPeerCertificate(X509Certificate[], String, Socket) - Method in interface io.grpc.util.AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier
-
Verifies the peer certificate chain.
- verifyPeerCertificate(X509Certificate[], String, SSLEngine) - Method in interface io.grpc.util.AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier
-
Verifies the peer certificate chain.
All Classes All Packages