Top Description Inners Methods
io.rsocket.plugins

public Interface DuplexConnectionInterceptor

extends BiFunction<DuplexConnectionInterceptor.Type, DuplexConnection, DuplexConnection>
Annotations
@FunctionalInterface
Imports
io.rsocket.DuplexConnection, java.util.function.BiFunction

Contract to decorate a DuplexConnection and intercept the sending and receiving of RSocket frames at the transport level.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Inherited from java.util.function.BiFunction:
andThenapply
io.rsocket.plugins back to summary

public final Enum DuplexConnectionInterceptor.Type

extends Enum<DuplexConnectionInterceptor.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final DuplexConnectionInterceptor.Type
public static final DuplexConnectionInterceptor.Type
public static final DuplexConnectionInterceptor.Type
SETUP

Deprecated since 1.1.0-M2. Will be removed in 1.2
public static final DuplexConnectionInterceptor.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static DuplexConnectionInterceptor.Type
public static DuplexConnectionInterceptor.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLIENTback to summary
public static final DuplexConnectionInterceptor.Type CLIENT
SERVERback to summary
public static final DuplexConnectionInterceptor.Type SERVER
SETUPback to summary
public static final DuplexConnectionInterceptor.Type SETUP

Deprecated

since 1.1.0-M2. Will be removed in 1.2

Annotations
@Deprecated
SOURCEback to summary
public static final DuplexConnectionInterceptor.Type SOURCE

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static DuplexConnectionInterceptor.Type valueOf(String name)
valuesback to summary
public static DuplexConnectionInterceptor.Type[] values()