Enum Class SharedTagContent.UpdateClientNature
java.lang.Object
java.lang.Enum<SharedTagContent.UpdateClientNature>
com.webfirmframework.wffweb.tag.html.SharedTagContent.UpdateClientNature
- All Implemented Interfaces:
Serializable
,Comparable<SharedTagContent.UpdateClientNature>
,Constable
- Enclosing class:
SharedTagContent<T>
public static enum SharedTagContent.UpdateClientNature
extends Enum<SharedTagContent.UpdateClientNature>
Represents the behavior of push operation of BrowserPage to client.
ALLOW_ASYNC_PARALLEL
is the default in the SharedTagContent
object unless it is explicitly specified. In future after the arrival of Java
Virtual thread there will be two more types named
ALLOW_VIRTUAL_PARALLEL
and ALLOW_VIRTUAL_ASYNC_PARALLEL
and
ALLOW_VIRTUAL_ASYNC_PARALLEL
may be the default.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAllows parallel operation in the background for pushing changes to client browser page.Allows parallel operation but will wait for the push to finish to exit the setContent method.Does each browser page push operation one by one. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SharedTagContent.UpdateClientNature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOW_ASYNC_PARALLEL
Allows parallel operation in the background for pushing changes to client browser page. -
ALLOW_PARALLEL
Allows parallel operation but will wait for the push to finish to exit the setContent method. -
SEQUENTIAL
Does each browser page push operation one by one.
-
-
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
-