Enum Class FormRouteCompleter.SubscriptionMode
java.lang.Object
java.lang.Enum<FormRouteCompleter.SubscriptionMode>
io.micronaut.http.server.multipart.FormRouteCompleter.SubscriptionMode
- All Implemented Interfaces:
Serializable, Comparable<FormRouteCompleter.SubscriptionMode>, Constable
- Enclosing class:
FormRouteCompleter
public static enum FormRouteCompleter.SubscriptionMode
extends Enum<FormRouteCompleter.SubscriptionMode>
- Since:
- 5.0.0
- Author:
- Jonas Konrad
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis parameter does not need to be waited for the route to execute, but at the same time, the parameter will not be consumed until the route does execute.This parameter does not need to be waited for the route to execute, and it applies no backpressure, meaning it won't block other fields.Before the route can execute, these form fields must have been fully received, including all their data.Before the route can execute, the headers of the first form field of this name must be received, but the field body will not be consumed until the route actually executes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FormRouteCompleter.SubscriptionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WAITS_FOR_FULL
Before the route can execute, these form fields must have been fully received, including all their data. Note that if the caller cancels their subscription at some point, that means it doesn't stand in the way of executing the route anymore. -
WAITS_FOR_START
Before the route can execute, the headers of the first form field of this name must be received, but the field body will not be consumed until the route actually executes. -
ASYNC
This parameter does not need to be waited for the route to execute, but at the same time, the parameter will not be consumed until the route does execute. -
ASYNC_NO_BACKPRESSURE
This parameter does not need to be waited for the route to execute, and it applies no backpressure, meaning it won't block other fields.
-
-
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
-