Enum Class NettyHttpServerConfiguration.HttpServerType
java.lang.Object
java.lang.Enum<NettyHttpServerConfiguration.HttpServerType>
io.micronaut.http.server.netty.configuration.NettyHttpServerConfiguration.HttpServerType
- All Implemented Interfaces:
Serializable
,Comparable<NettyHttpServerConfiguration.HttpServerType>
,Constable
- Enclosing class:
- NettyHttpServerConfiguration
public static enum NettyHttpServerConfiguration.HttpServerType
extends Enum<NettyHttpServerConfiguration.HttpServerType>
Sets the manner in which the HTTP server is configured to receive requests.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExecute controllers only once the full content of the request has been received.Requests are streamed on demand withFlowControlHandler
used to control back pressure. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STREAMED
Requests are streamed on demand withFlowControlHandler
used to control back pressure. -
FULL_CONTENT
Execute controllers only once the full content of the request has been received.
-
-
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
-