Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W Z 

A

accept(T) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue.Consumer
This method will process an element already removed from the queue.
accept(ConnectionSetupPayload, RSocket) - Method in interface io.rsocket.SocketAcceptor
Handle the SETUP frame for a new connection and create a responder RSocket for handling requests from the remote peer.
acceptor(SocketAcceptor) - Method in class io.rsocket.core.RSocketConnector
Configure a client-side SocketAcceptor for responding to requests from the server.
acceptor(SocketAcceptor) - Method in class io.rsocket.core.RSocketServer
Set the acceptor to handle incoming connections and handle requests.
alloc() - Method in interface io.rsocket.DuplexConnection
Returns the assigned ByteBufAllocator.
alloc() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
APPLICATION_ERROR - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
ApplicationErrorException - Exception in io.rsocket.exceptions
Application layer logic generating a Reactive Streams onError event.
ApplicationErrorException(String) - Constructor for exception io.rsocket.exceptions.ApplicationErrorException
Constructs a new exception with the specified message.
ApplicationErrorException(String, Throwable) - Constructor for exception io.rsocket.exceptions.ApplicationErrorException
Constructs a new exception with the specified message and cause.
apply(ByteBuf) - Method in class io.rsocket.frame.decoder.ZeroCopyPayloadDecoder
 
apply(RSocket) - Method in class io.rsocket.plugins.LimitRateInterceptor
 
apply(DuplexConnection) - Method in interface io.rsocket.transport.ServerTransport.ConnectionAcceptor
Accept a new DuplexConnection and returns Publisher signifying the end of processing of the connection.
asConnectionAcceptor() - Method in class io.rsocket.core.RSocketServer
An alternative to RSocketServer.bind(ServerTransport) that is useful for installing RSocket on a server that is started independently.
asConnectionAcceptor(int) - Method in class io.rsocket.core.RSocketServer
An alternative to RSocketServer.bind(ServerTransport) that is useful for installing RSocket on a server that is started independently.
AuthMetadataCodec - Class in io.rsocket.metadata
 
Availability - Interface in io.rsocket
 
availability() - Method in interface io.rsocket.Availability
 
availability() - Method in interface io.rsocket.DuplexConnection
 
availability() - Method in interface io.rsocket.RSocket
 
availability() - Method in class io.rsocket.util.RSocketProxy
 
availableInQueue(long, long) - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 

B

BaseDuplexConnection - Class in io.rsocket.internal
 
BaseDuplexConnection() - Constructor for class io.rsocket.internal.BaseDuplexConnection
 
BaseWeightedStats - Class in io.rsocket.loadbalance
Implementation of WeightedStats that manages tracking state and exposes the required stats.
BaseWeightedStats() - Constructor for class io.rsocket.loadbalance.BaseWeightedStats
 
bind(ServerTransport<T>) - Method in class io.rsocket.core.RSocketServer
Start the server on the given transport.
bindNow(ServerTransport<T>) - Method in class io.rsocket.core.RSocketServer
Start the server on the given transport.
build() - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient.Builder
Build the LoadbalanceRSocketClient instance.
build() - Method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy.Builder
Build the WeightedLoadbalanceStrategy instance.
builder(Publisher<List<LoadbalanceTarget>>) - Static method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
Return a builder for a LoadbalanceRSocketClient.
builder() - Static method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy
Return a builder to create a WeightedLoadbalanceStrategy with.
ByteBufPayload - Class in io.rsocket.util
 

C

cancel() - Method in class io.rsocket.internal.UnboundedProcessor
 
