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

A

AbstractionLeakingFrameUtils - Class in io.rsocket.util
 
AbstractRSocket - Class in io.rsocket
An abstract implementation of RSocket.
AbstractRSocket() - Constructor for class io.rsocket.AbstractRSocket
 
accept(ConnectionSetupPayload, RSocket) - Method in interface io.rsocket.SocketAcceptor
Accepts a new RSocket used to send requests to the peer and returns another RSocket that is used for accepting requests from the peer.
acceptor(Function<RSocket, RSocket>) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
acceptor(Supplier<Function<RSocket, RSocket>>) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
acceptor(SocketAcceptor) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
acceptor(Supplier<SocketAcceptor>) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
addClientPlugin(RSocketInterceptor) - Method in class io.rsocket.plugins.PluginRegistry
 
addClientPlugin(RSocketInterceptor) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
addClientPlugin(RSocketInterceptor) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
addConnectionPlugin(DuplexConnectionInterceptor) - Method in class io.rsocket.plugins.PluginRegistry
 
addConnectionPlugin(DuplexConnectionInterceptor) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
addConnectionPlugin(DuplexConnectionInterceptor) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
addServerPlugin(RSocketInterceptor) - Method in class io.rsocket.plugins.PluginRegistry
 
addServerPlugin(RSocketInterceptor) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
addServerPlugin(RSocketInterceptor) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
APPLICATION_ERROR - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
APPLICATION_ERROR - Static variable in class io.rsocket.framing.ErrorType
Application layer logic generating a Reactive Streams onError event.
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(DuplexConnection) - Method in interface io.rsocket.transport.ServerTransport.ConnectionAcceptor
Accept a new DuplexConnection and returns Publisher signifying the end of processing of the connection.
applyClient(RSocket) - Method in class io.rsocket.plugins.PluginRegistry
 
applyConnection(DuplexConnectionInterceptor.Type, DuplexConnection) - Method in class io.rsocket.plugins.PluginRegistry
 
applyServer(RSocket) - Method in class io.rsocket.plugins.PluginRegistry
 
asClientConnection() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
asServerConnection() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
asStreamZeroConnection() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
Availability - Interface in io.rsocket
 
availability() - Method in interface io.rsocket.Availability
 
availability() - Method in interface io.rsocket.DuplexConnection
 
availability() - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
availability() - Method in interface io.rsocket.RSocket
 
availability() - Method in class io.rsocket.util.RSocketProxy
 

B

buildClient(URI) - Method in interface io.rsocket.uri.UriHandler
Returns an implementation of ClientTransport unambiguously mapped to a URI, otherwise Optional.EMPTY.
buildServer(URI) - Method in interface io.rsocket.uri.UriHandler
Returns an implementation of ServerTransport unambiguously mapped to a URI, otherwise Optional.EMPTY.
ByteBufPayload - Class in io.rsocket.util
 
bytes(byte[]) - Static method in class io.rsocket.resume.ResumeToken
 

C

cancel() - Method in class io.rsocket.internal.LimitableRequestPublisher
 
cancel() - Method in class io.rsocket.internal.UnboundedProcessor
 
