Enum NettyHttpServerConfiguration.NettyListenerConfiguration.Family
- java.lang.Object
-
- java.lang.Enum<NettyHttpServerConfiguration.NettyListenerConfiguration.Family>
-
- io.micronaut.http.server.netty.configuration.NettyHttpServerConfiguration.NettyListenerConfiguration.Family
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NettyHttpServerConfiguration.NettyListenerConfiguration.Family>
- Enclosing class:
- NettyHttpServerConfiguration.NettyListenerConfiguration
public static enum NettyHttpServerConfiguration.NettyListenerConfiguration.Family extends java.lang.Enum<NettyHttpServerConfiguration.NettyListenerConfiguration.Family>
Address family enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NettyHttpServerConfiguration.NettyListenerConfiguration.FamilyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NettyHttpServerConfiguration.NettyListenerConfiguration.Family[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TCP
public static final NettyHttpServerConfiguration.NettyListenerConfiguration.Family TCP
TCP socket.
-
UNIX
public static final NettyHttpServerConfiguration.NettyListenerConfiguration.Family UNIX
UNIX domain socket.
-
-
Method Detail
-
values
public static NettyHttpServerConfiguration.NettyListenerConfiguration.Family[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NettyHttpServerConfiguration.NettyListenerConfiguration.Family c : NettyHttpServerConfiguration.NettyListenerConfiguration.Family.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NettyHttpServerConfiguration.NettyListenerConfiguration.Family valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-