Enum Class NettyChannelType

java.lang.Object
java.lang.Enum<NettyChannelType>
io.micronaut.http.netty.channel.NettyChannelType
All Implemented Interfaces:
Serializable, Comparable<NettyChannelType>, Constable

public enum NettyChannelType extends Enum<NettyChannelType>
Different netty channel types.
Since:
4.0.0
  • Enum Constant Details

    • SERVER_SOCKET

      public static final NettyChannelType SERVER_SOCKET
      See Also:
      • ServerSocketChannel
    • CLIENT_SOCKET

      public static final NettyChannelType CLIENT_SOCKET
      See Also:
      • SocketChannel
    • DOMAIN_SERVER_SOCKET

      public static final NettyChannelType DOMAIN_SERVER_SOCKET
      See Also:
      • ServerDomainSocketChannel
    • DATAGRAM_SOCKET

      public static final NettyChannelType DATAGRAM_SOCKET
      See Also:
      • DatagramChannel
  • Method Details

    • values

      public static NettyChannelType[] 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 NettyChannelType 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