Enum Class RSocketInteractionModel

java.lang.Object
java.lang.Enum<RSocketInteractionModel>
org.springframework.integration.rsocket.RSocketInteractionModel
All Implemented Interfaces:
Serializable, Comparable<RSocketInteractionModel>, Constable

public enum RSocketInteractionModel extends Enum<RSocketInteractionModel>
The RSocket protocol interaction models.
Since:
5.2.2
Author:
Artem Bilan
See Also:
  • Enum Constant Details

    • fireAndForget

      public static final RSocketInteractionModel fireAndForget
      The model for RSocket.fireAndForget(io.rsocket.Payload) operation.
    • requestResponse

      public static final RSocketInteractionModel requestResponse
      The model for RSocket.requestResponse(io.rsocket.Payload) operation.
    • requestStream

      public static final RSocketInteractionModel requestStream
      The model for RSocket.requestStream(io.rsocket.Payload) operation.
    • requestChannel

      public static final RSocketInteractionModel requestChannel
      The model for RSocket.requestChannel(org.reactivestreams.Publisher<io.rsocket.Payload>) operation.
  • Method Details

    • values

      public static RSocketInteractionModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RSocketInteractionModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFrameType

      public io.rsocket.frame.FrameType getFrameType()