com.vaadin.flow.server.
Enum Class HandlerHelper.RequestType
All Implemented Interfaces:
Serializable
, Comparable<HandlerHelper.RequestType>
, Constable
Enclosing class:
Framework internal enum for tracking the type of a request.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPage showing that the browser is unsupported.
Heartbeat requests.
INIT requests.
Push requests (any transport).
Translation properties file requests.
UIDL requests.
WebComponent resynchronization requests.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier for the request type.
static HandlerHelper.RequestType
Returns the enum constant of this class with the specified name.
static HandlerHelper.RequestType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
INIT requests.
-
UIDL
UIDL requests.
-
WEBCOMPONENT_RESYNC
WebComponent resynchronization requests.
-
HEARTBEAT
Heartbeat requests.
-
PUSH
Push requests (any transport).
-
BROWSER_TOO_OLD
Page showing that the browser is unsupported.
-
TRANSLATION_FILE
Translation properties file requests.
-
-
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 -
getIdentifier
Returns the identifier for the request type.
Returns:
the identifier
-