CANCELED - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
CANCELED - Static variable in class io.rsocket.framing.ErrorType
The Responder canceled the request but may have started processing it (similar to REJECTED but doesn't guarantee lack of side-effects).
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.
CancelFrame - Class in io.rsocket.framing
An RSocket CANCEL frame.
canHaveData() - Method in enum io.rsocket.framing.FrameType
Whether the frame type can have data.
canHaveMetadata() - Method in enum io.rsocket.framing.FrameType
Whether the frame type can have metadata
clear() - Method in class io.rsocket.internal.UnboundedProcessor
 
clientForUri(String) - Static method in class io.rsocket.uri.UriTransportRegistry
 
ClientRSocketFactory() - Constructor for class io.rsocket.RSocketFactory.ClientRSocketFactory
 
ClientServerInputMultiplexer - Class in io.rsocket.internal
DuplexConnection.receive() is a single stream on which the following type of frames arrive: Frames for streams initiated by the initiator of the connection (client).
ClientServerInputMultiplexer(DuplexConnection, PluginRegistry) - Constructor for class io.rsocket.internal.ClientServerInputMultiplexer
 
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
 
computeFrameHeaderLength(FrameType, Integer, int) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
computeFrameLength(int) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
computeFrameLength(int) - Static method in class io.rsocket.frame.KeepaliveFrameFlyweight
 
computeFrameLength(int) - Static method in class io.rsocket.frame.LeaseFrameFlyweight
 
computeFrameLength(FrameType, Integer, int) - Static method in class io.rsocket.frame.RequestFrameFlyweight
 
computeFrameLength() - Static method in class io.rsocket.frame.RequestNFrameFlyweight
 
computeFrameLength(int, String, String, int, int) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
connect() - Static method in class io.rsocket.RSocketFactory
Creates a factory that establishes client connections to other RSockets.
connect() - Method in interface io.rsocket.transport.ClientTransport
Returns a Publisher, every subscription to which returns a single DuplexConnection.
CONNECTION_CLOSE - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
CONNECTION_CLOSE - Static variable in class io.rsocket.framing.ErrorType
The connection is being terminated.
CONNECTION_ERROR - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
CONNECTION_ERROR - Static variable in class io.rsocket.framing.ErrorType
The connection is being terminated.
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
Exposed to server for determination of RequestHandler based on mime types and SETUP metadata/data
ConnectionSetupPayload() - Constructor for class io.rsocket.ConnectionSetupPayload
 
consumeFrame(Consumer<ByteBuf>) - Method in interface io.rsocket.framing.Frame
Exposes the Frame as a ByteBuf for consumption.
content() - Method in class io.rsocket.Frame
Return the content which is held by this Frame.
copy() - Method in class io.rsocket.Frame
Creates a deep copy of this Frame.
cost(Frame) - Method in interface io.rsocket.resume.ResumePositionCounter
 
create(Frame) - Static method in class io.rsocket.ConnectionSetupPayload
 
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(Payload) - Static method in class io.rsocket.util.DefaultPayload
 
createCancelFrame(ByteBuf) - Static method in class io.rsocket.framing.CancelFrame
Creates the CANCEL frame.
createCancelFrame(ByteBufAllocator) - Static method in class io.rsocket.framing.CancelFrame
Creates the CANCEL frame.
createErrorFrame(ByteBuf) - Static method in class io.rsocket.framing.ErrorFrame
Creates the ERROR frame.
createErrorFrame(ByteBufAllocator, int, String) - Static method in class io.rsocket.framing.ErrorFrame
Creates the ERROR frame.
createErrorFrame(ByteBufAllocator, int, ByteBuf) - Static method in class io.rsocket.framing.ErrorFrame
Creates the ERROR frame.
createExtensionFrame(ByteBuf) - Static method in class io.rsocket.framing.ExtensionFrame
Creates the EXT frame.
createExtensionFrame(ByteBufAllocator, boolean, int, String, String) - Static method in class io.rsocket.framing.ExtensionFrame
Creates the EXT frame.
createExtensionFrame(ByteBufAllocator, boolean, int, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.ExtensionFrame
Creates the EXT frame.
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in interface io.rsocket.framing.FragmentableFrame
Generates the fragment for this frame.
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.PayloadFrame
 
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestChannelFrame
 
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestFireAndForgetFrame
 
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestResponseFrame
 
createFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestStreamFrame
 
createFrame(ByteBuf) - Static method in class io.rsocket.framing.FrameFactory
Returns a strongly-type Frame created from a ByteBuf.
createFrameLengthFrame(ByteBuf) - Static method in class io.rsocket.framing.FrameLengthFrame
Creates the frame with a frame length.
createFrameLengthFrame(ByteBufAllocator, Frame) - Static method in class io.rsocket.framing.FrameLengthFrame
Creates the frame with a frame length.
createKeepaliveFrame(ByteBuf) - Static method in class io.rsocket.framing.KeepaliveFrame
Creates the KEEPALIVE frame.
createKeepaliveFrame(ByteBufAllocator, boolean, long, ByteBuf) - Static method in class io.rsocket.framing.KeepaliveFrame
Creates the KEEPALIVE frame.
createLeaseFrame(ByteBuf) - Static method in class io.rsocket.framing.LeaseFrame
Creates the LEASE frame.
createLeaseFrame(ByteBufAllocator, Duration, int, ByteBuf) - Static method in class io.rsocket.framing.LeaseFrame
Creates the LEASE frame.
createMetadataPushFrame(ByteBuf) - Static method in class io.rsocket.framing.MetadataPushFrame
Creates the METADATA_PUSH frame.
createMetadataPushFrame(ByteBufAllocator, String) - Static method in class io.rsocket.framing.MetadataPushFrame
Creates the METADATA_PUSH frame.
createMetadataPushFrame(ByteBufAllocator, ByteBuf) - Static method in class io.rsocket.framing.MetadataPushFrame
Creates the METADATA_PUSH frame.
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in interface io.rsocket.framing.FragmentableFrame
Generates the non-fragment for this frame.
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.PayloadFrame
 
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestChannelFrame
 
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestFireAndForgetFrame
 
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestResponseFrame
 
createNonFragment(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.rsocket.framing.RequestStreamFrame
 
createPayloadFrame(ByteBuf) - Static method in class io.rsocket.framing.PayloadFrame
Creates the PAYLOAD frame.
createPayloadFrame(ByteBufAllocator, boolean, boolean, String, String) - Static method in class io.rsocket.framing.PayloadFrame
Creates the PAYLOAD frame.
createPayloadFrame(ByteBufAllocator, boolean, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.PayloadFrame
Creates the PAYLOAD frame.
createRecycler(Function<Recycler.Handle<T>, T>) - Static method in class io.rsocket.util.RecyclerFactory
Creates a new Recycler.
createRequestChannelFrame(ByteBuf) - Static method in class io.rsocket.framing.RequestChannelFrame
Creates the REQUEST_CHANNEL frame.
createRequestChannelFrame(ByteBufAllocator, boolean, boolean, int, String, String) - Static method in class io.rsocket.framing.RequestChannelFrame
Creates the REQUEST_CHANNEL frame.
createRequestChannelFrame(ByteBufAllocator, boolean, boolean, int, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.RequestChannelFrame
Creates the REQUEST_CHANNEL frame.
createRequestFireAndForgetFrame(ByteBuf) - Static method in class io.rsocket.framing.RequestFireAndForgetFrame
Creates the REQUEST_FNF frame.
createRequestFireAndForgetFrame(ByteBufAllocator, boolean, String, String) - Static method in class io.rsocket.framing.RequestFireAndForgetFrame
Creates the REQUEST_FNF frame.
createRequestFireAndForgetFrame(ByteBufAllocator, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.RequestFireAndForgetFrame
Creates the REQUEST_FNF frame.
createRequestNFrame(ByteBuf) - Static method in class io.rsocket.framing.RequestNFrame
Creates the REQUEST_N frame.
createRequestNFrame(ByteBufAllocator, int) - Static method in class io.rsocket.framing.RequestNFrame
Creates the REQUEST_N frame.
createRequestResponseFrame(ByteBuf) - Static method in class io.rsocket.framing.RequestResponseFrame
Creates the REQUEST_RESPONSE frame.
createRequestResponseFrame(ByteBufAllocator, boolean, String, String) - Static method in class io.rsocket.framing.RequestResponseFrame
Creates the REQUEST_RESPONSE frame.
createRequestResponseFrame(ByteBufAllocator, boolean, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.RequestResponseFrame
Creates the REQUEST_RESPONSE frame.
createRequestStreamFrame(ByteBuf) - Static method in class io.rsocket.framing.RequestStreamFrame
Creates the REQUEST_STREAM frame.
createRequestStreamFrame(ByteBufAllocator, boolean, int, String, String) - Static method in class io.rsocket.framing.RequestStreamFrame
Creates the REQUEST_STREAM frame.
createRequestStreamFrame(ByteBufAllocator, boolean, int, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.RequestStreamFrame
Creates the REQUEST_STREAM frame.
createResumeFrame(ByteBufAllocator, String, long, long) - Static method in class io.rsocket.framing.ResumeFrame
Creates the RESUME frame.
createResumeFrame(ByteBufAllocator, ByteBuf, long, long) - Static method in class io.rsocket.framing.ResumeFrame
Creates the RESUME frame.
createResumeFrame(ByteBuf) - Static method in class io.rsocket.framing.ResumeFrame
Creates the RESUME frame.
createResumeFrame(ByteBufAllocator, int, int, ByteBuf, long, long) - Static method in class io.rsocket.framing.ResumeFrame
Creates the RESUME frame.
createResumeOkFrame(ByteBuf) - Static method in class io.rsocket.framing.ResumeOkFrame
Creates the RESUME_OK frame.
createResumeOkFrame(ByteBufAllocator, long) - Static method in class io.rsocket.framing.ResumeOkFrame
Creates the RESUME_OK frame.
createSetupFrame(ByteBuf) - Static method in class io.rsocket.framing.SetupFrame
Creates the SETUP frame.
createSetupFrame(ByteBufAllocator, boolean, Duration, Duration, String, String, String, String, String) - Static method in class io.rsocket.framing.SetupFrame
Creates the SETUP frame.
createSetupFrame(ByteBufAllocator, boolean, Duration, Duration, ByteBuf, String, String, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.SetupFrame
Creates the SETUP frame.
createSetupFrame(ByteBufAllocator, boolean, int, int, Duration, Duration, ByteBuf, String, String, ByteBuf, ByteBuf) - Static method in class io.rsocket.framing.SetupFrame
Creates the SETUP frame.
createStreamIdFrame(ByteBuf) - Static method in class io.rsocket.framing.StreamIdFrame
Creates the frame with a stream id.
createStreamIdFrame(ByteBufAllocator, int, Frame) - Static method in class io.rsocket.framing.StreamIdFrame
Creates the frame with a stream id.
CURRENT_VERSION - Static variable in class io.rsocket.frame.SetupFrameFlyweight
 
currentContext() - Method in class io.rsocket.internal.UnboundedProcessor
 

D

DataFrame - Interface in io.rsocket.framing
An RSocket frame that only contains data.
dataLength(ByteBuf, FrameType) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
dataMimeType() - Method in class io.rsocket.ConnectionSetupPayload
 
dataMimeType(Frame) - Static method in class io.rsocket.Frame.Setup
 
dataMimeType(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
dataMimeType(String) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
dataOffset(ByteBuf, FrameType, int) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
deallocate() - Method in class io.rsocket.util.ByteBufPayload
 
DefaultPayload - Class in io.rsocket.util
An implementation of Payload.
defaultPlugins() - Static method in class io.rsocket.plugins.Plugins
 
DisposableUtils - Class in io.rsocket.util
Utilities for working with the Disposable type.
dispose() - Method in class io.rsocket.AbstractRSocket
 
dispose() - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
dispose() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
dispose() - Method in class io.rsocket.util.RSocketProxy
 
disposeQuietly(Disposable...) - Static method in class io.rsocket.util.DisposableUtils
Calls the Disposable.dispose() method if the instance is not null.
downstreamCount() - Method in class io.rsocket.internal.UnboundedProcessor
 
drain() - Method in class io.rsocket.internal.UnboundedProcessor
 
DuplexConnection - Interface in io.rsocket
Represents a connection with input/output that the protocol uses.
DuplexConnectionInterceptor - Interface in io.rsocket.plugins
 
DuplexConnectionInterceptor.Type - Enum in io.rsocket.plugins
 
duplicate() - Method in class io.rsocket.Frame
Duplicates this Frame.

E

elapsedSince(long) - Static method in class io.rsocket.util.Clock
 
EMPTY_BUFFER - Static variable in class io.rsocket.util.DefaultPayload
 
EmptyPayload - Class in io.rsocket.util
 
encode(ByteBuf, int, int, ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
encode(ByteBuf, int, int, FrameType, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
encode(ByteBuf, int, ByteBuf) - Static method in class io.rsocket.frame.KeepaliveFrameFlyweight
 
encode(ByteBuf, int, int, ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameFlyweight
 
encode(ByteBuf, int, int, FrameType, int, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestFrameFlyweight
 
encode(ByteBuf, int, int, FrameType, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.RequestFrameFlyweight
 
encode(ByteBuf, int, int) - Static method in class io.rsocket.frame.RequestNFrameFlyweight
 
encode(ByteBuf, int, int, int, String, String, ByteBuf, ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
encode(int, int) - Static method in class io.rsocket.frame.VersionFlyweight
 
encodeData(ByteBuf, int, ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
encodeFrameHeader(ByteBuf, int, int, FrameType, int) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
encodeLength(ByteBuf, int, int) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
encodeMetadata(ByteBuf, FrameType, int, ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
ensureFrameType(FrameType, Frame) - Static method in class io.rsocket.Frame
 
equals(Object) - Method in class io.rsocket.Frame
 
equals(Object) - Method in class io.rsocket.resume.ResumeToken
 
errorCode() - Method in exception io.rsocket.exceptions.ApplicationErrorException
 
errorCode() - Method in exception io.rsocket.exceptions.CanceledException
 
errorCode() - Method in exception io.rsocket.exceptions.ConnectionCloseException
 
errorCode() - Method in exception io.rsocket.exceptions.ConnectionErrorException
 
errorCode() - Method in exception io.rsocket.exceptions.InvalidException
 
errorCode() - Method in exception io.rsocket.exceptions.InvalidSetupException
 
errorCode() - Method in exception io.rsocket.exceptions.RejectedException
 
errorCode() - Method in exception io.rsocket.exceptions.RejectedResumeException
 
errorCode() - Method in exception io.rsocket.exceptions.RejectedSetupException
 
errorCode() - Method in exception io.rsocket.exceptions.RSocketException
Returns the RSocket error code represented by this exception
errorCode() - Method in exception io.rsocket.exceptions.UnsupportedSetupException
 
errorCode(Frame) - Static method in class io.rsocket.Frame.Error
 
errorCode(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
errorCodeFromException(Throwable) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
errorConsumer(Consumer<Throwable>) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
errorConsumer(Consumer<Throwable>) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
ErrorFrame - Class in io.rsocket.framing
An RSocket ERROR frame.
ErrorFrameFlyweight - Class in io.rsocket.frame
 
ErrorType - Class in io.rsocket.framing
The types of Error that can be set.
Exceptions - Class in io.rsocket.exceptions
Utility class that generates an exception from a frame.
expiry() - Method in interface io.rsocket.lease.Lease
Absolute time since epoch at which this lease will expire.
expiry() - Method in class io.rsocket.lease.LeaseImpl
 
ExtensionFrame - Class in io.rsocket.framing
An RSocket EXT frame.

F

fireAndForget(Payload) - Method in class io.rsocket.AbstractRSocket
 
fireAndForget(Payload) - Method in interface io.rsocket.RSocket
Fire and Forget interaction model of RSocket.
fireAndForget(Payload) - Method in class io.rsocket.util.RSocketProxy
 
flags() - Method in class io.rsocket.Frame
Return the flags field for the frame
flags(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
FLAGS_C - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
(C)omplete: bit to indicate stream completion (Subscriber.onComplete())
FLAGS_F - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
(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.FrameHeaderFlyweight
(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.KeepaliveFrameFlyweight
(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.FrameHeaderFlyweight
(M)etadata flag: a value of 1 indicates the frame contains metadata
FLAGS_N - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
(N)ext: bit to indicate payload or metadata present (Subscriber.onNext(Object))
FLAGS_RESUME_ENABLE - Static variable in class io.rsocket.frame.SetupFrameFlyweight
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.SetupFrameFlyweight
A flag used to indicate that the client will honor LEASE sent by the server
fragment(int) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
fragment(int) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
FragmentableFrame - Interface in io.rsocket.framing
An RSocket frame that is fragmentable
FragmentationDuplexConnection - Class in io.rsocket.fragmentation
A DuplexConnection implementation that fragments and reassembles Frames.
FragmentationDuplexConnection(DuplexConnection, int) - Constructor for class io.rsocket.fragmentation.FragmentationDuplexConnection
Creates a new instance.
FragmentationDuplexConnection(ByteBufAllocator, DuplexConnection, int) - Constructor for class io.rsocket.fragmentation.FragmentationDuplexConnection
Creates a new instance.
Frame - Class in io.rsocket
Represents a Frame sent over a DuplexConnection.
Frame - Interface in io.rsocket.framing
An RSocket frame.
Frame.Cancel - Class in io.rsocket
 
Frame.Error - Class in io.rsocket
 
Frame.Keepalive - Class in io.rsocket
 
Frame.Lease - Class in io.rsocket
 
Frame.PayloadFrame - Class in io.rsocket
 
Frame.Request - Class in io.rsocket
 
Frame.RequestN - Class in io.rsocket
 
Frame.Setup - Class in io.rsocket
 
FRAME_HEADER_LENGTH - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
 
FRAME_LENGTH_MASK - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
 
FRAME_LENGTH_SIZE - Static variable in class io.rsocket.frame.FrameHeaderFlyweight
 
FRAME_TYPE_SHIFT - Static variable in interface io.rsocket.framing.Frame
The shift length for the frame type.
frameDecoder(Function<Frame, ? extends Payload>) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
frameDecoder(Function<Frame, ? extends Payload>) - Method in class io.rsocket.RSocketFactory.ServerRSocketFactory
 
FrameFactory - Class in io.rsocket.framing
A factory for creating RSocket frames from ByteBufs.
FrameHeaderFlyweight - Class in io.rsocket.frame
Per connection frame flyweight.
frameLength(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
FrameLengthFrame - Class in io.rsocket.framing
An RSocket frame with a frame length.
frames() - Static method in interface io.rsocket.resume.ResumePositionCounter
 
frameType(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
FrameType - Enum in io.rsocket.framing
Types of Frame that can be sent.
from(Frame) - Static method in class io.rsocket.exceptions.Exceptions
Create a RSocketException from a Frame that matches the error code it contains.
from(int) - Static method in class io.rsocket.Frame.Cancel
 
from(int, Throwable, ByteBuf) - Static method in class io.rsocket.Frame.Error
 
from(int, Throwable) - Static method in class io.rsocket.Frame.Error
 
from(ByteBuf) - Static method in class io.rsocket.Frame
Acquire a free Frame backed by given ByteBuf
from(ByteBuf, boolean) - Static method in class io.rsocket.Frame.Keepalive
 
from(int, int, ByteBuf) - Static method in class io.rsocket.Frame.Lease
 
from(int, FrameType) - Static method in class io.rsocket.Frame.PayloadFrame
 
from(int, FrameType, Payload) - Static method in class io.rsocket.Frame.PayloadFrame
 
from(int, FrameType, Payload, int) - Static method in class io.rsocket.Frame.PayloadFrame
 
from(int, FrameType, ByteBuf, ByteBuf, int) - Static method in class io.rsocket.Frame.PayloadFrame
 
from(int, FrameType, Payload, long) - Static method in class io.rsocket.Frame.Request
 
from(int, FrameType, Payload, int) - Static method in class io.rsocket.Frame.Request
 
from(int, FrameType, int) - Static method in class io.rsocket.Frame.Request
 
from(int, FrameType, ByteBuf, ByteBuf, int, int) - Static method in class io.rsocket.Frame.Request
 
from(int, long) - Static method in class io.rsocket.Frame.RequestN
 
from(int, int) - Static method in class io.rsocket.Frame.RequestN
 
from(int, int, int, String, String, Payload) - Static method in class io.rsocket.Frame.Setup
 
fromAbstractionLeakingFrame(Frame) - Static method in class io.rsocket.util.AbstractionLeakingFrameUtils
Returns a Tuple2 of the stream id, and the frame.
fromEncodedType(int) - Static method in enum io.rsocket.framing.FrameType
Returns the FrameType that matches the specified encodedType.
fromServices() - Static method in class io.rsocket.uri.UriTransportRegistry
 

G

generate() - Static method in class io.rsocket.resume.ResumeToken
 
getAllowedRequests() - Method in interface io.rsocket.lease.Lease
Number of requests allowed by this lease.
getAllowedRequests() - Method in class io.rsocket.lease.LeaseImpl
 
getBufferSize() - Method in class io.rsocket.internal.UnboundedProcessor
 
getCurrentPosition() - Method in class io.rsocket.resume.ResumeCache
 
getData() - Method in interface io.rsocket.Payload
 
getData() - Method in class io.rsocket.util.DefaultPayload
 
getDataAsUtf8() - Method in interface io.rsocket.framing.DataFrame
Returns the data as a UTF-8 String.
getDataLength() - Method in interface io.rsocket.framing.DataFrame
Returns the length of the data in the frame.
getDataMimeType() - Method in class io.rsocket.framing.SetupFrame
Returns the data MIME-type, decoded at StandardCharsets.UTF_8.
getDataMimeType(Charset) - Method in class io.rsocket.framing.SetupFrame
Returns the data MIME-type.
getDataUtf8() - Method in interface io.rsocket.Payload
 
getEarliestResendPosition() - Method in class io.rsocket.resume.ResumeCache
 
getEncodedType() - Method in enum io.rsocket.framing.FrameType
Returns the encoded type.
getError() - Method in class io.rsocket.internal.UnboundedProcessor
 
getErrorCode() - Method in class io.rsocket.framing.ErrorFrame
Returns the error code.
getExtendedType() - Method in class io.rsocket.framing.ExtensionFrame
Returns the extended type.
getFirstAvailableClientPosition() - Method in class io.rsocket.framing.ResumeFrame
Returns the first available client position.
getFlags() - Method in class io.rsocket.ConnectionSetupPayload
 
getFlags(Frame) - Static method in class io.rsocket.Frame.Setup
 
getFrameLength() - Method in class io.rsocket.framing.FrameLengthFrame
Returns the frame length.
getFrameType() - Method in interface io.rsocket.framing.Frame
Returns the FrameType.
getInitialRequestN() - Method in class io.rsocket.framing.RequestChannelFrame
Returns the initial requestN.
getInitialRequestN() - Method in class io.rsocket.framing.RequestStreamFrame
Returns the initial requestN.
getKeepAliveInterval() - Method in class io.rsocket.framing.SetupFrame
Returns the keep alive interval.
getLastReceivedClientPosition() - Method in class io.rsocket.framing.ResumeOkFrame
Returns the last received client position.
getLastReceivedPosition() - Method in class io.rsocket.framing.KeepaliveFrame
Returns the last received position.
getLastReceivedServerPosition() - Method in class io.rsocket.framing.ResumeFrame
Returns the last received server position.
getMajorVersion() - Method in class io.rsocket.framing.ResumeFrame
Returns the major version of the protocol.
getMajorVersion() - Method in class io.rsocket.framing.SetupFrame
Returns the major version of the protocol.
getMaxLifetime() - Method in class io.rsocket.framing.SetupFrame
Returns the max lifetime.
getMetadata() - Method in interface io.rsocket.lease.Lease
Metadata for the lease.
getMetadata() - Method in class io.rsocket.lease.LeaseImpl
 
getMetadata() - Method in interface io.rsocket.Payload
 
getMetadata() - Method in class io.rsocket.util.DefaultPayload
 
getMetadataAsUtf8() - Method in interface io.rsocket.framing.MetadataFrame
Returns the metadata as a UTF-8 String.
getMetadataLength() - Method in interface io.rsocket.framing.MetadataFrame
Returns the length of the metadata in the frame.
getMetadataMimeType() - Method in class io.rsocket.framing.SetupFrame
Returns the metadata MIME-type, decoded at StandardCharsets.UTF_8.
getMetadataMimeType(Charset) - Method in class io.rsocket.framing.SetupFrame
Returns the metadata MIME-type.
getMetadataUtf8() - Method in interface io.rsocket.Payload
 
getMinorVersion() - Method in class io.rsocket.framing.ResumeFrame
Returns the minor version of the protocol.
getMinorVersion() - Method in class io.rsocket.framing.SetupFrame
Returns the minor version of the protocol.
getNumberOfRequests() - Method in class io.rsocket.framing.LeaseFrame
Returns the number of requests
getPrefetch() - Method in class io.rsocket.internal.UnboundedProcessor
 
getRemotePosition() - Method in class io.rsocket.resume.ResumeCache
 
getResumeIdentificationTokenAsUtf8() - Method in class io.rsocket.framing.ResumeFrame
Returns the resume identification token as a UTF-8 String.
getResumeIdentificationTokenAsUtf8() - Method in class io.rsocket.framing.SetupFrame
Returns the resume identification token as a UTF-8 String.
getStreamId() - Method in class io.rsocket.Frame
Return frame stream identifier
getStreamId() - Method in class io.rsocket.framing.StreamIdFrame
Returns the stream id.
getTimeToLive() - Method in class io.rsocket.framing.LeaseFrame
Returns the time to live.
getTtl() - Method in interface io.rsocket.lease.Lease
Number of seconds that this lease is valid from the time it is received.
getTtl() - Method in class io.rsocket.lease.LeaseImpl
 
getType() - Method in class io.rsocket.Frame
Return frame FrameType
getUnsafeData() - Method in interface io.rsocket.framing.DataFrame
Returns the data directly.
getUnsafeData() - Method in class io.rsocket.framing.ErrorFrame
 
getUnsafeData() - Method in class io.rsocket.framing.ExtensionFrame
 
getUnsafeData() - Method in class io.rsocket.framing.KeepaliveFrame
 
getUnsafeData() - Method in class io.rsocket.framing.PayloadFrame
 
getUnsafeData() - Method in class io.rsocket.framing.RequestChannelFrame
 
getUnsafeData() - Method in class io.rsocket.framing.RequestFireAndForgetFrame
 
getUnsafeData() - Method in class io.rsocket.framing.RequestResponseFrame
 
getUnsafeData() - Method in class io.rsocket.framing.RequestStreamFrame
 
getUnsafeData() - Method in class io.rsocket.framing.SetupFrame
 
getUnsafeFrame() - Method in interface io.rsocket.framing.Frame
Returns the frame directly.
getUnsafeFrameWithoutFrameLength() - Method in class io.rsocket.framing.FrameLengthFrame
Returns the frame without frame length directly.
getUnsafeFrameWithoutStreamId() - Method in class io.rsocket.framing.StreamIdFrame
Returns the frame without stream id directly.
getUnsafeMetadata() - Method in class io.rsocket.framing.ExtensionFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.LeaseFrame
 
getUnsafeMetadata() - Method in interface io.rsocket.framing.MetadataFrame
Returns the metadata directly.
getUnsafeMetadata() - Method in class io.rsocket.framing.MetadataPushFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.PayloadFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.RequestChannelFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.RequestFireAndForgetFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.RequestResponseFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.RequestStreamFrame
 
getUnsafeMetadata() - Method in class io.rsocket.framing.SetupFrame
 
getUnsafeMetadataAsUtf8() - Method in interface io.rsocket.framing.MetadataFrame
Returns the metadata as a UTF-8 String.
getUnsafeMetadataLength() - Method in interface io.rsocket.framing.MetadataFrame
Returns the length of the metadata in the frame directly.
getUnsafeResumeIdentificationToken() - Method in class io.rsocket.framing.ResumeFrame
Returns the resume identification token directly.
getUnsafeResumeIdentificationToken() - Method in class io.rsocket.framing.SetupFrame
Returns the resume identification token directly.
getUnsafeResumeIdentificationTokenAsUtf8() - Method in class io.rsocket.framing.SetupFrame
Returns the resume identification token as a UTF-8 String.

H

hasDownstreams() - Method in class io.rsocket.internal.UnboundedProcessor
 
hashCode() - Method in class io.rsocket.Frame
 
hashCode() - Method in class io.rsocket.resume.ResumeToken
 
hasInitialRequestN() - Method in enum io.rsocket.framing.FrameType
Whether the frame type starts with an initial requestN.
hasMetadata() - Method in class io.rsocket.ConnectionSetupPayload
 
hasMetadata() - Method in class io.rsocket.Frame
 
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
 
hasMetadataLengthField(FrameType) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
hasRespondFlag(Frame) - Static method in class io.rsocket.Frame.Keepalive
 

I

increaseRequestLimit(long) - Method in class io.rsocket.internal.LimitableRequestPublisher
 
initialRequestN(Frame) - Static method in class io.rsocket.Frame.Request
 
initialRequestN(ByteBuf) - Static method in class io.rsocket.frame.RequestFrameFlyweight
 
INSTANCE - Static variable in class io.rsocket.util.EmptyPayload
 
interceptClient(RSocketInterceptor) - Static method in class io.rsocket.plugins.Plugins
 
interceptConnection(DuplexConnectionInterceptor) - Static method in class io.rsocket.plugins.Plugins
 
interceptServer(RSocketInterceptor) - Static method in class io.rsocket.plugins.Plugins
 
INVALID - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
INVALID - Static variable in class io.rsocket.framing.ErrorType
The request is invalid.
INVALID_SETUP - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
INVALID_SETUP - Static variable in class io.rsocket.framing.ErrorType
The Setup frame is invalid for the server (it could be that the client is too recent for the old server).
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
 
io.rsocket.exceptions - package io.rsocket.exceptions
The hierarchy of exceptions that can be returned by the API
io.rsocket.fragmentation - package io.rsocket.fragmentation
Support for frame fragmentation and reassembly.
io.rsocket.frame - package io.rsocket.frame
 
io.rsocket.framing - package io.rsocket.framing
Protocol framing types
io.rsocket.internal - package io.rsocket.internal
Internal package and must not be used outside this project.
io.rsocket.lease - package io.rsocket.lease
 
io.rsocket.plugins - package io.rsocket.plugins
 
io.rsocket.resume - package io.rsocket.resume
 
io.rsocket.transport - package io.rsocket.transport
 
io.rsocket.uri - package io.rsocket.uri
 
io.rsocket.util - package io.rsocket.util
 
isCompleteFlagSet() - Method in class io.rsocket.framing.PayloadFrame
Returns whether the Complete flag is set.
isCompleteFlagSet() - Method in class io.rsocket.framing.RequestChannelFrame
Returns whether the Complete flag is set.
isDisposed() - Method in class io.rsocket.AbstractRSocket
 
isDisposed() - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
isDisposed() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
isDisposed() - Method in class io.rsocket.internal.UnboundedProcessor
 
isDisposed() - Method in class io.rsocket.util.RSocketProxy
 
isEmpty() - Method in class io.rsocket.internal.UnboundedProcessor
 
isExpired() - Method in interface io.rsocket.lease.Lease
Checks if the lease is expired now.
isExpired(long) - Method in interface io.rsocket.lease.Lease
Checks if the lease is expired for the passed now.
isFlagSet(int, int) - Static method in class io.rsocket.Frame
 
isFollowsFlagSet() - Method in interface io.rsocket.framing.FragmentableFrame
Returns whether the Follows flag is set.
isFragmentable() - Method in enum io.rsocket.framing.FrameType
Whether the frame type is fragmentable.
isIgnoreFlagSet() - Method in class io.rsocket.framing.ExtensionFrame
Returns whether the Ignore flag is set.
isLeaseFlagSet() - Method in class io.rsocket.framing.SetupFrame
Returns whether the lease flag is set.
isNextFlagSet() - Method in class io.rsocket.framing.PayloadFrame
Returns whether the Next flag is set.
isRequestChannelComplete(Frame) - Static method in class io.rsocket.Frame.Request
 
isRequestType() - Method in enum io.rsocket.framing.FrameType
Whether the frame type is a request type.
isRespondFlagSet() - Method in class io.rsocket.framing.KeepaliveFrame
Returns whether the respond flag is set.
isTerminated() - Method in class io.rsocket.internal.UnboundedProcessor
 
isTracked(FrameType) - Static method in class io.rsocket.resume.ResumeUtil
 
isTracked(Frame) - Static method in class io.rsocket.resume.ResumeUtil
 

K

keepAlive() - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
keepAlive(Duration, Duration, int) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
keepAliveAckTimeout(Duration) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
KeepaliveFrame - Class in io.rsocket.framing
An RSocket KEEPALIVE frame.
KeepaliveFrameFlyweight - Class in io.rsocket.frame
 
keepaliveInterval(Frame) - Static method in class io.rsocket.Frame.Setup
 
keepaliveInterval(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
keepAliveMissedAcks(int) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
keepAliveTickPeriod(Duration) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 

L

Lease - Interface in io.rsocket.lease
A contract for RSocket lease, which is sent by a request acceptor and is time bound.
LeaseFrame - Class in io.rsocket.framing
An RSocket LEASE frame.
LeaseFrameFlyweight - Class in io.rsocket.frame
 
LeaseImpl - Class in io.rsocket.lease
 
LeaseImpl(int, int) - Constructor for class io.rsocket.lease.LeaseImpl
 
LeaseImpl(int, int, ByteBuffer) - Constructor for class io.rsocket.lease.LeaseImpl
 
LeaseImpl(Frame) - Constructor for class io.rsocket.lease.LeaseImpl
 
LimitableRequestPublisher<T> - Class in io.rsocket.internal
 
loadServices() - Static method in interface io.rsocket.uri.UriHandler
Load all registered instances of UriHandler.

M

major(int) - Static method in class io.rsocket.frame.VersionFlyweight
 
mapData(Function<ByteBuf, T>) - Method in interface io.rsocket.framing.DataFrame
Exposes the data for mapping to a different type.
mapFrame(Function<ByteBuf, T>) - Method in interface io.rsocket.framing.Frame
Exposes the Frame as a ByteBuf for mapping to a different type.
mapFrameWithoutFrameLength(Function<ByteBuf, T>) - Method in class io.rsocket.framing.FrameLengthFrame
Exposes the Frame without the frame length as a ByteBuf for mapping to a different type.
mapFrameWithoutStreamId(Function<ByteBuf, T>) - Method in class io.rsocket.framing.StreamIdFrame
Exposes the Frame without the stream id as a ByteBuf for mapping to a different type.
mapMetadata(Function<ByteBuf, T>) - Method in interface io.rsocket.framing.MetadataFrame
Exposes the metadata for mapping to a different type.
mapResumeIdentificationToken(Function<ByteBuf, T>) - Method in class io.rsocket.framing.ResumeFrame
Exposes the resume identification token for mapping to a different type.
mapResumeIdentificationToken(Function<ByteBuf, T>) - Method in class io.rsocket.framing.SetupFrame
Exposes the resume identification token for mapping to a different type.
maxLifetime(Frame) - Static method in class io.rsocket.Frame.Setup
 
maxLifetime(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
MEDIUM_BYTES - Static variable in class io.rsocket.util.NumberUtils
The size of a medium in bytes.
message(Frame) - Static method in class io.rsocket.Frame.Error
 
message(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
MetadataAndDataFrame - Interface in io.rsocket.framing
An RSocket frame that only metadata and data.
MetadataFrame - Interface in io.rsocket.framing
An RSocket frame that only contains metadata.
metadataLength(ByteBuf, FrameType, int) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
metadataMimeType() - Method in class io.rsocket.ConnectionSetupPayload
 
metadataMimeType(Frame) - Static method in class io.rsocket.Frame.Setup
 
metadataMimeType(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
metadataMimeType(String) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
metadataOffset(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
metadataPush(Payload) - Method in class io.rsocket.AbstractRSocket
 
metadataPush(Payload) - Method in interface io.rsocket.RSocket
Metadata-Push interaction model of RSocket.
metadataPush(Payload) - Method in class io.rsocket.util.RSocketProxy
 
MetadataPushFrame - Class in io.rsocket.framing
An RSocket METADATA_PUSH frame.
mimeType(String, String) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
minor(int) - Static method in class io.rsocket.frame.VersionFlyweight
 

N

now() - Static method in class io.rsocket.util.Clock
 
numberOfRequests(Frame) - Static method in class io.rsocket.Frame.Lease
 
NumberUtils - Class in io.rsocket.util
 
numRequests(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameFlyweight
 

O

offset(Frame) - Static method in class io.rsocket.resume.ResumeUtil
 
onClose() - Method in class io.rsocket.AbstractRSocket
 
onClose() - Method in interface io.rsocket.Closeable
Returns a Publisher that completes when this RSocket is closed.
onClose() - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
onClose() - Method in class io.rsocket.internal.ClientServerInputMultiplexer
 
onClose() - Method in class io.rsocket.util.RSocketProxy
 
onComplete() - Method in class io.rsocket.internal.UnboundedProcessor
 
onError(Throwable) - Method in class io.rsocket.internal.UnboundedProcessor
 
onNext(T) - Method in class io.rsocket.internal.UnboundedProcessor
 
onSubscribe(Subscription) - Method in class io.rsocket.internal.UnboundedProcessor
 

P

Payload - Interface in io.rsocket
Payload of a Frame.
PayloadFrame - Class in io.rsocket.framing
An RSocket PAYLOAD frame.
payloadLength(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
payloadOffset(ByteBuf) - Static method in class io.rsocket.frame.ErrorFrameFlyweight
 
payloadOffset(ByteBuf) - Static method in class io.rsocket.frame.KeepaliveFrameFlyweight
 
payloadOffset(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameFlyweight
 
payloadOffset(FrameType, ByteBuf) - Static method in class io.rsocket.frame.RequestFrameFlyweight
 
payloadOffset(ByteBuf) - Static method in class io.rsocket.frame.RequestNFrameFlyweight
 
payloadOffset(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
PluginRegistry - Class in io.rsocket.plugins
 
PluginRegistry() - Constructor for class io.rsocket.plugins.PluginRegistry
 
PluginRegistry(PluginRegistry) - Constructor for class io.rsocket.plugins.PluginRegistry
 
Plugins - Class in io.rsocket.plugins
JVM wide plugins for RSocket
poll() - Method in class io.rsocket.internal.UnboundedProcessor
 

R

receive() - Method in interface io.rsocket.DuplexConnection
Returns a stream of all Frames received on this connection.
receive() - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
receive() - Static method in class io.rsocket.RSocketFactory
Creates a factory that receives server connections from client RSockets.
RecyclerFactory - Class in io.rsocket.util
A factory for creating Recyclers.
RecyclerFactory() - Constructor for class io.rsocket.util.RecyclerFactory
 
refCnt() - Method in class io.rsocket.Frame
Returns the reference count of this object.
refCnt() - Method in class io.rsocket.util.DefaultPayload
 
refCnt() - Method in class io.rsocket.util.EmptyPayload
 
REJECTED - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
REJECTED - Static variable in class io.rsocket.framing.ErrorType
Despite being a valid request, the Responder decided to reject it.
REJECTED_RESUME - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
REJECTED_RESUME - Static variable in class io.rsocket.framing.ErrorType
The server rejected the resume, it can specify the reason in the payload.
REJECTED_SETUP - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
REJECTED_SETUP - Static variable in class io.rsocket.framing.ErrorType
The server rejected the setup, it can specify the reason in the payload.
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.
release() - Method in class io.rsocket.Frame
Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
release(int) - Method in class io.rsocket.Frame
Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
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
 
replace(ByteBuf) - Method in class io.rsocket.Frame
Returns a new Frame which contains the specified content.
request(long) - Method in class io.rsocket.internal.LimitableRequestPublisher
 
request(long) - Method in class io.rsocket.internal.UnboundedProcessor
 
requestChannel(Publisher<Payload>) - Method in class io.rsocket.AbstractRSocket
 
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
 
RequestChannelFrame - Class in io.rsocket.framing
An RSocket REQUEST_CHANNEL frame.
RequestFireAndForgetFrame - Class in io.rsocket.framing
An RSocket REQUEST_FNF frame.
RequestFrameFlyweight - Class in io.rsocket.frame
 
requestFusion(int) - Method in class io.rsocket.internal.UnboundedProcessor
 
requestN(Frame) - Static method in class io.rsocket.Frame.RequestN
 
requestN(ByteBuf) - Static method in class io.rsocket.frame.RequestNFrameFlyweight
 
RequestNFrame - Class in io.rsocket.framing
An RSocket REQUEST_N frame.
RequestNFrameFlyweight - Class in io.rsocket.frame
 
requestResponse(Payload) - Method in class io.rsocket.AbstractRSocket
 
requestResponse(Payload) - Method in interface io.rsocket.RSocket
Request-Response interaction model of RSocket.
requestResponse(Payload) - Method in class io.rsocket.util.RSocketProxy
 
RequestResponseFrame - Class in io.rsocket.framing
An RSocket REQUEST_RESPONSE frame.
requestStream(Payload) - Method in class io.rsocket.AbstractRSocket
 
requestStream(Payload) - Method in interface io.rsocket.RSocket
Request-Stream interaction model of RSocket.
requestStream(Payload) - Method in class io.rsocket.util.RSocketProxy
 
RequestStreamFrame - Class in io.rsocket.framing
An RSocket REQUEST_STREAM 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.
resend(int) - Method in class io.rsocket.resume.ResumeCache
 
RESERVED - Static variable in class io.rsocket.framing.ErrorType
Reserved.
RESERVED_FOR_EXTENSION - Static variable in class io.rsocket.framing.ErrorType
Reserved for Extension Use.
ResumeCache - Class in io.rsocket.resume
 
ResumeCache(ResumePositionCounter, int) - Constructor for class io.rsocket.resume.ResumeCache
 
ResumeFrame - Class in io.rsocket.framing
An RSocket RESUME frame.
ResumeOkFrame - Class in io.rsocket.framing
An RSocket RESUME_OK frame.
ResumePositionCounter - Interface in io.rsocket.resume
Calculates the cost of a Frame when stored in the ResumeCache.
ResumeToken - Class in io.rsocket.resume
 
ResumeToken(byte[]) - Constructor for class io.rsocket.resume.ResumeToken
 
ResumeUtil - Class in io.rsocket.resume
 
ResumeUtil() - Constructor for class io.rsocket.resume.ResumeUtil
 
retain() - Method in class io.rsocket.ConnectionSetupPayload
 
retain(int) - Method in class io.rsocket.ConnectionSetupPayload
 
retain() - Method in class io.rsocket.Frame
Increases the reference count by 1.
retain(int) - Method in class io.rsocket.Frame
Increases the reference count by the specified increment.
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
 
retainedDuplicate() - Method in class io.rsocket.Frame
Duplicates this Frame.
Retryable - Interface in io.rsocket.exceptions
Indicates that an exception is retryable.
RSocket - Interface in io.rsocket
A contract providing different interaction models for RSocket protocol.
RSocketException - Exception in io.rsocket.exceptions
The root of the RSocket exception hierarchy.
RSocketException(String) - Constructor for exception io.rsocket.exceptions.RSocketException
Constructs a new exception with the specified message.
RSocketException(String, Throwable) - Constructor for exception io.rsocket.exceptions.RSocketException
Constructs a new exception with the specified message and cause.
RSocketFactory - Class in io.rsocket
Factory for creating RSocket clients and servers.
RSocketFactory() - Constructor for class io.rsocket.RSocketFactory
 
RSocketFactory.ClientRSocketFactory - Class in io.rsocket
 
RSocketFactory.ClientTransportAcceptor - Interface in io.rsocket
 
RSocketFactory.ServerRSocketFactory - Class in io.rsocket
 
RSocketFactory.ServerTransportAcceptor - Interface in io.rsocket
 
RSocketFactory.Start<T extends Closeable> - Interface in io.rsocket
 
RSocketInterceptor - Interface in io.rsocket.plugins
 
RSocketProxy - Class in io.rsocket.util
Wrapper/Proxy for a RSocket.
RSocketProxy(RSocket) - Constructor for class io.rsocket.util.RSocketProxy
 

S

scanUnsafe(Scannable.Attr) - Method in class io.rsocket.internal.UnboundedProcessor
 
send(Publisher<Frame>) - Method in interface io.rsocket.DuplexConnection
Sends the source of Frames on this connection and returns the Publisher representing the result of this send.
send(Publisher<Frame>) - Method in class io.rsocket.fragmentation.FragmentationDuplexConnection
 
sendOne(Frame) - Method in interface io.rsocket.DuplexConnection
Sends a single Frame on this connection and returns the Publisher representing the result of this send.
sent(Frame) - Method in class io.rsocket.resume.ResumeCache
 
serverForUri(String) - Static method in class io.rsocket.uri.UriTransportRegistry
 
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.
setFlag(int, int) - Static method in class io.rsocket.Frame
 
setTransportHeaders(Supplier<Map<String, String>>) - Method in interface io.rsocket.transport.TransportHeaderAware
Sets the transport headers
SetupException - Exception in io.rsocket.exceptions
The root of the setup exception hierarchy.
SetupException(String) - Constructor for exception io.rsocket.exceptions.SetupException
Constructs a new exception with the specified message.
SetupException(String, Throwable) - Constructor for exception io.rsocket.exceptions.SetupException
Constructs a new exception with the specified message and cause.
SetupFrame - Class in io.rsocket.framing
An RSocket SETUP frame.
SetupFrameFlyweight - Class in io.rsocket.frame
 
setupPayload(Payload) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
size() - Method in class io.rsocket.internal.UnboundedProcessor
 
size() - Method in class io.rsocket.resume.ResumeCache
 
size() - Static method in interface io.rsocket.resume.ResumePositionCounter
 
sliceData() - Method in class io.rsocket.Frame
Return ByteBuf that is a ByteBuf.slice() for the frame data
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
 
sliceFrameData(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
sliceFrameMetadata(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
sliceMetadata() - Method in class io.rsocket.Frame
Return ByteBuf that is a ByteBuf.slice() for the frame metadata
sliceMetadata() - Method in interface io.rsocket.Payload
Returns the 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.
source - Variable in class io.rsocket.util.RSocketProxy
 
start() - Method in interface io.rsocket.RSocketFactory.Start
 
start(ServerTransport.ConnectionAcceptor) - Method in interface io.rsocket.transport.ServerTransport
Starts this server.
streamId(ByteBuf) - Static method in class io.rsocket.frame.FrameHeaderFlyweight
 
StreamIdFrame - Class in io.rsocket.framing
An RSocket frame with a stream id.
subscribe(CoreSubscriber<? super T>) - Method in class io.rsocket.internal.LimitableRequestPublisher
 
subscribe(CoreSubscriber<? super R>) - Method in class io.rsocket.internal.SwitchTransform
 
subscribe(CoreSubscriber<? super T>) - Method in class io.rsocket.internal.UnboundedProcessor
 
SwitchTransform<T,R> - Class in io.rsocket.internal
 
SwitchTransform(Publisher<? extends T>, BiFunction<T, Flux<T>, Publisher<? extends R>>) - Constructor for class io.rsocket.internal.SwitchTransform
 

T

toAbstractionLeakingFrame(ByteBufAllocator, int, Frame) - Static method in class io.rsocket.util.AbstractionLeakingFrameUtils
Returns an abstraction leaking frame with the stream id and frame.
toByteArray() - Method in class io.rsocket.resume.ResumeToken
 
toString() - Method in class io.rsocket.Frame
 
toString(int) - Static method in class io.rsocket.frame.VersionFlyweight
 
toString() - Method in class io.rsocket.framing.CancelFrame
 
toString() - Method in class io.rsocket.framing.ErrorFrame
 
toString() - Method in class io.rsocket.framing.ExtensionFrame
 
toString() - Method in class io.rsocket.framing.FrameLengthFrame
 
toString() - Method in class io.rsocket.framing.KeepaliveFrame
 
toString() - Method in class io.rsocket.framing.LeaseFrame
 
toString() - Method in class io.rsocket.framing.MetadataPushFrame
 
toString() - Method in class io.rsocket.framing.PayloadFrame
 
toString() - Method in class io.rsocket.framing.RequestChannelFrame
 
toString() - Method in class io.rsocket.framing.RequestFireAndForgetFrame
 
toString() - Method in class io.rsocket.framing.RequestNFrame
 
toString() - Method in class io.rsocket.framing.RequestResponseFrame
 
toString() - Method in class io.rsocket.framing.RequestStreamFrame
 
toString() - Method in class io.rsocket.framing.ResumeFrame
 
toString() - Method in class io.rsocket.framing.ResumeOkFrame
 
toString() - Method in class io.rsocket.framing.SetupFrame
 
toString() - Method in class io.rsocket.framing.StreamIdFrame
 
toString() - Method in class io.rsocket.lease.LeaseImpl
 
toString() - Method in class io.rsocket.resume.ResumeToken
 
touch() - Method in class io.rsocket.ConnectionSetupPayload
 
touch(Object) - Method in class io.rsocket.ConnectionSetupPayload
 
touch() - Method in class io.rsocket.Frame
Records the current access location of this object for debugging purposes.
touch(Object) - Method in class io.rsocket.Frame
Records the current access location of this object with an additional arbitrary information for debugging purposes.
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
 
transport(Supplier<ClientTransport>) - Method in class io.rsocket.RSocketFactory.ClientRSocketFactory
 
transport(Supplier<ClientTransport>) - Method in interface io.rsocket.RSocketFactory.ClientTransportAcceptor
 
transport(ClientTransport) - Method in interface io.rsocket.RSocketFactory.ClientTransportAcceptor
 
transport(Supplier<ServerTransport<T>>) - Method in interface io.rsocket.RSocketFactory.ServerTransportAcceptor
 
transport(ServerTransport<T>) - Method in interface io.rsocket.RSocketFactory.ServerTransportAcceptor
 
Transport - Interface in io.rsocket.transport
 
TransportHeaderAware - Interface in io.rsocket.transport
Extension interface to support Transports with headers at the transport layer, e.g.
ttl(Frame) - Static method in class io.rsocket.Frame.Lease
 
ttl(ByteBuf) - Static method in class io.rsocket.frame.LeaseFrameFlyweight
 

U

UnboundedProcessor<T> - 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
 
unit() - Static method in class io.rsocket.util.Clock
 
UNSUPPORTED_SETUP - Static variable in class io.rsocket.frame.ErrorFrameFlyweight
 
UNSUPPORTED_SETUP - Static variable in class io.rsocket.framing.ErrorType
Some (or all) of the parameters specified by the client are unsupported by the server.
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.
updateRemotePosition(int) - Method in class io.rsocket.resume.ResumeCache
 
UriHandler - Interface in io.rsocket.uri
UriTransportRegistry - Class in io.rsocket.uri
Registry for looking up transports by URI.
UriTransportRegistry(ServiceLoader<UriHandler>) - Constructor for class io.rsocket.uri.UriTransportRegistry
 

V

VALID_FLAGS - Static variable in class io.rsocket.frame.SetupFrameFlyweight
 
valueOf(String) - Static method in enum io.rsocket.framing.FrameType
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.framing.FrameType
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(Frame) - Static method in class io.rsocket.Frame.Setup
 
version(ByteBuf) - Static method in class io.rsocket.frame.SetupFrameFlyweight
 
VersionFlyweight - Class in io.rsocket.frame
 
VersionFlyweight() - Constructor for class io.rsocket.frame.VersionFlyweight
 

W

willClientHonorLease() - Method in class io.rsocket.ConnectionSetupPayload
 
wrap(Publisher<T>) - Static method in class io.rsocket.internal.LimitableRequestPublisher
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links