Uses of Class
io.grpc.ExperimentalApi
-
Packages that use ExperimentalApi Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.netty The main transport implementation based on Netty, for both the client and the server.io.grpc.okhttp A lightweight transport based on OkHttp, mainly for use on Android (client-only).io.grpc.protobuf API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf messages.io.grpc.protobuf.lite API for gRPC over Protocol Buffers with proto message classes generated by the Lite Runtime library.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.services Service definitions and utilities for the pre-defined gRPC services.io.grpc.servlet API that implements gRPC server as a servlet.io.grpc.servlet.jakarta API that implements gRPC server as a servlet.io.grpc.stub API for the Stub layer.io.grpc.testing API that is useful for testing gRPC.io.grpc.util Utilities with advanced features in the core layer that user can optionally use.io.grpc.xds Library for gPRC proxyless service mesh using Envoy xDS protocol.io.grpc.xds.orca -
Packages with annotations of type ExperimentalApi Package Description io.grpc.servlet.jakarta API that implements gRPC server as a servlet.io.grpc.servlet API that implements gRPC server as a servlet.io.grpc.xds Library for gPRC proxyless service mesh using Envoy xDS protocol. -
-
Uses of ExperimentalApi in io.grpc
Classes in io.grpc with annotations of type ExperimentalApi Modifier and Type Class Description classAttributesAn immutable type-safe container of attributes.classBinaryLogA binary log that can be installed on a channel or server.classChannelLoggerA Channel-specific logger provided by GRPC library toLoadBalancerimplementations.classClientStreamTracerStreamTracerfor the client-side.static classClientStreamTracer.StreamInfoInformation about a stream.interfaceCodecEncloses classes related to the compression and decompression of messages.classCompositeCallCredentialsUses multipleCallCredentialsas if they were one.interfaceCompressorRepresents a message compressor.classCompressorRegistryEncloses classes related to the compression and decompression of messages.classConnectivityStateThe connectivity states.classConnectivityStateInfoA tuple of aConnectivityStateand its associatedStatus.interfaceDecompressorRepresents a message decompressor.classDecompressorRegistryEncloses classes related to the compression and decompression of messages.classEquivalentAddressGroupA group ofSocketAddresses that are considered equivalent when channel makes connections.static interfaceEquivalentAddressGroup.AttrAnnotation forEquivalentAddressGroup's attributes.classForwardingChannelBuilder<T extends ForwardingChannelBuilder<T>>AManagedChannelBuilderthat delegates all its builder methods to another builder by default.classForwardingServerBuilder<T extends ServerBuilder<T>>AServerBuilderthat delegates all its builder methods to another builder by default.static interfaceGrpc.TransportAttrAnnotation for transport attributes.classLoadBalancerA pluggable component that receives resolved addresses fromNameResolverand provides the channel a usable subchannel when asked.static classLoadBalancer.CreateSubchannelArgsArguments for creating aLoadBalancer.Subchannel.static classLoadBalancer.CreateSubchannelArgs.Builderstatic classLoadBalancer.CreateSubchannelArgs.Key<T>Key for a key-value pair.static classLoadBalancer.FactoryFactory to createLoadBalancerinstance.static classLoadBalancer.HelperProvides essentials for LoadBalancer implementations.static classLoadBalancer.PickResultA balancing decision made bySubchannelPickerfor an RPC.static classLoadBalancer.PickSubchannelArgsProvides arguments for aLoadBalancer.SubchannelPicker.pickSubchannel( LoadBalancer.PickSubchannelArgs).static classLoadBalancer.ResolvedAddressesRepresents a combination of the resolved server address, associated attributes and a load balancing policy config.static classLoadBalancer.ResolvedAddresses.BuilderBuilder forLoadBalancer.ResolvedAddresses.static classLoadBalancer.SubchannelA logical connection to a server, or a group of equivalent servers represented by anEquivalentAddressGroup.static classLoadBalancer.SubchannelPickerThe main balancing logic.classLoadBalancerProviderProvider ofLoadBalancers.classLoadBalancerRegistryRegistry ofLoadBalancerProviders.static interfaceMetadata.BinaryStreamMarshaller<T>Marshaller for metadata values that are serialized to an InputStream.static interfaceMethodDescriptor.PrototypeMarshaller<T>A marshaller that uses a fixed instance of the type it produces.static interfaceMethodDescriptor.ReflectableMarshaller<T>A marshaller that supports retrieving it's type parameterTat runtime.classNameResolverA pluggable component that resolves a targetURIand return addresses to the caller.static classNameResolver.ArgsInformation that aNameResolver.Factoryuses to create aNameResolver.static classNameResolver.ConfigOrErrorRepresents either a successfully parsed service config, containing all necessary parts to be later applied by the channel, or a Status containing the error encountered while parsing.static classNameResolver.FactoryFactory that createsNameResolverinstances.static interfaceNameResolver.ListenerReceives address updates.static classNameResolver.Listener2Receives address updates.static classNameResolver.ResolutionResultRepresents the results from a Name Resolver.static classNameResolver.ResolutionResult.BuilderA builder forNameResolver.ResolutionResult.static interfaceNameResolver.ResolutionResultAttrAnnotation for name resolution result attributes.static classNameResolver.ServiceConfigParserParses and validates service configuration.classNameResolverProviderProvider of name resolvers for name agnostic consumption.classNameResolverRegistryRegistry ofNameResolverProviders.classSecurityLevelThe level of security guarantee in communications.interfaceServerCallExecutorSupplierDefines what executor handles the server call, based on each RPC call information at runtime.classServerStreamTracerListens to events on a stream to collect metrics.classServerTransportFilterListens on server transport life-cycle events, with the capability to read and/or change transport attributes.classStreamTracerListens to events on a stream to collect metrics.Fields in io.grpc with annotations of type ExperimentalApi Modifier and Type Field Description static Attributes.Key<java.lang.String>EquivalentAddressGroup. ATTR_AUTHORITY_OVERRIDEThe authority to be used when constructing Subchannels for this EquivalentAddressGroup.static Attributes.Key<java.net.SocketAddress>Grpc. TRANSPORT_ATTR_LOCAL_ADDRAttribute key for the local address of a transport.static Attributes.Key<java.net.SocketAddress>Grpc. TRANSPORT_ATTR_REMOTE_ADDRAttribute key for the remote address of a transport.static Attributes.Key<javax.net.ssl.SSLSession>Grpc. TRANSPORT_ATTR_SSL_SESSIONAttribute key for SSL session of a transport.Methods in io.grpc with annotations of type ExperimentalApi Modifier and Type Method Description TServerBuilder. addServices(java.util.List<ServerServiceDefinition> services)Adds a list of service implementations to the handler registry together.TServerBuilder. addStreamTracerFactory(ServerStreamTracer.Factory factory)Adds aServerStreamTracer.Factoryto measure server-side traffic.TServerBuilder. addTransportFilter(ServerTransportFilter filter)Adds aServerTransportFilter.TServerBuilder. callExecutor(ServerCallExecutorSupplier executorSupplier)Allows for defining a way to provide a custom executor to handle the server call.abstract TManagedChannelBuilder. compressorRegistry(CompressorRegistry registry)Set the compression registry for use in the channel.abstract TServerBuilder. compressorRegistry(CompressorRegistry registry)Set the compression registry for use in the channel.abstract TManagedChannelBuilder. decompressorRegistry(DecompressorRegistry registry)Set the decompression registry for use in the channel.abstract TServerBuilder. decompressorRegistry(DecompressorRegistry registry)Set the decompression registry for use in the channel.TManagedChannelBuilder. defaultLoadBalancingPolicy(java.lang.String policy)Sets the default load-balancing policy that will be used if the service config doesn't specify one.TManagedChannelBuilder. defaultServiceConfig(java.util.Map<java.lang.String,?> serviceConfig)Provides a service config to the channel.TManagedChannelBuilder. disableServiceConfigLookUp()Disables service config look-up from the naming system, which is enabled by default.<T> Attributes.BuilderAttributes.Builder. discard(Attributes.Key<T> key)Removes the key and associated value from the attribtues.<T> voidMetadata. discardAll(Metadata.Key<T> key)Remove all values for the given key without returning them.TManagedChannelBuilder. enableFullStreamDecompression()Enables full-stream decompression of inbound streams.voidManagedChannel. enterIdle()Invoking this method moves the channel into the IDLE state and triggers tear-down of the channel's name resolver and load balancer, while still allowing on-going RPCs on the channel to continue.static java.lang.StringMethodDescriptor. extractBareMethodName(java.lang.String fullMethodName)Extract the method name out of a fully qualified method name.java.util.Set<java.lang.String>DecompressorRegistry. getAdvertisedMessageEncodings()Provides a list of all message encodings that have decompressors available and should be advertised.AttributesClientCall. getAttributes()Returns additional properties of the call.AttributesServerCall. getAttributes()Returns properties of a single call.java.lang.StringCallOptions. getAuthority()Override the HTTP/2 authority the channel claims to be connecting to.java.lang.StringServerCall. getAuthority()Gets the authority this call is addressed to.java.lang.StringMethodDescriptor. getBareMethodName()A convenience method forextractBareMethodName(getFullMethodName()).ChannelLoggerNameResolver.Args. getChannelLogger()Returns theChannelLoggerfor the Channel served by this NameResolver.java.util.List<ServerServiceDefinition>Server. getImmutableServices()Returns immutable services registered with the server, or an empty list if not supported by the implementation.java.util.List<? extends java.net.SocketAddress>Server. getListenSockets()Returns a list of listening sockets for this server.java.lang.IntegerCallOptions. getMaxInboundMessageSize()Gets the maximum allowed message size acceptable from the remote peer.java.lang.IntegerCallOptions. getMaxOutboundMessageSize()Gets the maximum allowed message size acceptable to send the remote peer.java.util.List<ServerServiceDefinition>Server. getMutableServices()Returns mutable services registered with the server, or an empty list if not supported by the implementation.<T> TCallOptions. getOption(CallOptions.Key<T> key)Get the value for a custom option or its inherent default.java.lang.StringNameResolver.Args. getOverrideAuthority()Returns the overrideAuthority from channelManagedChannelBuilder.overrideAuthority(java.lang.String).MethodDescriptor.Marshaller<ReqT>MethodDescriptor. getRequestMarshaller()Returns the marshaller for the request type.MethodDescriptor.Marshaller<RespT>MethodDescriptor. getResponseMarshaller()Returns the marshaller for the response type.java.util.concurrent.ScheduledExecutorServiceNameResolver.Args. getScheduledExecutorService()Returns aScheduledExecutorServicefor scheduling delayed tasks.java.lang.ObjectServiceDescriptor. getSchemaDescriptor()Returns the schema descriptor for this service.SecurityLevelServerCall. getSecurityLevel()Returns the level of security guarantee in communicationsjava.lang.StringMethodDescriptor. getServiceName()A convenience method forextractFullServiceName(getFullMethodName()).java.util.List<ServerServiceDefinition>HandlerRegistry. getServices()Returns theServerServiceDefinitions provided by the registry, or an empty list if not supported by the implementation.java.util.List<ServerServiceDefinition>Server. getServices()Returns all services registered with the server, or an empty list if not supported by the implementation.ConnectivityStateManagedChannel. getState(boolean requestConnection)Gets the current connectivity state.java.util.List<ClientStreamTracer.Factory>CallOptions. getStreamTracerFactories()Returns an immutable list ofClientStreamTracerFactorys.TServerBuilder. handshakeTimeout(long timeout, java.util.concurrent.TimeUnit unit)Sets the permitted time for new connections to complete negotiation handshakes before being killed.abstract TManagedChannelBuilder. idleTimeout(long value, java.util.concurrent.TimeUnit unit)Set the duration without ongoing RPCs before going to idle mode.voidLoadBalancer.Helper. ignoreRefreshNameResolutionCheck()Deprecated.Warning has been removedTServerBuilder. keepAliveTime(long keepAliveTime, java.util.concurrent.TimeUnit timeUnit)Sets the time without read activity before sending a keepalive ping.TServerBuilder. keepAliveTimeout(long keepAliveTimeout, java.util.concurrent.TimeUnit timeUnit)Sets a time waiting for read activity after sending a keepalive ping.TServerBuilder. maxConnectionAge(long maxConnectionAge, java.util.concurrent.TimeUnit timeUnit)Sets the maximum connection age, connections lasting longer than which will be gracefully terminated.TServerBuilder. maxConnectionAgeGrace(long maxConnectionAgeGrace, java.util.concurrent.TimeUnit timeUnit)Sets the grace time for the graceful connection termination.TServerBuilder. maxConnectionIdle(long maxConnectionIdle, java.util.concurrent.TimeUnit timeUnit)Sets the maximum connection idle time, connections being idle for longer than which will be gracefully terminated.TManagedChannelBuilder. maxHedgedAttempts(int maxHedgedAttempts)Sets the maximum number of hedged attempts that may be configured by the service config.TManagedChannelBuilder. maxRetryAttempts(int maxRetryAttempts)Sets the maximum number of retry attempts that may be configured by the service config.TManagedChannelBuilder. maxTraceEvents(int maxTraceEvents)Sets the maximum number of channel trace events to keep in the tracer for each channel or subchannel.abstract TManagedChannelBuilder. nameResolverFactory(NameResolver.Factory resolverFactory)Deprecated.Most usages should use a globally-registeredNameResolverProviderinstead, with either the SPI mechanism orNameResolverRegistry.register(io.grpc.NameResolverProvider).voidManagedChannel. notifyWhenStateChanged(ConnectivityState source, java.lang.Runnable callback)Registers a one-off callback that will be run if the connectivity state of the channel diverges from the givensource, which is typically what has just been returned byManagedChannel.getState(boolean).static <T> CallOptions.Key<T>CallOptions.Key. of(java.lang.String debugString, T defaultValue)Deprecated.static <T> Metadata.Key<T>Metadata.Key. of(java.lang.String name, Metadata.BinaryStreamMarshaller<T> marshaller)Creates a key for a binary header, serializing to input streams.TServerBuilder. permitKeepAliveTime(long keepAliveTime, java.util.concurrent.TimeUnit timeUnit)Specify the most aggressive keep-alive time clients are permitted to configure.TServerBuilder. permitKeepAliveWithoutCalls(boolean permit)Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.TManagedChannelBuilder. perRpcBufferLimit(long bytes)Sets the per RPC buffer limit in bytes used for retry.voidManagedChannel. resetConnectBackoff()For subchannels that are in TRANSIENT_FAILURE state, short-circuit the backoff timer and make them reconnect immediately.TManagedChannelBuilder. retryBufferSize(long bytes)Sets the retry buffer size in bytes.TManagedChannelBuilder. setBinaryLog(BinaryLog binaryLog)Sets the BinaryLog object that this channel should log to.TServerBuilder. setBinaryLog(BinaryLog binaryLog)Sets the BinaryLog object that this server should log to.NameResolver.Args.BuilderNameResolver.Args.Builder. setChannelLogger(ChannelLogger channelLogger)voidClientCall. setMessageCompression(boolean enabled)Enables per-message compression, if an encoding type has been negotiated.ServiceDescriptor.BuilderServiceDescriptor.Builder. setName(java.lang.String name)Sets the name.NameResolver.Args.BuilderNameResolver.Args.Builder. setOverrideAuthority(java.lang.String authority)NameResolver.Args.BuilderNameResolver.Args.Builder. setScheduledExecutorService(java.util.concurrent.ScheduledExecutorService scheduledExecutorService)static StatusContexts. statusFromCancelled(Context context)Returns theStatusof a cancelled context ornullif the context is not cancelled.voidCallCredentials. thisUsesUnstableApi()Deprecated.static ServerServiceDefinitionServerInterceptors. useInputStreamMessages(ServerServiceDefinition serviceDef)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from InputStream for all methods.static <ReqT,RespT>
ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller)Create a newServerServiceDefinitionwithMethodDescriptorfor deserializing requests and separateMethodDescriptorfor serializing responses.static <T> ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from T for all methods.CallOptionsCallOptions. withAuthority(java.lang.String authority)Override the HTTP/2 authority the channel claims to be connecting to.CallOptionsCallOptions. withMaxInboundMessageSize(int maxSize)Sets the maximum allowed message size acceptable from the remote peer.CallOptionsCallOptions. withMaxOutboundMessageSize(int maxSize)Sets the maximum allowed message size acceptable sent to the remote peer.CallOptionsCallOptions. withStreamTracerFactory(ClientStreamTracer.Factory factory)Returns a newCallOptionswith aClientStreamTracerFactoryin addition to the existing factories. -
Uses of ExperimentalApi in io.grpc.grpclb
Classes in io.grpc.grpclb with annotations of type ExperimentalApi Modifier and Type Class Description classGrpclbConstantsConstants for the GRPCLB load-balancer. -
Uses of ExperimentalApi in io.grpc.inprocess
Classes in io.grpc.inprocess with annotations of type ExperimentalApi Modifier and Type Class Description classAnonymousInProcessSocketAddressCustom SocketAddress class forInProcessTransport, for a server which can only be referenced via this address instance.classInProcessChannelBuilderBuilder for a channel that issues in-process requests.classInProcessServerBuilderBuilder for a server that services in-process requests. -
Uses of ExperimentalApi in io.grpc.netty
Classes in io.grpc.netty with annotations of type ExperimentalApi Modifier and Type Class Description classGrpcSslContextsUtility for configuring SslContext for gRPC.classInsecureFromHttp1ChannelCredentialsAn insecure credential that upgrades from HTTP/1 to HTTP/2.classNegotiationTypeIdentifies the negotiation used for starting up HTTP/2.classNettyChannelBuilderA builder to help simplify construction of channels using the Netty transport.static classNettyChannelBuilder.LocalSocketPickerThis class is meant to be overriden with a custom implementation ofNettyChannelBuilder.LocalSocketPicker.createSocketAddress(java.net.SocketAddress, io.grpc.Attributes).classNettyServerBuilderA builder to help simplify the construction of a Netty-based GRPC server.classNettySslContextChannelCredentialsA credential that performs TLS with Netty's SslContext as configuration.classNettySslContextServerCredentialsA credential that performs TLS with Netty's SslContext as configuration.Methods in io.grpc.netty with annotations of type ExperimentalApi Modifier and Type Method Description static io.netty.handler.ssl.SslContextBuilderGrpcSslContexts. configure(io.netty.handler.ssl.SslContextBuilder builder, io.netty.handler.ssl.SslProvider provider)Set ciphers and APN appropriate for gRPC. -
Uses of ExperimentalApi in io.grpc.okhttp
Classes in io.grpc.okhttp with annotations of type ExperimentalApi Modifier and Type Class Description classOkHttpChannelBuilderConvenience class for building channels with the OkHttp transport.classOkHttpServerBuilderBuild servers with the OkHttp transport.classSslSocketFactoryChannelCredentialsA credential with full control over the SSLSocketFactory.classSslSocketFactoryServerCredentialsA credential with full control over the SSLSocketFactory. -
Uses of ExperimentalApi in io.grpc.protobuf
Classes in io.grpc.protobuf with annotations of type ExperimentalApi Modifier and Type Class Description classStatusProtoUtility methods for working withStatus.Methods in io.grpc.protobuf with annotations of type ExperimentalApi Modifier and Type Method Description static <T extends Message>
MethodDescriptor.Marshaller<T>ProtoUtils. marshallerWithRecursionLimit(T defaultInstance, int recursionLimit)Creates aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstanceand a custom limit for the recursion depth.static <T extends Message>
Metadata.BinaryMarshaller<T>ProtoUtils. metadataMarshaller(T instance)Produce a metadata marshaller for a protobuf type.static voidProtoUtils. setExtensionRegistry(ExtensionRegistry registry)Sets the global registry for proto marshalling shared across all servers and clients. -
Uses of ExperimentalApi in io.grpc.protobuf.lite
Classes in io.grpc.protobuf.lite with annotations of type ExperimentalApi Modifier and Type Class Description classProtoLiteUtilsUtility methods for using protobuf with grpc.Methods in io.grpc.protobuf.lite with annotations of type ExperimentalApi Modifier and Type Method Description static <T extends MessageLite>
MethodDescriptor.Marshaller<T>ProtoLiteUtils. marshallerWithRecursionLimit(T defaultInstance, int recursionLimit)Creates aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstanceand a custom limit for the recursion depth.static voidProtoLiteUtils. setExtensionRegistry(ExtensionRegistryLite newRegistry)Sets the global registry for proto marshalling shared across all servers and clients. -
Uses of ExperimentalApi in io.grpc.protobuf.services
Classes in io.grpc.protobuf.services with annotations of type ExperimentalApi Modifier and Type Class Description classBinaryLogsinterfaceBinaryLogSinkA class that accepts binary log messages.classChannelzServiceThe channelz service provides stats about a running gRPC process.classHealthCheckingLoadBalancerUtilUtility for enabling client-side health checking forLoadBalancers.classHealthStatusManagerAHealthStatusManagerobject manages a health check service.classProtoReflectionServiceProvides a reflection service for Protobuf services (including the reflection service itself). -
Uses of ExperimentalApi in io.grpc.services
Classes in io.grpc.services with annotations of type ExperimentalApi Modifier and Type Class Description classAdminInterfaceAdmin Interface provides a class of services for exposing the overall state of gRPC activity in a given binary.classBinaryLogsDeprecated.UseBinaryLogsinstead.classCallMetricRecorderUtility to record call metrics for load-balancing.classChannelzServiceDeprecated.UseChannelzServiceinstead.classHealthStatusManagerDeprecated.UseHealthStatusManagerinstead.classMetricRecorderImplements the service/APIs for Out-of-Band metrics reporting, only for utilization metrics.classMetricReportA gRPC object of orca load report. -
Uses of ExperimentalApi in io.grpc.servlet
Classes in io.grpc.servlet with annotations of type ExperimentalApi Modifier and Type Class Description classGrpcServletA simple servlet backed by a gRPC server.classServletAdapterAn adapter that transformsHttpServletRequestinto gRPC request and lets a gRPC server process it, and transforms the gRPC response intoHttpServletResponse.classServletServerBuilderBuilder to build a gRPC server that can run as a servlet. -
Uses of ExperimentalApi in io.grpc.servlet.jakarta
Classes in io.grpc.servlet.jakarta with annotations of type ExperimentalApi Modifier and Type Class Description classGrpcServletA simple servlet backed by a gRPC server.classServletAdapterAn adapter that transformsHttpServletRequestinto gRPC request and lets a gRPC server process it, and transforms the gRPC response intoHttpServletResponse.classServletServerBuilderBuilder to build a gRPC server that can run as a servlet. -
Uses of ExperimentalApi in io.grpc.stub
Classes in io.grpc.stub with annotations of type ExperimentalApi Modifier and Type Class Description classCallStreamObserver<V>A refinement of StreamObserver provided by the GRPC runtime to the application (the client or the server) that allows for more complex interactions with call behavior.classStreamObserversUtility functions for working withStreamObserverand it's common subclasses likeCallStreamObserver.Methods in io.grpc.stub with annotations of type ExperimentalApi Modifier and Type Method Description static <T extends AbstractStub<T>>
TMetadataUtils. attachHeaders(T stub, Metadata extraHeaders)Deprecated.Usestub.withInterceptors(newAttachHeadersInterceptor(...))instead.static <T extends AbstractStub<T>>
TMetadataUtils. captureMetadata(T stub, java.util.concurrent.atomic.AtomicReference<Metadata> headersCapture, java.util.concurrent.atomic.AtomicReference<Metadata> trailersCapture)Deprecated.Usestub.withInterceptors(newCaptureMetadataInterceptor())instead.voidServerCallStreamObserver. setOnCloseHandler(java.lang.Runnable onCloseHandler)Sets aRunnableto be executed when the call is closed cleanly from the server's point of view: eitherStreamObserver.onCompleted()orStreamObserver.onError(Throwable)has been called, all the messages and trailing metadata have been sent and the stream has been closed.SAbstractStub. withMaxInboundMessageSize(int maxSize)Returns a new stub that limits the maximum acceptable message size from a remote peer.SAbstractStub. withMaxOutboundMessageSize(int maxSize)Returns a new stub that limits the maximum acceptable message size to send a remote peer.<T> SAbstractStub. withOption(CallOptions.Key<T> key, T value)Sets a custom option to be passed to client interceptors on the channelClientInterceptorvia the CallOptions parameter. -
Uses of ExperimentalApi in io.grpc.testing
Classes in io.grpc.testing with annotations of type ExperimentalApi Modifier and Type Class Description classGrpcCleanupRuleA JUnitExternalResourcethat can register gRPC resources and manages its automatic release at the end of the test.classGrpcServerRuleGrpcServerRuleis a JUnitTestRulethat starts an in-process gRPC service with aMutableHandlerRegistryfor adding services.classStreamRecorder<T>Deprecated.Not for public useclassTestMethodDescriptorsA collection of method descriptor constructors useful for tests.classTestUtilsCommon utility functions useful for writing tests.classTlsTestingConvenience utilities for using TLS in tests.Methods in io.grpc.testing with annotations of type ExperimentalApi Modifier and Type Method Description static MethodDescriptor.Marshaller<java.lang.Void>TestMethodDescriptors. voidMarshaller()Creates a new marshaller that does nothing.static MethodDescriptor<java.lang.Void,java.lang.Void>TestMethodDescriptors. voidMethod()Creates a new method descriptor that always creates zero length messages, and always parses to null objects. -
Uses of ExperimentalApi in io.grpc.util
Classes in io.grpc.util with annotations of type ExperimentalApi Modifier and Type Class Description classAdvancedTlsX509KeyManagerAdvancedTlsX509KeyManager is anX509ExtendedKeyManagerthat allows users to configure advanced TLS features, such as private key and certificate chain reloading, etc.classAdvancedTlsX509TrustManagerAdvancedTlsX509TrustManager is anX509ExtendedTrustManagerthat allows users to configure advanced TLS features, such as root certificate reloading, peer cert custom verification, etc.classCertificateUtilsContains certificate/key PEM file utility method(s).classForwardingClientStreamTracerclassForwardingLoadBalancerclassForwardingLoadBalancerHelperclassForwardingSubchannelclassGracefulSwitchLoadBalancerA load balancer that gracefully swaps to a new lb policy.classTransmitStatusRuntimeExceptionInterceptorA class that intercepts uncaught exceptions of typeStatusRuntimeExceptionand handles them by closing theServerCall, and transmitting the exception's status and metadata to the client.Methods in io.grpc.util with annotations of type ExperimentalApi Modifier and Type Method Description java.util.List<ServerServiceDefinition>MutableHandlerRegistry. getServices()Note: This does not necessarily return a consistent view of the map. -
Uses of ExperimentalApi in io.grpc.xds
Classes in io.grpc.xds with annotations of type ExperimentalApi Modifier and Type Class Description classCsdsServiceThe CSDS service provides information about the status of a running xDS client.classRingHashOptionsUtility class that provides a way to configure ring hash size limits.classXdsChannelCredentialsclassXdsServerBuilderA version ofServerBuilderto create xDS managed servers.classXdsServerCredentialsMethods in io.grpc.xds with annotations of type ExperimentalApi Modifier and Type Method Description static longRingHashOptions. getRingSizeCap()Get the global limit for min and max ring hash sizes.static voidRingHashOptions. setRingSizeCap(long ringSizeCap)Set the global limit for the min and max number of ring hash entries per ring. -
Uses of ExperimentalApi in io.grpc.xds.orca
Classes in io.grpc.xds.orca with annotations of type ExperimentalApi Modifier and Type Class Description classOrcaMetricReportingServerInterceptorAServerInterceptorthat intercepts aServerCallby running server-side RPC handling under aContextthat records custom per-request metrics provided by server applications and sends to client side along with the response in the format of Open Request Cost Aggregation (ORCA).classOrcaOobUtilUtility class that provides method forLoadBalancerto install listeners to receive out-of-band backend metrics in the format of Open Request Cost Aggregation (ORCA).classOrcaPerRequestUtilUtility class that provides method forLoadBalancerto install listeners to receive per-request backend cost metrics in the format of Open Request Cost Aggregation (ORCA).
-