Enum RSocketServer.Transport

java.lang.Object
java.lang.Enum<RSocketServer.Transport>
org.springframework.boot.rsocket.server.RSocketServer.Transport
All Implemented Interfaces:
Serializable, Comparable<RSocketServer.Transport>, Constable
Enclosing interface:
RSocketServer

public static enum RSocketServer.Transport extends Enum<RSocketServer.Transport>
Choice of transport protocol for the RSocket server.
  • Enum Constant Details

  • Method Details

    • values

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

      public static RSocketServer.Transport valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null