Enum Class GrpcServerProperties.Netty.Transport
java.lang.Object
java.lang.Enum<GrpcServerProperties.Netty.Transport>
org.springframework.boot.grpc.server.autoconfigure.GrpcServerProperties.Netty.Transport
- All Implemented Interfaces:
Serializable, Comparable<GrpcServerProperties.Netty.Transport>, Constable
- Enclosing class:
GrpcServerProperties.Netty
public static enum GrpcServerProperties.Netty.Transport
extends Enum<GrpcServerProperties.Netty.Transport>
- Since:
- 4.1.0
- Author:
- Chris Bono, Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GrpcServerProperties.Netty.Transport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TCP
TCP transport. -
DOMAIN_SOCKET
Domain socket transport.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-