cancel() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
cancel() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
CANCELED - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
CanceledException - Exception in io.rsocket.exceptions
The Responder canceled the request but may have started processing it (similar to REJECTED but doesn't guarantee lack of side-effects).
CanceledException(String) - Constructor for exception io.rsocket.exceptions.CanceledException
Constructs a new exception with the specified message.
CanceledException(String, Throwable) - Constructor for exception io.rsocket.exceptions.CanceledException
Constructs a new exception with the specified message and cause.
CancelFrameCodec - Class in io.rsocket.frame
 
canHaveData() - Method in enum io.rsocket.frame.FrameType
Whether the frame type can have data.
canHaveMetadata() - Method in enum io.rsocket.frame.FrameType
Whether the frame type can have metadata
capacity() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
 
capacity() - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 
CharByteBufUtil - Class in io.rsocket.util
 
cleanupStoreOnKeepAlive() - Method in class io.rsocket.core.Resume
When this property is enabled, hints from KEEPALIVE frames about how much data has been received by the other side, is used to proactively clean frames from the store.
clear() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Removes all items from the queue.
clear() - Method in class io.rsocket.internal.UnboundedProcessor
Clears all elements from queues and set state to terminate.
ClientKeepAliveSupport(ByteBufAllocator, int, int) - Constructor for class io.rsocket.keepalive.KeepAliveSupport.ClientKeepAliveSupport
 
ClientLoadbalanceStrategy - Interface in io.rsocket.loadbalance
A LoadbalanceStrategy with an interest in configuring the RSocketConnector for connecting to load-balance targets in order to hook into request lifecycle and track usage statistics.
ClientResume - Class in io.rsocket.resume
 
ClientResume(Duration, ByteBuf) - Constructor for class io.rsocket.resume.ClientResume
 
ClientRSocketSession - Class in io.rsocket.resume
 
ClientRSocketSession(ByteBuf, ResumableDuplexConnection, Mono<DuplexConnection>, Function<DuplexConnection, Mono<Tuple2<ByteBuf, DuplexConnection>>>, ResumableFramesStore, Duration, Retry, boolean) - Constructor for class io.rsocket.resume.ClientRSocketSession
 
ClientTransport - Interface in io.rsocket.transport
A client contract for writing transports of RSocket.
Clock - Class in io.rsocket.util
Abstraction to get current time and durations.
Closeable - Interface in io.rsocket
An interface which allows listening to when a specific instance of this interface is closed
CompositeMetadata - Class in io.rsocket.metadata
An Iterable wrapper around a ByteBuf that exposes metadata entry information at each decoding step.
CompositeMetadata(ByteBuf, boolean) - Constructor for class io.rsocket.metadata.CompositeMetadata
 
CompositeMetadata.Entry - Interface in io.rsocket.metadata
An entry in the CompositeMetadata.
CompositeMetadata.ExplicitMimeTimeEntry - Class in io.rsocket.metadata
An CompositeMetadata.Entry backed by an explicitly declared MIME type.
CompositeMetadata.ReservedMimeTypeEntry - Class in io.rsocket.metadata
An CompositeMetadata.Entry backed by a WellKnownMimeType entry, but one that is not understood by this implementation.
CompositeMetadata.WellKnownMimeTypeEntry - Class in io.rsocket.metadata
CompositeMetadataCodec - Class in io.rsocket.metadata
A flyweight class that can be used to encode/decode composite metadata information to/from ByteBuf.
computeNextEntryIndex(int, ByteBuf, ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
 
connect(ClientTransport) - Method in class io.rsocket.core.RSocketConnector
Connect with the given transport and obtain a live RSocket to use for making requests.
connect(Supplier<ClientTransport>) - Method in class io.rsocket.core.RSocketConnector
Variant of RSocketConnector.connect(ClientTransport) with a Supplier for the ClientTransport.
connect(DuplexConnection) - Method in class io.rsocket.resume.ResumableDuplexConnection
 
connect() - Method in interface io.rsocket.transport.ClientTransport
Return a Mono that connects for each subscriber.
CONNECTION_CLOSE - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
CONNECTION_ERROR - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
ConnectionCloseException - Exception in io.rsocket.exceptions
The connection is being terminated.
ConnectionCloseException(String) - Constructor for exception io.rsocket.exceptions.ConnectionCloseException
Constructs a new exception with the specified message.
ConnectionCloseException(String, Throwable) - Constructor for exception io.rsocket.exceptions.ConnectionCloseException
Constructs a new exception with the specified message and cause.
ConnectionErrorException - Exception in io.rsocket.exceptions
The connection is being terminated.
ConnectionErrorException(String) - Constructor for exception io.rsocket.exceptions.ConnectionErrorException
Constructs a new exception with the specified message.
ConnectionErrorException(String, Throwable) - Constructor for exception io.rsocket.exceptions.ConnectionErrorException
Constructs a new exception with the specified message and cause.
ConnectionSetupPayload - Class in io.rsocket
Exposes information from the SETUP frame to a server, as well as to client responders.
ConnectionSetupPayload() - Constructor for class io.rsocket.ConnectionSetupPayload
 
connector(RSocketConnector) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient.Builder
Configure the "template" connector to use for connecting to load balance targets.
connectWith(ClientTransport) - Static method in class io.rsocket.core.RSocketConnector
Static factory method to connect with default settings, effectively a shortcut for:
 RSocketConnector.create().connect(transport);
create() - Static method in class io.rsocket.core.RSocketConnector
Static factory method to create an RSocketConnector instance and customize default settings before connecting.
create() - Static method in class io.rsocket.core.RSocketServer
Static factory method to create an RSocketServer.
create(SocketAcceptor) - Static method in class io.rsocket.core.RSocketServer
Static factory method to create an RSocketServer instance with the given SocketAcceptor.
create(Duration, int, ByteBuf) - Static method in class io.rsocket.lease.Lease
 
create(Duration, int) - Static method in class io.rsocket.lease.Lease
 
create(RSocketConnector, Publisher<List<LoadbalanceTarget>>) - Static method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
Shortcut to create an LoadbalanceRSocketClient with round-robin load balancing.
create() - Static method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy
Create an instance of WeightedLoadbalanceStrategy with default settings, which include round-robin load-balancing and 5 WeightedLoadbalanceStrategy.maxPairSelectionAttempts.
create(String) - Static method in class io.rsocket.util.ByteBufPayload
Static factory method for a text payload.
create(String, String) - Static method in class io.rsocket.util.ByteBufPayload
Static factory method for a text payload.
create(CharSequence, Charset) - Static method in class io.rsocket.util.ByteBufPayload
 
create(CharSequence, Charset, CharSequence, Charset) - Static method in class io.rsocket.util.ByteBufPayload
 
create(byte[]) - Static method in class io.rsocket.util.ByteBufPayload
 
create(byte[], byte[]) - Static method in class io.rsocket.util.ByteBufPayload
 
create(ByteBuffer) - Static method in class io.rsocket.util.ByteBufPayload
 
create(ByteBuffer, ByteBuffer) - Static method in class io.rsocket.util.ByteBufPayload
 
create(ByteBuf) - Static method in class io.rsocket.util.ByteBufPayload
 
create(ByteBuf, ByteBuf) - Static method in class io.rsocket.util.ByteBufPayload
 
create(Payload) - Static method in class io.rsocket.util.ByteBufPayload
 
create(CharSequence) - Static method in class io.rsocket.util.DefaultPayload
Static factory method for a text payload.
create(CharSequence, CharSequence) - Static method in class io.rsocket.util.DefaultPayload
Static factory method for a text payload.
create(CharSequence, Charset) - Static method in class io.rsocket.util.DefaultPayload
 
create(CharSequence, Charset, CharSequence, Charset) - Static method in class io.rsocket.util.DefaultPayload
 
create(byte[]) - Static method in class io.rsocket.util.DefaultPayload
 
create(byte[], byte[]) - Static method in class io.rsocket.util.DefaultPayload
 
create(ByteBuffer) - Static method in class io.rsocket.util.DefaultPayload
 
create(ByteBuffer, ByteBuffer) - Static method in class io.rsocket.util.DefaultPayload
 
create(ByteBuf) - Static method in class io.rsocket.util.DefaultPayload
 
create(ByteBuf, ByteBuf) - Static method in class io.rsocket.util.DefaultPayload
 
create(Payload) - Static method in class io.rsocket.util.DefaultPayload
 
createRoutingMetadata(ByteBufAllocator, Collection<String>) - Static method in class io.rsocket.metadata.TaggingMetadataCodec
create routing metadata
createTaggingContent(ByteBufAllocator, Collection<String>) - Static method in class io.rsocket.metadata.TaggingMetadataCodec
create tagging content
createTaggingMetadata(CompositeMetadata.Entry) - Static method in class io.rsocket.metadata.TaggingMetadataCodec
create tagging metadata from composite metadata entry
createTaggingMetadata(ByteBufAllocator, String, Collection<String>) - Static method in class io.rsocket.metadata.TaggingMetadataCodec
create tagging metadata
CURRENT_VERSION - Static variable in class io.rsocket.frame.SetupFrameCodec
 
currentConsumerIndex() - Method in interface io.rsocket.internal.jctools.queues.QueueProgressIndicators
This method has no concurrent visibility semantics.
currentContext() - Method in class io.rsocket.internal.UnboundedProcessor
 
currentProducerIndex() - Method in interface io.rsocket.internal.jctools.queues.QueueProgressIndicators
This method has no concurrent visibility semantics.
CustomRSocketException - Exception in io.rsocket.exceptions
 
CustomRSocketException(int, String) - Constructor for exception io.rsocket.exceptions.CustomRSocketException
Constructs a new exception with the specified message.
CustomRSocketException(int, String, Throwable) - Constructor for exception io.rsocket.exceptions.CustomRSocketException
Constructs a new exception with the specified message and cause.

D

data() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
data(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.ExtensionFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.KeepAliveFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.RequestChannelFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.RequestFireAndForgetFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.RequestResponseFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.RequestStreamFrameCodec
 
data(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
data() - Method in interface io.rsocket.Payload
Returns the Payloads' data without slicing if possible.
data() - Method in class io.rsocket.util.ByteBufPayload
 
data() - Method in class io.rsocket.util.DefaultPayload
 
data() - Method in class io.rsocket.util.EmptyPayload
 
dataMimeType() - Method in class io.rsocket.ConnectionSetupPayload
 
dataMimeType() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
dataMimeType(String) - Method in class io.rsocket.core.RSocketConnector
Set the MIME type to use for formatting payload data on the established connection.
dataMimeType(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
dataUtf8(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameCodec
 
deallocate() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
deallocate() - Method in class io.rsocket.util.ByteBufPayload
 
decode(ByteBuf) - Static method in class io.rsocket.metadata.MimeTypeMetadataCodec
Decode the per-stream MIME type metadata encoded in the given ByteBuf.
decode(ByteBuf) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
decodeMimeAndContentBuffersSlices(ByteBuf, int, boolean) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Decode the next metadata entry (a mime header + content pair of ByteBuf) from a ByteBuf that contains at least enough bytes for one more such entry.
decodeMimeIdFromMimeBuffer(ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Decode a byte compressed mime id from a ByteBuf, assuming said buffer properly contains such an id.
decodeMimeTypeFromMimeBuffer(ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Decode a CharSequence custome mime type from a ByteBuf, assuming said buffer properly contains such a mime type.
DEFAULT - Static variable in interface io.rsocket.frame.decoder.PayloadDecoder
 
DefaultConnectionSetupPayload - Class in io.rsocket.core
Default implementation of ConnectionSetupPayload.
DefaultConnectionSetupPayload(ByteBuf) - Constructor for class io.rsocket.core.DefaultConnectionSetupPayload
 
DefaultKeepAliveHandler(Closeable) - Constructor for class io.rsocket.keepalive.KeepAliveHandler.DefaultKeepAliveHandler
 
DefaultPayload - Class in io.rsocket.util
An implementation of Payload.
DISABLE_FRAME_TYPE_CHECK - Static variable in class io.rsocket.frame.FrameHeaderCodec
 
disconnect() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
dispose() - Method in class io.rsocket.internal.BaseDuplexConnection
 
dispose() - Method in class io.rsocket.internal.UnboundedProcessor
 
dispose() - Method in class io.rsocket.keepalive.KeepAliveSupport
 
dispose() - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
dispose() - Method in class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
dispose() - Method in class io.rsocket.resume.ClientRSocketSession
 
dispose() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
dispose() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
dispose() - Method in class io.rsocket.resume.ServerRSocketSession
 
dispose() - Method in class io.rsocket.resume.SessionManager
 
dispose() - Method in interface io.rsocket.RSocket
 
dispose() - Method in class io.rsocket.util.RSocketProxy
 
doOnClose() - Method in class io.rsocket.internal.BaseDuplexConnection
 
downstreamCount() - Method in class io.rsocket.internal.UnboundedProcessor
 
drain(MessagePassingQueue.Consumer<T>, int) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Remove up to limit elements from the queue and hand to consume.
drain(MessagePassingQueue.Consumer<T>) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Remove all available item from the queue and hand to consume.
drain(MessagePassingQueue.Consumer<T>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Remove elements from the queue and hand to consume forever.
drain(MessagePassingQueue.Consumer<E>) - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 
DuplexConnection - Interface in io.rsocket
Represents a connection with input/output that the protocol uses.
DuplexConnectionInterceptor - Interface in io.rsocket.plugins
Contract to decorate a DuplexConnection and intercept the sending and receiving of RSocket frames at the transport level.
DuplexConnectionInterceptor.Type - Enum in io.rsocket.plugins
 

E

elapsedSince(long) - Static method in class io.rsocket.util.Clock
 
empty() - Static method in class io.rsocket.lease.Lease
 
EMPTY_BUFFER - Static variable in class io.rsocket.util.DefaultPayload
 
EmptyPayload - Class in io.rsocket.util
 
encode(ByteBufAllocator, int) - Static method in class io.rsocket.frame.CancelFrameCodec
 
encode(ByteBufAllocator, int, Throwable, ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameCodec
 
encode(ByteBufAllocator, int, Throwable) - Static method in class io.rsocket.frame.ErrorFrameCodec
 
encode(ByteBufAllocator, int, int, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.ExtensionFrameCodec
 
encode(ByteBufAllocator, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.FragmentationCodec
 
encode(ByteBufAllocator, ByteBuf, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.FragmentationCodec
 
encode(ByteBufAllocator, int, FrameType, int) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
encode(ByteBufAllocator, int, ByteBuf) - Static method in class io.rsocket.frame.FrameLengthCodec
 
encode(ByteBufAllocator, boolean, long, ByteBuf) - Static method in class io.rsocket.frame.KeepAliveFrameCodec
 
encode(ByteBufAllocator, int, int, ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameCodec
 
encode(ByteBufAllocator, ByteBuf) - Static method in class io.rsocket.frame.MetadataPushFrameCodec
 
encode(ByteBufAllocator, int, boolean, boolean, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
encode(ByteBufAllocator, int, boolean, boolean, long, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestChannelFrameCodec
 
encode(ByteBufAllocator, int, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestFireAndForgetFrameCodec
 
encode(ByteBufAllocator, int, long) - Static method in class io.rsocket.frame.RequestNFrameCodec
 
encode(ByteBufAllocator, int, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestResponseFrameCodec
 
encode(ByteBufAllocator, int, boolean, long, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestStreamFrameCodec
 
encode(ByteBufAllocator, ByteBuf, long, long) - Static method in class io.rsocket.frame.ResumeFrameCodec
 
encode(ByteBufAllocator, long) - Static method in class io.rsocket.frame.ResumeOkFrameCodec
 
encode(ByteBufAllocator, boolean, int, int, String, String, Payload) - Static method in class io.rsocket.frame.SetupFrameCodec
 
encode(ByteBufAllocator, boolean, int, int, ByteBuf, String, String, Payload) - Static method in class io.rsocket.frame.SetupFrameCodec
 
encode(int, int) - Static method in class io.rsocket.frame.VersionCodec
 
encode(ByteBufAllocator, WellKnownMimeType) - Static method in class io.rsocket.metadata.MimeTypeMetadataCodec
Encode a WellKnownMimeType into a newly allocated single byte ByteBuf.
encode(ByteBufAllocator, String) - Static method in class io.rsocket.metadata.MimeTypeMetadataCodec
Encode the given MIME type into a newly allocated ByteBuf.
encode(ByteBufAllocator, List<String>) - Static method in class io.rsocket.metadata.MimeTypeMetadataCodec
Encode multiple MIME types into a newly allocated ByteBuf.
encode128(ByteBufAllocator, long, long, long, long, TracingMetadataCodec.Flags) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
encode128(ByteBufAllocator, long, long, long, TracingMetadataCodec.Flags) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
encode64(ByteBufAllocator, long, long, long, TracingMetadataCodec.Flags) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
encode64(ByteBufAllocator, long, long, TracingMetadataCodec.Flags) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
encodeAndAddMetadata(CompositeByteBuf, ByteBufAllocator, String, ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Encode a new sub-metadata information into a composite metadata buffer, without checking if the String can be matched with a well known compressable mime type.
encodeAndAddMetadata(CompositeByteBuf, ByteBufAllocator, WellKnownMimeType, ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Encode a new sub-metadata information into a composite metadata buffer.
encodeAndAddMetadataWithCompression(CompositeByteBuf, ByteBufAllocator, String, ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Encode a new sub-metadata information into a composite metadata buffer, first verifying if the passed String matches a WellKnownMimeType (in which case it will be encoded in a compressed fashion using the mime id of that type).
encodeBearerMetadata(ByteBufAllocator, char[]) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Encode a Authentication CompositeMetadata payload using Bearer Authentication format
encodeComplete(ByteBufAllocator, int) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
encodeEmpty(ByteBufAllocator, TracingMetadataCodec.Flags) - Static method in class io.rsocket.metadata.TracingMetadataCodec
 
encodeMetadata(ByteBufAllocator, String, ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Encode a Authentication CompositeMetadata payload using custom authentication type
encodeMetadata(ByteBufAllocator, WellKnownAuthType, ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Encode a Authentication CompositeMetadata payload using custom authentication type
encodeMetadataWithCompression(ByteBufAllocator, String, ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Encode a new Authentication Metadata payload information, first verifying if the passed String matches a WellKnownAuthType (in which case it will be encoded in a compressed fashion using the mime id of that type).
encodeNextCompleteReleasingPayload(ByteBufAllocator, int, Payload) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
encodeNextReleasingPayload(ByteBufAllocator, int, Payload) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
encodeReleasingPayload(ByteBufAllocator, Payload) - Static method in class io.rsocket.frame.MetadataPushFrameCodec
 
encodeReleasingPayload(ByteBufAllocator, int, boolean, long, Payload) - Static method in class io.rsocket.frame.RequestChannelFrameCodec
 
encodeReleasingPayload(ByteBufAllocator, int, Payload) - Static method in class io.rsocket.frame.RequestFireAndForgetFrameCodec
 
encodeReleasingPayload(ByteBufAllocator, int, Payload) - Static method in class io.rsocket.frame.RequestResponseFrameCodec
 
encodeReleasingPayload(ByteBufAllocator, int, long, Payload) - Static method in class io.rsocket.frame.RequestStreamFrameCodec
 
encodeSimpleMetadata(ByteBufAllocator, char[], char[]) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Encode a Authentication CompositeMetadata payload using Simple Authentication format
encodeUnsignedMedium(ByteBuf, int) - Static method in class io.rsocket.util.NumberUtils
Encode an unsigned medium integer on 3 bytes / 24 bits.
ensureFrameType(FrameType, ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
equals(Object) - Method in class io.rsocket.loadbalance.LoadbalanceTarget
 
errorCode(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameCodec
 
errorCode() - Method in exception io.rsocket.RSocketErrorException
Return the RSocket error code represented by this exception
ErrorFrameCodec - Class in io.rsocket.frame
 
ErrorFrameCodec() - Constructor for class io.rsocket.frame.ErrorFrameCodec
 
Exceptions - Class in io.rsocket.exceptions
Utility class that generates an exception from a frame.
expirationTime() - Method in class io.rsocket.lease.Lease
Absolute time since epoch at which this lease will expire.
ExplicitMimeTimeEntry(ByteBuf, String) - Constructor for class io.rsocket.metadata.CompositeMetadata.ExplicitMimeTimeEntry
 
extendedType(ByteBuf) - Static method in class io.rsocket.frame.ExtensionFrameCodec
 
ExtensionFrameCodec - Class in io.rsocket.frame
 

F

fill(MessagePassingQueue.Supplier<T>, int) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Stuff the queue with up to limit elements from the supplier.
fill(MessagePassingQueue.Supplier<T>) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Stuff the queue with elements from the supplier.
fill(MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Stuff the queue with elements from the supplier forever.
fill(MessagePassingQueue.Supplier<E>) - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 
fillInStackTrace() - Method in exception io.rsocket.lease.MissingLeaseException
 
fireAndForget(Mono<Payload>) - Method in interface io.rsocket.core.RSocketClient
Perform a Fire-and-Forget interaction via RSocket.fireAndForget(Payload).
fireAndForget(Mono<Payload>) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
fireAndForget(Payload) - Method in interface io.rsocket.RSocket
Fire and Forget interaction model of RSocket.
fireAndForget(Payload) - Method in class io.rsocket.util.RSocketProxy
 
firstAvailableClientPos(ByteBuf) - Static method in class io.rsocket.frame.ResumeFrameCodec
 
flags(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
FLAGS_C - Static variable in class io.rsocket.frame.FrameHeaderCodec
(C)omplete: bit to indicate stream completion (Subscriber.onComplete())
FLAGS_F - Static variable in class io.rsocket.frame.FrameHeaderCodec
(F)ollows: More fragments follow this fragment (in case of fragmented REQUEST_x or PAYLOAD frames)
FLAGS_I - Static variable in class io.rsocket.frame.FrameHeaderCodec
(I)gnore flag: a value of 0 indicates the protocol can't ignore this frame
FLAGS_KEEPALIVE_R - Static variable in class io.rsocket.frame.KeepAliveFrameCodec
(R)espond: Set by the sender of the KEEPALIVE, to which the responder MUST reply with a KEEPALIVE without the R flag set
FLAGS_M - Static variable in class io.rsocket.frame.FrameHeaderCodec
(M)etadata flag: a value of 1 indicates the frame contains metadata
FLAGS_N - Static variable in class io.rsocket.frame.FrameHeaderCodec
(N)ext: bit to indicate payload or metadata present (Subscriber.onNext(Object))
FLAGS_RESUME_ENABLE - Static variable in class io.rsocket.frame.SetupFrameCodec
A flag used to indicate that the client requires connection resumption, if possible (the frame contains a Resume Identification Token)
FLAGS_WILL_HONOR_LEASE - Static variable in class io.rsocket.frame.SetupFrameCodec
A flag used to indicate that the client will honor LEASE sent by the server
forConnection(DuplexConnectionInterceptor) - Method in class io.rsocket.plugins.InterceptorRegistry
forConnection(Consumer<List<DuplexConnectionInterceptor>>) - Method in class io.rsocket.plugins.InterceptorRegistry
Variant of InterceptorRegistry.forConnection(DuplexConnectionInterceptor) with access to the list of existing registrations.
forFireAndForget(Function<Payload, Mono<Void>>) - Static method in interface io.rsocket.SocketAcceptor
Create a SocketAcceptor for fire-and-forget interactions with the given handler.
forRequestChannel(Function<Publisher<Payload>, Flux<Payload>>) - Static method in interface io.rsocket.SocketAcceptor
Create a SocketAcceptor for request-channel interactions with the given handler.
forRequester(RSocketInterceptor) - Method in class io.rsocket.plugins.InterceptorRegistry
Add an RSocketInterceptor that will decorate the RSocket used for performing requests.
forRequester(Consumer<List<RSocketInterceptor>>) - Method in class io.rsocket.plugins.InterceptorRegistry
Variant of InterceptorRegistry.forRequester(RSocketInterceptor) with access to the list of existing registrations.
forRequester(int) - Static method in class io.rsocket.plugins.LimitRateInterceptor
Create an interceptor for an RSocket that performs request-channel interactions.
forRequester(int, int) - Static method in class io.rsocket.plugins.LimitRateInterceptor
Create an interceptor for an RSocket that performs request-channel interactions with more control over the overall prefetch rate and replenish threshold.
forRequestResponse(Function<Payload, Mono<Payload>>) - Static method in interface io.rsocket.SocketAcceptor
Create a SocketAcceptor for request-response interactions with the given handler.
forRequestsInRequester(Function<RSocket, ? extends RequestInterceptor>) - Method in class io.rsocket.plugins.InterceptorRegistry
Add an RequestInterceptor that will hook into Requester RSocket requests' phases.
forRequestsInResponder(Function<RSocket, ? extends RequestInterceptor>) - Method in class io.rsocket.plugins.InterceptorRegistry
Add an RequestInterceptor that will hook into Requester RSocket requests' phases.
forRequestStream(Function<Payload, Flux<Payload>>) - Static method in interface io.rsocket.SocketAcceptor
Create a SocketAcceptor for request-stream interactions with the given handler.
forResponder(RSocketInterceptor) - Method in class io.rsocket.plugins.InterceptorRegistry
Add an RSocketInterceptor that will decorate the RSocket used for resonding to requests.
forResponder(Consumer<List<RSocketInterceptor>>) - Method in class io.rsocket.plugins.InterceptorRegistry
Variant of InterceptorRegistry.forResponder(RSocketInterceptor) with access to the list of existing registrations.
forResponder(int) - Static method in class io.rsocket.plugins.LimitRateInterceptor
Create an interceptor for an RSocket that handles request-stream and/or request-channel interactions.
forResponder(int, int) - Static method in class io.rsocket.plugins.LimitRateInterceptor
Create an interceptor for an RSocket that handles request-stream and/or request-channel interactions with more control over the overall prefetch rate and replenish threshold.
forSocketAcceptor(SocketAcceptorInterceptor) - Method in class io.rsocket.plugins.InterceptorRegistry
Add a SocketAcceptorInterceptor that will intercept the accepting of new connections.
forSocketAcceptor(Consumer<List<SocketAcceptorInterceptor>>) - Method in class io.rsocket.plugins.InterceptorRegistry
Variant of InterceptorRegistry.forSocketAcceptor(SocketAcceptorInterceptor) with access to the list of existing registrations.
fragment(int) - Method in class io.rsocket.core.RSocketConnector
When this is set, frames larger than the given maximum transmission unit (mtu) size value are broken down into fragments to fit that size.
fragment(int) - Method in class io.rsocket.core.RSocketServer
When this is set, frames larger than the given maximum transmission unit (mtu) size value are fragmented.
FragmentationCodec - Class in io.rsocket.frame
FragmentationFlyweight is used to re-assemble frames
FragmentationCodec() - Constructor for class io.rsocket.frame.FragmentationCodec
 
frame(ByteBuf) - Static method in class io.rsocket.frame.FrameLengthCodec
 
FRAME_LENGTH_MASK - Static variable in class io.rsocket.frame.FrameLengthCodec
 
FRAME_LENGTH_SIZE - Static variable in class io.rsocket.frame.FrameLengthCodec
 
FrameHeaderCodec - Class in io.rsocket.frame
Per connection frame flyweight.
frameImpliedPosition() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
frameImpliedPosition() - Method in interface io.rsocket.resume.ResumableFramesStore
 
FrameLengthCodec - Class in io.rsocket.frame
Some transports like TCP aren't framed, and require a length.
framePosition() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
framePosition() - Method in interface io.rsocket.resume.ResumableFramesStore
 
frameType(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
FrameType - Enum in io.rsocket.frame
Types of Frame that can be sent.
FrameUtil - Class in io.rsocket.frame
 
from(Mono<RSocket>) - Static method in interface io.rsocket.core.RSocketClient
Create an RSocketClient that obtains shared connections as needed, when requests are made, from the given Mono<RSocket> source.
from(RSocket) - Static method in interface io.rsocket.core.RSocketClient
Adapt the given RSocket to use as RSocketClient.
from(int, ByteBuf) - Static method in class io.rsocket.exceptions.Exceptions
Create a RSocketErrorException from a Frame that matches the error code it contains.
from(String, ClientTransport) - Static method in class io.rsocket.loadbalance.LoadbalanceTarget
Create a new LoadbalanceTarget with the given key and ClientTransport.
fromEncodedType(int) - Static method in enum io.rsocket.frame.FrameType
Returns the FrameType that matches the specified encodedType.
fromIdentifier(int) - Static method in enum io.rsocket.metadata.WellKnownAuthType
Find the WellKnownAuthType for the given identifier (as an int).
fromIdentifier(int) - Static method in enum io.rsocket.metadata.WellKnownMimeType
Find the WellKnownMimeType for the given identifier (as an int).
fromString(String) - Static method in enum io.rsocket.metadata.WellKnownAuthType
Find the WellKnownAuthType for the given String representation.
fromString(String) - Static method in enum io.rsocket.metadata.WellKnownMimeType
Find the WellKnownMimeType for the given String representation.

G

generateResumeToken() - Static method in class io.rsocket.frame.ResumeFrameCodec
 
get() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue.Supplier
This method will return the next value to be written to the queue.
get(ByteBuf) - Method in class io.rsocket.resume.SessionManager
 
getBufferSize() - Method in class io.rsocket.internal.UnboundedProcessor
 
getContent() - Method in interface io.rsocket.metadata.CompositeMetadata.Entry
Returns the un-decoded content of the CompositeMetadata.Entry.
getContent() - Method in class io.rsocket.metadata.CompositeMetadata.ExplicitMimeTimeEntry
 
getContent() - Method in class io.rsocket.metadata.CompositeMetadata.ReservedMimeTypeEntry
 
getContent() - Method in class io.rsocket.metadata.CompositeMetadata.WellKnownMimeTypeEntry
 
getContent() - Method in class io.rsocket.metadata.TaggingMetadata
 
getCurrentBufferCapacity(long) - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 
getData() - Method in interface io.rsocket.Payload
 
getData() - Method in class io.rsocket.util.DefaultPayload
 
getDataUtf8() - Method in interface io.rsocket.Payload
 
getEncodedType() - Method in enum io.rsocket.frame.FrameType
Returns the encoded type.
getError() - Method in class io.rsocket.internal.UnboundedProcessor
 
getFlags() - Method in class io.rsocket.ConnectionSetupPayload
 
getFlags() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
getIdentifier() - Method in enum io.rsocket.metadata.WellKnownAuthType
 
getIdentifier() - Method in enum io.rsocket.metadata.WellKnownMimeType
 
getKey() - Method in class io.rsocket.loadbalance.LoadbalanceTarget
Return the key that identifies this target uniquely.
getMetadata() - Method in interface io.rsocket.Payload
 
getMetadata() - Method in class io.rsocket.util.DefaultPayload
 
getMetadataUtf8() - Method in interface io.rsocket.Payload
 
getMimeType() - Method in interface io.rsocket.metadata.CompositeMetadata.Entry
Returns the MIME type of the entry, if it can be decoded.
getMimeType() - Method in class io.rsocket.metadata.CompositeMetadata.ExplicitMimeTimeEntry
 
getMimeType() - Method in class io.rsocket.metadata.CompositeMetadata.ReservedMimeTypeEntry
Returns the MIME type of the entry, if it can be decoded.
getMimeType() - Method in class io.rsocket.metadata.CompositeMetadata.WellKnownMimeTypeEntry
 
getMimeType() - Method in class io.rsocket.metadata.TaggingMetadata
 
getNextBufferSize(E[]) - Method in class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 
getPrefetch() - Method in class io.rsocket.internal.UnboundedProcessor
 
getString() - Method in enum io.rsocket.metadata.WellKnownAuthType
 
getString() - Method in enum io.rsocket.metadata.WellKnownMimeType
 
getTickPeriod() - Method in class io.rsocket.keepalive.KeepAliveSupport.KeepAlive
 
getTimeout() - Method in class io.rsocket.keepalive.KeepAliveSupport.KeepAlive
 
getTransport() - Method in class io.rsocket.loadbalance.LoadbalanceTarget
Return the transport to use to connect to the target server.
getType() - Method in class io.rsocket.metadata.CompositeMetadata.ReservedMimeTypeEntry
Returns the reserved, but unknown WellKnownMimeType for this entry.
getType() - Method in class io.rsocket.metadata.CompositeMetadata.WellKnownMimeTypeEntry
Returns the WellKnownMimeType for this entry.

H

hasComplete(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
hasDownstreams() - Method in class io.rsocket.internal.UnboundedProcessor
 
hasEntry(ByteBuf, int) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Returns whether there is another entry available at a given index
hasFollows(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
hashCode() - Method in class io.rsocket.loadbalance.LoadbalanceTarget
 
hasInitialRequestN() - Method in enum io.rsocket.frame.FrameType
Whether the frame type starts with an initial requestN.
hasMetadata() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
hasMetadata(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
hasMetadata() - Method in interface io.rsocket.Payload
Returns whether the payload has metadata, useful for tell if metadata is empty or not present.
hasMetadata() - Method in class io.rsocket.util.ByteBufPayload
 
hasMetadata() - Method in class io.rsocket.util.DefaultPayload
 
hasMetadata() - Method in class io.rsocket.util.EmptyPayload
 
hasParent() - Method in class io.rsocket.metadata.TracingMetadata
Indicates if the parent's TracingMetadata.spanId or if this the root span in a trace.
higherQuantileLatency() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
higherQuantileLatency() - Method in interface io.rsocket.loadbalance.WeightedStats
 
honorLease(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
humanReadableVersion(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 

I

idle(int) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue.WaitStrategy
This method can implement static or dynamic backoff.
impliedPosition() - Method in class io.rsocket.resume.ClientRSocketSession
 
impliedPosition() - Method in interface io.rsocket.resume.ResumeStateHolder
 
impliedPosition() - Method in class io.rsocket.resume.ServerRSocketSession
 
initConnection(DuplexConnectionInterceptor.Type, DuplexConnection) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
initialize(RSocketConnector) - Method in interface io.rsocket.loadbalance.ClientLoadbalanceStrategy
Initialize the connector, for example using the InterceptorRegistry, to intercept requests.
initialize(RSocketConnector) - Method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy
 
InitializingInterceptorRegistry - Class in io.rsocket.plugins
Extends InterceptorRegistry with methods for building a chain of registered interceptors.
InitializingInterceptorRegistry() - Constructor for class io.rsocket.plugins.InitializingInterceptorRegistry
 
initialRequestN(ByteBuf) - Static method in class io.rsocket.frame.RequestChannelFrameCodec
 
initialRequestN(ByteBuf) - Static method in class io.rsocket.frame.RequestStreamFrameCodec
 
initRequester(RSocket) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
initRequesterRequestInterceptor(RSocket) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
initResponder(RSocket) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
initResponderRequestInterceptor(RSocket, RequestInterceptor...) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
initSocketAcceptor(SocketAcceptor) - Method in class io.rsocket.plugins.InitializingInterceptorRegistry
 
InMemoryResumableFramesStore - Class in io.rsocket.resume
writes - n (where n is frequent, primary operation) reads - m (where m == KeepAliveFrequency) skip - k -> 0 (where k is the rare operation which happens after disconnection
InMemoryResumableFramesStore(String, ByteBuf, int) - Constructor for class io.rsocket.resume.InMemoryResumableFramesStore
 
inners() - Method in class io.rsocket.internal.UnboundedProcessor
 
INSTANCE - Static variable in class io.rsocket.util.EmptyPayload
 
InterceptorRegistry - Class in io.rsocket.plugins
Provides support for registering interceptors at the following levels: InterceptorRegistry.forConnection(DuplexConnectionInterceptor) -- transport level InterceptorRegistry.forSocketAcceptor(SocketAcceptorInterceptor) -- for accepting new connections InterceptorRegistry.forRequester(RSocketInterceptor) -- for performing of requests InterceptorRegistry.forResponder(RSocketInterceptor) -- for responding to requests
InterceptorRegistry() - Constructor for class io.rsocket.plugins.InterceptorRegistry
 
interceptors(Consumer<InterceptorRegistry>) - Method in class io.rsocket.core.RSocketConnector
Configure interception at one of the following levels: Transport level At the level of accepting new connections Performing requests Responding to requests
interceptors(Consumer<InterceptorRegistry>) - Method in class io.rsocket.core.RSocketServer
Configure interception at one of the following levels: Transport level At the level of accepting new connections Performing requests Responding to requests
INVALID - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
INVALID_SETUP - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
InvalidException - Exception in io.rsocket.exceptions
The request is invalid.
InvalidException(String) - Constructor for exception io.rsocket.exceptions.InvalidException
Constructs a new exception with the specified message.
InvalidException(String, Throwable) - Constructor for exception io.rsocket.exceptions.InvalidException
Constructs a new exception with the specified message and cause.
InvalidSetupException - Exception in io.rsocket.exceptions
The Setup frame is invalid for the server (it could be that the client is too recent for the old server).
InvalidSetupException(String) - Constructor for exception io.rsocket.exceptions.InvalidSetupException
Constructs a new exception with the specified message.
InvalidSetupException(String, Throwable) - Constructor for exception io.rsocket.exceptions.InvalidSetupException
Constructs a new exception with the specified message and cause.
io.rsocket - package io.rsocket
Contains key contracts of the RSocket programming model including RSocket for performing or handling RSocket interactions, SocketAcceptor for declaring responders, Payload for access to the content of a payload, and others.
io.rsocket.core - package io.rsocket.core
Contains RSocketConnector and RSocketServer, the main classes for connecting to or starting an RSocket server.
io.rsocket.exceptions - package io.rsocket.exceptions
A hierarchy of exceptions that represent RSocket protocol error codes.
io.rsocket.frame - package io.rsocket.frame
Support for encoding and decoding of RSocket frames to and from Payload.
io.rsocket.frame.decoder - package io.rsocket.frame.decoder
Support for encoding and decoding of RSocket frames to and from Payload.
io.rsocket.internal - package io.rsocket.internal
Internal package and must not be used outside this project.
io.rsocket.internal.jctools.queues - package io.rsocket.internal.jctools.queues
 
io.rsocket.keepalive - package io.rsocket.keepalive
Support classes for sending and keeping track of KEEPALIVE frames from the remote.
io.rsocket.lease - package io.rsocket.lease
Contains support classes for the Lease feature of the RSocket protocol.
io.rsocket.loadbalance - package io.rsocket.loadbalance
Support client load-balancing in RSocket Java.
io.rsocket.metadata - package io.rsocket.metadata
Contains implementations of RSocket protocol extensions related to the use of metadata.
io.rsocket.plugins - package io.rsocket.plugins
Contracts for interception of transports, connections, and requests in in RSocket Java.
io.rsocket.resume - package io.rsocket.resume
Contains support classes for the RSocket resume capability.
io.rsocket.transport - package io.rsocket.transport
Client and server transport contracts for pluggable transports.
io.rsocket.util - package io.rsocket.util
Shared utility classes and Payload implementations.
isDebug() - Method in class io.rsocket.metadata.TracingMetadata
Indicates that trace IDs should be force traced.
isDecided() - Method in class io.rsocket.metadata.TracingMetadata
Indicated that sampling decision is present.
isDisposed() - Method in class io.rsocket.internal.BaseDuplexConnection
 
isDisposed() - Method in class io.rsocket.internal.UnboundedProcessor
 
isDisposed() - Method in class io.rsocket.keepalive.KeepAliveSupport
 
isDisposed() - Method in class io.rsocket.resume.ClientRSocketSession
 
isDisposed() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
isDisposed() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
isDisposed() - Method in class io.rsocket.resume.ServerRSocketSession
 
isDisposed() - Method in interface io.rsocket.RSocket
 
isDisposed() - Method in class io.rsocket.util.RSocketProxy
 
isEmpty() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
This method's accuracy is subject to concurrent modifications happening as the observation is carried out.
isEmpty() - Method in class io.rsocket.internal.UnboundedProcessor
 
isEmpty() - Method in class io.rsocket.metadata.TracingMetadata
Includes that there is sampling information and no trace IDs.
isFragmentable() - Method in enum io.rsocket.frame.FrameType
Whether the frame type is fragmentable.
isRequestType() - Method in enum io.rsocket.frame.FrameType
Whether the frame type is a request type.
isResumeEnabled() - Method in class io.rsocket.ConnectionSetupPayload
 
isResumeEnabled() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
isSampled() - Method in class io.rsocket.metadata.TracingMetadata
Indicates that trace IDs should be accepted for tracing.
isSupportedVersion(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
isTerminated() - Method in class io.rsocket.internal.UnboundedProcessor
 
isWellKnownAuthType(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Get the first byte from a ByteBuf and check whether it is length or WellKnownAuthType.
isWellKnownMimeType(ByteBuf) - Static method in class io.rsocket.metadata.CompositeMetadataCodec
Returns whether the header represents a well-known MIME type.
iterator() - Method in class io.rsocket.metadata.CompositeMetadata
An Iterator that lazily decodes CompositeMetadata.Entry in this composite metadata.
iterator() - Method in class io.rsocket.metadata.TaggingMetadata
 

K

keepAlive(Duration, Duration) - Method in class io.rsocket.core.RSocketConnector
Set the "Time Between KEEPALIVE Frames" which is how frequently KEEPALIVE frames should be emitted, and the "Max Lifetime" which is how long to allow between KEEPALIVE frames from the remote end before concluding that connectivity is lost.
KeepAlive(Duration, Duration) - Constructor for class io.rsocket.keepalive.KeepAliveSupport.KeepAlive
 
KeepAliveFrameCodec - Class in io.rsocket.frame
 
KeepAliveFramesAcceptor - Interface in io.rsocket.keepalive
 
KeepAliveHandler - Interface in io.rsocket.keepalive
 
KeepAliveHandler.DefaultKeepAliveHandler - Class in io.rsocket.keepalive
 
KeepAliveHandler.ResumableKeepAliveHandler - Class in io.rsocket.keepalive
 
keepAliveInterval() - Method in class io.rsocket.ConnectionSetupPayload
 
keepAliveInterval() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
keepAliveInterval(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
keepAliveMaxLifetime() - Method in class io.rsocket.ConnectionSetupPayload
 
keepAliveMaxLifetime() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
keepAliveMaxLifetime(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
KeepAliveSupport - Class in io.rsocket.keepalive
 
KeepAliveSupport.ClientKeepAliveSupport - Class in io.rsocket.keepalive
 
KeepAliveSupport.KeepAlive - Class in io.rsocket.keepalive
 
keepRunning() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue.ExitCondition
This method should be implemented such that the flag read or determination cannot be hoisted out of a loop which notmally means a volatile load, but with JDK9 VarHandles may mean getOpaque.

L

LAST_POSITION_MASK - Static variable in class io.rsocket.frame.KeepAliveFrameCodec
 
lastPosition(ByteBuf) - Static method in class io.rsocket.frame.KeepAliveFrameCodec
 
lastReceivedClientPos(ByteBuf) - Static method in class io.rsocket.frame.ResumeOkFrameCodec
 
lastReceivedServerPos(ByteBuf) - Static method in class io.rsocket.frame.ResumeFrameCodec
 
lease() - Method in class io.rsocket.core.RSocketConnector
Enables the Lease feature of the RSocket protocol where the number of requests that can be performed from either side are rationed via LEASE frames from the responder side.
lease(Consumer<LeaseSpec>) - Method in class io.rsocket.core.RSocketConnector
Enables the Lease feature of the RSocket protocol where the number of requests that can be performed from either side are rationed via LEASE frames from the responder side.
lease(Consumer<LeaseSpec>) - Method in class io.rsocket.core.RSocketServer
Enables the Lease feature of the RSocket protocol where the number of requests that can be performed from either side are rationed via LEASE frames from the responder side.
Lease - Class in io.rsocket.lease
A contract for RSocket lease, which is sent by a request acceptor and is time bound.
LeaseFrameCodec - Class in io.rsocket.frame
 
LeaseFrameCodec() - Constructor for class io.rsocket.frame.LeaseFrameCodec
 
LeaseSender - Interface in io.rsocket.lease
 
LeaseSpec - Class in io.rsocket.core
 
length(ByteBuf) - Static method in class io.rsocket.frame.FrameLengthCodec
 
LimitRateInterceptor - Class in io.rsocket.plugins
Interceptor that adds Flux.limitRate(int, int) to publishers of outbound streams that breaks down or aggregates demand values from the remote end (i.e.
LoadbalanceRSocketClient - Class in io.rsocket.loadbalance
An implementation of RSocketClient backed by a pool of {@code RSocket} instances and using a {@link LoadbalanceStrategy} to select the {@code RSocket} to use for a given request.
LoadbalanceRSocketClient.Builder - Class in io.rsocket.loadbalance
Builder for creating an LoadbalanceRSocketClient.
loadbalanceStrategy(LoadbalanceStrategy) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient.Builder
Configure the LoadbalanceStrategy to use.
LoadbalanceStrategy - Interface in io.rsocket.loadbalance
Strategy to select an RSocket given a list of instances for load-balancing purposes.
LoadbalanceTarget - Class in io.rsocket.loadbalance
Representation for a load-balance target used as input to LoadbalanceRSocketClient that in turn maintains and peridodically updates a list of current load-balance targets.
lowerQuantileLatency() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
lowerQuantileLatency() - Method in interface io.rsocket.loadbalance.WeightedStats
 

M

major(int) - Static method in class io.rsocket.frame.VersionCodec
 
MAX_USER_ALLOWED_ERROR_CODE - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
maxFrameLength() - Method in interface io.rsocket.transport.Transport
Configurations that exposes the maximum frame size that a DuplexConnection can bring up to RSocket level.
maxInboundPayloadSize(int) - Method in class io.rsocket.core.RSocketConnector
When this is set, frames reassembler control maximum payload size which can be reassembled.
maxInboundPayloadSize(int) - Method in class io.rsocket.core.RSocketServer
When this is set, frames reassembler control maximum payload size which can be reassembled.
maxPairSelectionAttempts(int) - Method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy.Builder
How many times to try to randomly select a pair of RSocket connections with non-zero availability.
maxPendingRequests(int) - Method in class io.rsocket.core.LeaseSpec
Setup the maximum queued requests waiting for lease to be available.
MEDIUM_BYTES - Static variable in class io.rsocket.util.NumberUtils
The size of a medium in bytes.
MessagePassingQueue<T> - Interface in io.rsocket.internal.jctools.queues
Message passing queues are intended for concurrent method passing.
MessagePassingQueue.Consumer<T> - Interface in io.rsocket.internal.jctools.queues
 
MessagePassingQueue.ExitCondition - Interface in io.rsocket.internal.jctools.queues
 
MessagePassingQueue.Supplier<T> - Interface in io.rsocket.internal.jctools.queues
 
MessagePassingQueue.WaitStrategy - Interface in io.rsocket.internal.jctools.queues
 
metadata() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.ExtensionFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.MetadataPushFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.PayloadFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.RequestChannelFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.RequestFireAndForgetFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.RequestResponseFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.RequestStreamFrameCodec
 
metadata(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
metadata() - Method in class io.rsocket.lease.Lease
Metadata for the lease.
metadata() - Method in interface io.rsocket.Payload
Returns the Payloads' metadata without slicing if possible.
metadata() - Method in class io.rsocket.util.ByteBufPayload
 
metadata() - Method in class io.rsocket.util.DefaultPayload
 
metadata() - Method in class io.rsocket.util.EmptyPayload
 
metadataMimeType() - Method in class io.rsocket.ConnectionSetupPayload
 
metadataMimeType() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
metadataMimeType(String) - Method in class io.rsocket.core.RSocketConnector
Set the MIME type to use for formatting payload metadata on the established connection.
metadataMimeType(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
metadataPush(Mono<Payload>) - Method in interface io.rsocket.core.RSocketClient
Perform a Metadata Push via RSocket.metadataPush(Payload).
metadataPush(Mono<Payload>) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
metadataPush(Payload) - Method in interface io.rsocket.RSocket
Metadata-Push interaction model of RSocket.
metadataPush(Payload) - Method in class io.rsocket.util.RSocketProxy
 
MetadataPushFrameCodec - Class in io.rsocket.frame
 
MetadataPushFrameCodec() - Constructor for class io.rsocket.frame.MetadataPushFrameCodec
 
MimeTypeMetadataCodec - Class in io.rsocket.metadata
Provides support for encoding and decoding the per-stream MIME type to use for payload data.
MIN_USER_ALLOWED_ERROR_CODE - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
minor(int) - Static method in class io.rsocket.frame.VersionCodec
 
MissingLeaseException - Exception in io.rsocket.lease
 
MissingLeaseException(String) - Constructor for exception io.rsocket.lease.MissingLeaseException
 
MpscUnboundedArrayQueue<E> - Class in io.rsocket.internal.jctools.queues
An MPSC array queue which starts at initialCapacity and grows indefinitely in linked chunks of the initial size.
MpscUnboundedArrayQueue(int) - Constructor for class io.rsocket.internal.jctools.queues.MpscUnboundedArrayQueue
 

N

nativeFrameType(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
faster version of FrameHeaderCodec.frameType(ByteBuf) which does not replace PAYLOAD with synthetic type
now() - Static method in class io.rsocket.util.Clock
 
numberOfRequests() - Method in class io.rsocket.lease.Lease
Number of requests allowed by this lease.
NumberUtils - Class in io.rsocket.util
 
numRequests(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameCodec
 

O

offer(T) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
onCancel(int, FrameType) - Method in class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
onCancel(int, FrameType) - Method in interface io.rsocket.plugins.RequestInterceptor
Method which is being invoked once a successfully accepted request is cancelled.
onClose() - Method in interface io.rsocket.Closeable
Returns a Mono that terminates when the instance is terminated by any reason.
onClose - Variable in class io.rsocket.internal.BaseDuplexConnection
 
onClose() - Method in class io.rsocket.internal.BaseDuplexConnection
 
onClose() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
onClose() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
onClose() - Method in interface io.rsocket.RSocket
 
onClose() - Method in class io.rsocket.util.RSocketProxy
 
onComplete() - Method in class io.rsocket.internal.UnboundedProcessor
 
onComplete() - Method in class io.rsocket.resume.ClientRSocketSession
 
onComplete() - Method in class io.rsocket.resume.ServerRSocketSession
 
onError(Throwable) - Method in class io.rsocket.internal.UnboundedProcessor
 
onError(Throwable) - Method in class io.rsocket.resume.ClientRSocketSession
 
onError(Throwable) - Method in class io.rsocket.resume.ServerRSocketSession
 
onImpliedPosition(long) - Method in class io.rsocket.resume.ClientRSocketSession
 
onImpliedPosition(long) - Method in interface io.rsocket.resume.ResumeStateHolder
 
onImpliedPosition(long) - Method in class io.rsocket.resume.ServerRSocketSession
 
onNext(ByteBuf) - Method in class io.rsocket.internal.UnboundedProcessor
 
onNext(Tuple2<ByteBuf, DuplexConnection>) - Method in class io.rsocket.resume.ClientRSocketSession
 
onNext(Long) - Method in class io.rsocket.resume.ServerRSocketSession
 
onNextPrioritized(ByteBuf) - Method in class io.rsocket.internal.UnboundedProcessor
 
onReject(Throwable, FrameType, ByteBuf) - Method in class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
onReject(Throwable, FrameType, ByteBuf) - Method in interface io.rsocket.plugins.RequestInterceptor
Method which is being invoked on the request rejection.
onSendKeepAliveFrame(Consumer<ByteBuf>) - Method in class io.rsocket.keepalive.KeepAliveSupport
 
onStart(int, FrameType, ByteBuf) - Method in class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
onStart(int, FrameType, ByteBuf) - Method in interface io.rsocket.plugins.RequestInterceptor
Method which is being invoked on successful acceptance and start of a request.
onSubscribe(Subscription) - Method in class io.rsocket.internal.UnboundedProcessor
 
onSubscribe(Subscription) - Method in class io.rsocket.resume.ClientRSocketSession
 
onSubscribe(Subscription) - Method in class io.rsocket.resume.ServerRSocketSession
 
onTerminate(int, FrameType, Throwable) - Method in class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
onTerminate(int, FrameType, Throwable) - Method in interface io.rsocket.plugins.RequestInterceptor
Method which is being invoked once a successfully accepted request is terminated.
onTimeout(Consumer<KeepAliveSupport.KeepAlive>) - Method in class io.rsocket.keepalive.KeepAliveSupport
 

P

parentId() - Method in class io.rsocket.metadata.TracingMetadata
Returns the parent's TracingMetadata.spanId where zero implies absent.
Payload - Interface in io.rsocket
Payload of a Frame .
payloadDecoder(PayloadDecoder) - Method in class io.rsocket.core.RSocketConnector
Configure the PayloadDecoder used to create Payload's from incoming raw frame buffers.
payloadDecoder(PayloadDecoder) - Method in class io.rsocket.core.RSocketServer
Configure the PayloadDecoder used to create Payload's from incoming raw frame buffers.
PayloadDecoder - Interface in io.rsocket.frame.decoder
 
PayloadFrameCodec - Class in io.rsocket.frame
 
peek() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
pending() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
pending() - Method in interface io.rsocket.loadbalance.WeightedStats
 
poll() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class io.rsocket.internal.UnboundedProcessor
 
predictedLatency() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
predictedLatency() - Method in interface io.rsocket.loadbalance.WeightedStats
 

Q

QueueProgressIndicators - Interface in io.rsocket.internal.jctools.queues
This interface is provided for monitoring purposes only and is only available on queues where it is easy to provide it.

R

readBearerTokenAsCharArray(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read all the remaining bytes from the given ByteBuf
readCustomAuthType(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read up to 129 bytes from the given metadata in order to get the custom Auth Type
readPassword(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read all the remaining bytes from the given ByteBuf which represents user's password
readPasswordAsCharArray(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read all the remaining bytes from the given ByteBuf which represents user's password
readPayload(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read all remaining bytes from the given ByteBuf and return sliced representation of a payload
readUsername(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read up to 65537 bytes from the given ByteBuf where the first two bytes represent username length and the subsequent number of bytes equal to read length
readUsernameAsCharArray(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read up to 65537 bytes from the given ByteBuf where the first two bytes represent username length and the subsequent number of bytes equal to read length
readUtf8(ByteBuf, int) - Static method in class io.rsocket.util.CharByteBufUtil
 
readWellKnownAuthType(ByteBuf) - Static method in class io.rsocket.metadata.AuthMetadataCodec
Read first byte from the given metadata and tries to convert it's value to WellKnownAuthType.
receive() - Method in interface io.rsocket.DuplexConnection
Returns a stream of all Frames received on this connection.
receive(ByteBuf) - Method in interface io.rsocket.keepalive.KeepAliveFramesAcceptor
 
receive(ByteBuf) - Method in class io.rsocket.keepalive.KeepAliveSupport
 
receive() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
reconnect(Retry) - Method in class io.rsocket.core.RSocketConnector
When this is enabled, the connect methods of this class return a special Mono<RSocket> that maintains a single, shared RSocket for all subscribers:
refCnt() - Method in class io.rsocket.util.DefaultPayload
 
refCnt() - Method in class io.rsocket.util.EmptyPayload
 
REJECTED - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
REJECTED_RESUME - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
REJECTED_SETUP - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
RejectedException - Exception in io.rsocket.exceptions
Despite being a valid request, the Responder decided to reject it.
RejectedException(String) - Constructor for exception io.rsocket.exceptions.RejectedException
Constructs a new exception with the specified message.
RejectedException(String, Throwable) - Constructor for exception io.rsocket.exceptions.RejectedException
Constructs a new exception with the specified message and cause.
RejectedResumeException - Exception in io.rsocket.exceptions
The server rejected the resume, it can specify the reason in the payload.
RejectedResumeException(String) - Constructor for exception io.rsocket.exceptions.RejectedResumeException
Constructs a new exception with the specified message.
RejectedResumeException(String, Throwable) - Constructor for exception io.rsocket.exceptions.RejectedResumeException
Constructs a new exception with the specified message and cause.
RejectedSetupException - Exception in io.rsocket.exceptions
The server rejected the setup, it can specify the reason in the payload.
RejectedSetupException(String) - Constructor for exception io.rsocket.exceptions.RejectedSetupException
Constructs a new exception with the specified message.
RejectedSetupException(String, Throwable) - Constructor for exception io.rsocket.exceptions.RejectedSetupException
Constructs a new exception with the specified message and cause.
relaxedOffer(T) - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from a producer thread subject to the restrictions appropriate to the implementation.
relaxedPeek() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation.
relaxedPoll() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation.
release() - Method in class io.rsocket.util.DefaultPayload
 
release(int) - Method in class io.rsocket.util.DefaultPayload
 
release() - Method in class io.rsocket.util.EmptyPayload
 
release(int) - Method in class io.rsocket.util.EmptyPayload
 
releaseFrames(long) - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
releaseFrames(long) - Method in interface io.rsocket.resume.ResumableFramesStore
Release frames from tail of the store up to remote implied position
remoteAddress() - Method in interface io.rsocket.DuplexConnection
Return the remote address that this connection is connected to.
remoteAddress() - Method in class io.rsocket.resume.ResumableDuplexConnection
 
request(long) - Method in class io.rsocket.internal.UnboundedProcessor
 
request(long) - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
request(long) - Method in class io.rsocket.resume.ResumableDuplexConnection
 
requestChannel(Publisher<Payload>) - Method in interface io.rsocket.core.RSocketClient
Perform a Request-Channel interaction via RSocket.requestChannel(Publisher).
requestChannel(Publisher<Payload>) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
requestChannel(Publisher<Payload>) - Method in interface io.rsocket.RSocket
Request-Channel interaction model of RSocket.
requestChannel(Publisher<Payload>) - Method in class io.rsocket.util.RSocketProxy
 
RequestChannelFrameCodec - Class in io.rsocket.frame
 
RequestFireAndForgetFrameCodec - Class in io.rsocket.frame
 
requestFusion(int) - Method in class io.rsocket.internal.UnboundedProcessor
 
RequestInterceptor - Interface in io.rsocket.plugins
Class used to track the RSocket requests lifecycles.
requestN(ByteBuf) - Static method in class io.rsocket.frame.RequestNFrameCodec
 
RequestNFrameCodec - Class in io.rsocket.frame
 
requestResponse(Mono<Payload>) - Method in interface io.rsocket.core.RSocketClient
Perform a Request-Response interaction via RSocket.requestResponse(Payload).
requestResponse(Mono<Payload>) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
requestResponse(Payload) - Method in interface io.rsocket.RSocket
Request-Response interaction model of RSocket.
requestResponse(Payload) - Method in class io.rsocket.util.RSocketProxy
 
RequestResponseFrameCodec - Class in io.rsocket.frame
 
requestStream(Mono<Payload>) - Method in interface io.rsocket.core.RSocketClient
Perform a Request-Stream interaction via RSocket.requestStream(Payload).
requestStream(Mono<Payload>) - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
 
requestStream(Payload) - Method in interface io.rsocket.RSocket
Request-Stream interaction model of RSocket.
requestStream(Payload) - Method in class io.rsocket.util.RSocketProxy
 
RequestStreamFrameCodec - Class in io.rsocket.frame
 
requireNonNegative(int, String) - Static method in class io.rsocket.util.NumberUtils
Requires that an int is greater than or equal to zero.
requirePositive(long, String) - Static method in class io.rsocket.util.NumberUtils
Requires that a long is greater than zero.
requirePositive(int, String) - Static method in class io.rsocket.util.NumberUtils
Requires that an int is greater than zero.
requireUnsignedByte(int) - Static method in class io.rsocket.util.NumberUtils
Requires that an int can be represented as an unsigned byte.
requireUnsignedMedium(int) - Static method in class io.rsocket.util.NumberUtils
Requires that an int can be represented as an unsigned medium.
requireUnsignedShort(int) - Static method in class io.rsocket.util.NumberUtils
Requires that an int can be represented as an unsigned short.
ReservedMimeTypeEntry(ByteBuf, int) - Constructor for class io.rsocket.metadata.CompositeMetadata.ReservedMimeTypeEntry
 
respondFlag(ByteBuf) - Static method in class io.rsocket.frame.KeepAliveFrameCodec
 
ResumableDuplexConnection - Class in io.rsocket.resume
 
ResumableDuplexConnection(String, ByteBuf, DuplexConnection, ResumableFramesStore) - Constructor for class io.rsocket.resume.ResumableDuplexConnection
 
resumableFrameReceived(ByteBuf) - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
resumableFrameReceived(ByteBuf) - Method in interface io.rsocket.resume.ResumableFramesStore
Received resumable frame as defined by RSocket protocol.
ResumableFramesStore - Interface in io.rsocket.resume
Store for resumable frames
ResumableKeepAliveHandler(ResumableDuplexConnection, RSocketSession, ResumeStateHolder) - Constructor for class io.rsocket.keepalive.KeepAliveHandler.ResumableKeepAliveHandler
 
Resume - Class in io.rsocket.core
Simple holder of configuration settings for the RSocket Resume capability.
Resume() - Constructor for class io.rsocket.core.Resume
 
resume(Resume) - Method in class io.rsocket.core.RSocketConnector
Enables the Resume capability of the RSocket protocol where if the client gets disconnected, the connection is re-acquired and any interrupted streams are resumed automatically.
resume(Resume) - Method in class io.rsocket.core.RSocketServer
Enables the Resume capability of the RSocket protocol where if the client gets disconnected, the connection is re-acquired and any interrupted streams are transparently resumed.
resumeEnabled(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
ResumeFrameCodec - Class in io.rsocket.frame
 
ResumeFrameCodec() - Constructor for class io.rsocket.frame.ResumeFrameCodec
 
ResumeOkFrameCodec - Class in io.rsocket.frame
 
ResumeOkFrameCodec() - Constructor for class io.rsocket.frame.ResumeOkFrameCodec
 
resumeState(ResumeStateHolder) - Method in class io.rsocket.keepalive.KeepAliveSupport
 
ResumeStateHolder - Interface in io.rsocket.resume
 
resumeStream() - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
resumeStream() - Method in interface io.rsocket.resume.ResumableFramesStore
 
resumeToken() - Method in class io.rsocket.ConnectionSetupPayload
 
resumeToken() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
resumeToken(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
resumeToken() - Method in class io.rsocket.resume.ClientResume
 
resumeTokenLength(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
resumeWith(ByteBuf, DuplexConnection) - Method in class io.rsocket.resume.ServerRSocketSession
 
retain() - Method in class io.rsocket.ConnectionSetupPayload
 
retain(int) - Method in class io.rsocket.ConnectionSetupPayload
 
retain() - Method in interface io.rsocket.Payload
Increases the reference count by 1.
retain(int) - Method in interface io.rsocket.Payload
Increases the reference count by the specified increment.
retain() - Method in class io.rsocket.util.ByteBufPayload
 
retain(int) - Method in class io.rsocket.util.ByteBufPayload
 
retain() - Method in class io.rsocket.util.DefaultPayload
 
retain(int) - Method in class io.rsocket.util.DefaultPayload
 
retain() - Method in class io.rsocket.util.EmptyPayload
 
retain(int) - Method in class io.rsocket.util.EmptyPayload
 
retry(Retry) - Method in class io.rsocket.core.Resume
Configure the logic for reconnecting.
Retryable - Interface in io.rsocket.exceptions
Indicates that an exception is retryable.
roundRobinLoadbalanceStrategy() - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient.Builder
Configure RoundRobinLoadbalanceStrategy as the strategy to use to select targets.
RoundRobinLoadbalanceStrategy - Class in io.rsocket.loadbalance
Simple LoadbalanceStrategy that selects the RSocket to use in round-robin order.
RoundRobinLoadbalanceStrategy() - Constructor for class io.rsocket.loadbalance.RoundRobinLoadbalanceStrategy
 
RoutingMetadata - Class in io.rsocket.metadata
Routing Metadata extension from https://github.com/rsocket/rsocket/blob/master/Extensions/Routing.md
RoutingMetadata(ByteBuf) - Constructor for class io.rsocket.metadata.RoutingMetadata
 
RSocket - Interface in io.rsocket
A contract providing different interaction models for RSocket protocol.
RSocketClient - Interface in io.rsocket.core
Contract for performing RSocket requests.
RSocketConnector - Class in io.rsocket.core
The main class to use to establish a connection to an RSocket server.
RSocketErrorException - Exception in io.rsocket
Exception that represents an RSocket protocol error.
RSocketErrorException(int, String) - Constructor for exception io.rsocket.RSocketErrorException
Constructor with a protocol error code and a message.
RSocketErrorException(int, String, Throwable) - Constructor for exception io.rsocket.RSocketErrorException
RSocketInterceptor - Interface in io.rsocket.plugins
Contract to decorate an RSocket, providing a way to intercept interactions.
RSocketProxy - Class in io.rsocket.util
Wrapper/Proxy for a RSocket.
RSocketProxy(RSocket) - Constructor for class io.rsocket.util.RSocketProxy
 
RSocketServer - Class in io.rsocket.core
The main class for starting an RSocket server.
RSocketSession - Interface in io.rsocket.resume
 

S

save(ServerRSocketSession, ByteBuf) - Method in class io.rsocket.resume.SessionManager
 
saveFrames(Flux<ByteBuf>) - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
saveFrames(Flux<ByteBuf>) - Method in interface io.rsocket.resume.ResumableFramesStore
Save resumable frames for potential resumption
scanUnsafe(Scannable.Attr) - Method in class io.rsocket.internal.UnboundedProcessor
 
select(List<RSocket>) - Method in interface io.rsocket.loadbalance.LoadbalanceStrategy
Select an RSocket from the given non-empty list.
select(List<RSocket>) - Method in class io.rsocket.loadbalance.RoundRobinLoadbalanceStrategy
 
select(List<RSocket>) - Method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy
 
send() - Method in interface io.rsocket.lease.LeaseSender
 
sender(LeaseSender) - Method in class io.rsocket.core.LeaseSpec
 
sender - Variable in class io.rsocket.internal.BaseDuplexConnection
 
sendErrorAndClose(RSocketErrorException) - Method in interface io.rsocket.DuplexConnection
Send an error frame and after it is successfully sent, close the connection.
sendErrorAndClose(RSocketErrorException) - Method in class io.rsocket.resume.ResumableDuplexConnection
 
sendFrame(int, ByteBuf) - Method in interface io.rsocket.DuplexConnection
Delivers the given frame to the underlying transport connection.
sendFrame(int, ByteBuf) - Method in class io.rsocket.internal.BaseDuplexConnection
 
sendFrame(int, ByteBuf) - Method in class io.rsocket.resume.ResumableDuplexConnection
 
ServerRSocketSession - Class in io.rsocket.resume
 
ServerRSocketSession(ByteBuf, ResumableDuplexConnection, DuplexConnection, ResumableFramesStore, Duration, boolean) - Constructor for class io.rsocket.resume.ServerRSocketSession
 
ServerTransport<T extends Closeable> - Interface in io.rsocket.transport
A server contract for writing transports of RSocket.
ServerTransport.ConnectionAcceptor - Interface in io.rsocket.transport
A contract to accept a new DuplexConnection.
sessionDuration(Duration) - Method in class io.rsocket.core.Resume
The maximum time for a client to keep trying to reconnect.
sessionDuration() - Method in class io.rsocket.resume.ClientResume
 
SessionManager - Class in io.rsocket.resume
 
SessionManager() - Constructor for class io.rsocket.resume.SessionManager
 
setKeepAliveSupport(KeepAliveSupport) - Method in class io.rsocket.resume.ClientRSocketSession
 
setKeepAliveSupport(KeepAliveSupport) - Method in interface io.rsocket.resume.RSocketSession
 
setKeepAliveSupport(KeepAliveSupport) - Method in class io.rsocket.resume.ServerRSocketSession
 
SetupException - Exception in io.rsocket.exceptions
The root of the setup exception hierarchy.
SetupException(int, String, Throwable) - Constructor for exception io.rsocket.exceptions.SetupException
Constructs a new exception with the specified error code, message and cause.
SetupFrameCodec - Class in io.rsocket.frame
 
SetupFrameCodec() - Constructor for class io.rsocket.frame.SetupFrameCodec
 
setupPayload(Mono<Payload>) - Method in class io.rsocket.core.RSocketConnector
Provide a Mono from which to obtain the Payload for the initial SETUP frame.
setupPayload(Payload) - Method in class io.rsocket.core.RSocketConnector
Variant of RSocketConnector.setupPayload(Mono) that accepts a Payload instance.
size() - Static method in class io.rsocket.frame.FrameHeaderCodec
 
size() - Method in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
This method's accuracy is subject to concurrent modifications happening as the size is estimated and as such is a best effort rather than absolute value.
size() - Method in class io.rsocket.internal.UnboundedProcessor
 
sliceData() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
sliceData() - Method in interface io.rsocket.Payload
Returns the Payload data.
sliceData() - Method in class io.rsocket.util.ByteBufPayload
 
sliceData() - Method in class io.rsocket.util.DefaultPayload
 
sliceData() - Method in class io.rsocket.util.EmptyPayload
 
sliceMetadata() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
sliceMetadata() - Method in interface io.rsocket.Payload
Returns a slice Payload metadata.
sliceMetadata() - Method in class io.rsocket.util.ByteBufPayload
 
sliceMetadata() - Method in class io.rsocket.util.DefaultPayload
 
sliceMetadata() - Method in class io.rsocket.util.EmptyPayload
 
SocketAcceptor - Interface in io.rsocket
RSocket is a full duplex protocol where a client and server are identical in terms of both having the capability to initiate requests to their peer.
SocketAcceptorInterceptor - Interface in io.rsocket.plugins
Contract to decorate a SocketAcceptor, providing access to connection setup information and the ability to also decorate the sockets for requesting and responding.
source() - Method in interface io.rsocket.core.RSocketClient
Return the underlying source used to obtain a shared RSocket connection.
source() - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient
Return Mono that selects an RSocket from the underlying pool.
source - Variable in class io.rsocket.util.RSocketProxy
 
spanId() - Method in class io.rsocket.metadata.TracingMetadata
Unique 8-byte identifier of this span within a trace.
start(KeepAliveSupport, Consumer<ByteBuf>, Consumer<KeepAliveSupport.KeepAlive>) - Method in class io.rsocket.keepalive.KeepAliveHandler.DefaultKeepAliveHandler
 
start(KeepAliveSupport, Consumer<ByteBuf>, Consumer<KeepAliveSupport.KeepAlive>) - Method in class io.rsocket.keepalive.KeepAliveHandler.ResumableKeepAliveHandler
 
start(KeepAliveSupport, Consumer<ByteBuf>, Consumer<KeepAliveSupport.KeepAlive>) - Method in interface io.rsocket.keepalive.KeepAliveHandler
 
start() - Method in class io.rsocket.keepalive.KeepAliveSupport
 
start(ServerTransport.ConnectionAcceptor) - Method in interface io.rsocket.transport.ServerTransport
Start this server.
stop() - Method in class io.rsocket.keepalive.KeepAliveSupport
 
storeFactory(Function<? super ByteBuf, ? extends ResumableFramesStore>) - Method in class io.rsocket.core.Resume
Configure a factory to create the storage for buffering (or persisting) a window of frames that may need to be sent again to resume after a dropped connection.
stream() - Method in class io.rsocket.metadata.CompositeMetadata
Turn this CompositeMetadata into a sequential Stream.
stream() - Method in class io.rsocket.metadata.TaggingMetadata
 
streamId(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderCodec
 
streamTimeout(Duration) - Method in class io.rsocket.core.Resume
A timeout value to apply to the resumed session stream obtained from the store after a reconnect.
subscribe(CoreSubscriber<? super ByteBuf>) - Method in class io.rsocket.internal.UnboundedProcessor
 
subscribe(CoreSubscriber<? super ByteBuf>) - Method in class io.rsocket.resume.InMemoryResumableFramesStore
 
subscribe(CoreSubscriber<? super ByteBuf>) - Method in class io.rsocket.resume.ResumableDuplexConnection
 

T

TaggingMetadata - Class in io.rsocket.metadata
Tagging metadata from https://github.com/rsocket/rsocket/blob/master/Extensions/Routing.md
TaggingMetadata(String, ByteBuf) - Constructor for class io.rsocket.metadata.TaggingMetadata
 
TaggingMetadataCodec - Class in io.rsocket.metadata
A flyweight class that can be used to encode/decode tagging metadata information to/from ByteBuf.
TaggingMetadataCodec() - Constructor for class io.rsocket.metadata.TaggingMetadataCodec
 
timeToLiveInMillis() - Method in class io.rsocket.lease.Lease
Time to live for the given lease
token(Supplier<ByteBuf>) - Method in class io.rsocket.core.Resume
Customize the generation of the resume identification token used to resume.
token(ByteBuf) - Static method in class io.rsocket.frame.ResumeFrameCodec
 
toString(ByteBuf) - Static method in class io.rsocket.frame.FrameUtil
 
toString(int) - Static method in class io.rsocket.frame.VersionCodec
 
toString() - Method in class io.rsocket.lease.Lease
 
toString() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
toString() - Method in enum io.rsocket.metadata.WellKnownAuthType
 
toString() - Method in enum io.rsocket.metadata.WellKnownMimeType
 
toString() - Method in exception io.rsocket.RSocketErrorException
 
touch() - Method in class io.rsocket.ConnectionSetupPayload
 
touch() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
touch(Object) - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
touch() - Method in interface io.rsocket.Payload
Records the current access location of this object for debugging purposes.
touch(Object) - Method in interface io.rsocket.Payload
Records the current access location of this object with an additional arbitrary information for debugging purposes.
touch() - Method in class io.rsocket.util.ByteBufPayload
 
touch(Object) - Method in class io.rsocket.util.ByteBufPayload
 
touch() - Method in class io.rsocket.util.DefaultPayload
 
touch(Object) - Method in class io.rsocket.util.DefaultPayload
 
touch() - Method in class io.rsocket.util.EmptyPayload
 
touch(Object) - Method in class io.rsocket.util.EmptyPayload
 
traceId() - Method in class io.rsocket.metadata.TracingMetadata
Unique 8-byte identifier for a trace, set on all spans within it.
traceIdHigh() - Method in class io.rsocket.metadata.TracingMetadata
When non-zero, the trace containing this span uses 128-bit trace identifiers.
TracingMetadata - Class in io.rsocket.metadata
Represents decoded tracing metadata which is fully compatible with Zipkin B3 propagation
TracingMetadataCodec - Class in io.rsocket.metadata
Represents codes for tracing metadata which is fully compatible with Zipkin B3 propagation
TracingMetadataCodec() - Constructor for class io.rsocket.metadata.TracingMetadataCodec
 
TracingMetadataCodec.Flags - Enum in io.rsocket.metadata
 
TrackingLeaseSender - Interface in io.rsocket.lease
 
Transport - Interface in io.rsocket.transport
 
ttl(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameCodec
 

U

unbounded() - Static method in class io.rsocket.lease.Lease
 
unbounded(ByteBuf) - Static method in class io.rsocket.lease.Lease
 
UNBOUNDED_CAPACITY - Static variable in interface io.rsocket.internal.jctools.queues.MessagePassingQueue
 
UnboundedProcessor - Class in io.rsocket.internal
A Processor implementation that takes a custom queue and allows only a single subscriber.
UnboundedProcessor() - Constructor for class io.rsocket.internal.UnboundedProcessor
 
UnboundedProcessor(Runnable) - Constructor for class io.rsocket.internal.UnboundedProcessor
 
unit() - Static method in class io.rsocket.util.Clock
 
UNSUPPORTED_SETUP - Static variable in class io.rsocket.frame.ErrorFrameCodec
 
UnsupportedSetupException - Exception in io.rsocket.exceptions
Some (or all) of the parameters specified by the client are unsupported by the server.
UnsupportedSetupException(String) - Constructor for exception io.rsocket.exceptions.UnsupportedSetupException
Constructs a new exception with the specified message.
UnsupportedSetupException(String, Throwable) - Constructor for exception io.rsocket.exceptions.UnsupportedSetupException
Constructs a new exception with the specified message and cause.
utf8Bytes(char[]) - Static method in class io.rsocket.util.CharByteBufUtil
Returns the exact bytes length of UTF8 character sequence.
utf8Bytes(char[], int, int) - Static method in class io.rsocket.util.CharByteBufUtil
This method is producing the exact length according to CharByteBufUtil.writeUtf8(ByteBuf, char[], int, int).

V

valueOf(String) - Static method in enum io.rsocket.frame.FrameType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.rsocket.metadata.TracingMetadataCodec.Flags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.rsocket.metadata.WellKnownAuthType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.rsocket.metadata.WellKnownMimeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.rsocket.plugins.DuplexConnectionInterceptor.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.rsocket.frame.FrameType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.rsocket.metadata.TracingMetadataCodec.Flags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.rsocket.metadata.WellKnownAuthType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.rsocket.metadata.WellKnownMimeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.rsocket.plugins.DuplexConnectionInterceptor.Type
Returns an array containing the constants of this enum type, in the order they are declared.
version(ByteBuf) - Static method in class io.rsocket.frame.ResumeFrameCodec
 
version(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameCodec
 
VersionCodec - Class in io.rsocket.frame
 
VersionCodec() - Constructor for class io.rsocket.frame.VersionCodec
 

W

weightedAvailability() - Method in class io.rsocket.loadbalance.BaseWeightedStats
 
weightedAvailability() - Method in interface io.rsocket.loadbalance.WeightedStats
 
weightedLoadbalanceStrategy() - Method in class io.rsocket.loadbalance.LoadbalanceRSocketClient.Builder
Configure WeightedLoadbalanceStrategy as the strategy to use to select targets.
WeightedLoadbalanceStrategy - Class in io.rsocket.loadbalance
LoadbalanceStrategy that assigns a weight to each RSocket based on availability and usage statistics.
WeightedLoadbalanceStrategy.Builder - Class in io.rsocket.loadbalance
WeightedStats - Interface in io.rsocket.loadbalance
Contract to expose the stats required in WeightedLoadbalanceStrategy to calculate an algorithmic weight for an RSocket.
WeightedStatsRequestInterceptor - Class in io.rsocket.loadbalance
RequestInterceptor that hooks into request lifecycle and calls methods of the parent class to manage tracking state and expose WeightedStats.
WeightedStatsRequestInterceptor() - Constructor for class io.rsocket.loadbalance.WeightedStatsRequestInterceptor
 
weightedStatsResolver(Function<RSocket, WeightedStats>) - Method in class io.rsocket.loadbalance.WeightedLoadbalanceStrategy.Builder
Configure how the created WeightedLoadbalanceStrategy should find the stats for a given RSocket.
WellKnownAuthType - Enum in io.rsocket.metadata
Enumeration of Well Known Auth Types, as defined in the eponymous extension.
WellKnownMimeType - Enum in io.rsocket.metadata
Enumeration of Well Known Mime Types, as defined in the eponymous extension.
WellKnownMimeTypeEntry(ByteBuf, WellKnownMimeType) - Constructor for class io.rsocket.metadata.CompositeMetadata.WellKnownMimeTypeEntry
 
willClientHonorLease() - Method in class io.rsocket.ConnectionSetupPayload
 
willClientHonorLease() - Method in class io.rsocket.core.DefaultConnectionSetupPayload
 
with(RSocket) - Static method in interface io.rsocket.SocketAcceptor
Create a SocketAcceptor that handles requests with the given RSocket.
wrap(RSocket) - Method in interface io.rsocket.loadbalance.WeightedStats
Create a proxy for the given RSocket that attaches the stats contained in this instance and exposes them as WeightedStats.
writeUtf8(ByteBuf, char[]) - Static method in class io.rsocket.util.CharByteBufUtil
Encode a char[] in UTF-8 and write it into ByteBuf.
writeUtf8(ByteBuf, char[], int, int) - Static method in class io.rsocket.util.CharByteBufUtil
Equivalent to writeUtf8(buf, seq.subSequence(start, end), reserveBytes) but avoids subsequence object allocation if possible.

Z

ZERO_COPY - Static variable in interface io.rsocket.frame.decoder.PayloadDecoder
 
ZeroCopyPayloadDecoder - Class in io.rsocket.frame.decoder
Frame decoder that decodes a frame to a payload without copying.
ZeroCopyPayloadDecoder() - Constructor for class io.rsocket.frame.decoder.ZeroCopyPayloadDecoder
 
A B C D E F G H I K L M N O P Q R S T U V W Z 
Skip navigation links